关于手机版的左侧栏目新增项

By 最acg at 2016-03-22 • 0人收藏 • 201人看过

我想在手机板上添加官网的链接,所以在slider.php里增加了下面

<li>
		<a class="icon home" href="http://www.xxx.com" target='_blank'  >主站</a>
	</li>

但增加后发现跳转不了提示

Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check http://xhr.spec.whatwg.org/.

?_=1458652449136:1 XMLHttpRequest cannot load http://www.zuiacg.com/?_=1458652712660. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://m.zuiacg.com' is therefore not allowed access.

appframework.ui.min.js?version=5.0.1:37 Error with ajax request Object {readyState: 0, responseText: "", status: 0, statusText: "error"}


2 个回复 | 最后更新于 2016-03-23
2016-03-22   #1
<li>
    <a class="icon home" href="http://www.xxx.com" target='_blank' data-ignore="True">主站</a>
</li>

用这个,移动端用的Intel的AppFramework,有问题可以去Intel官网看文档。

2016-03-23   #2

回复#1 @lincanbin :

好的,谢谢

登录后方可回帖

登 录
信息栏
购买PHP虚拟主机 / VPS

Carbon Forum是一个基于话题的高性能轻型PHP论坛

下载地址:Carbon Forum v5.0.1
QQ群:12607708(QQ我不常上)

donate

手机支付宝扫描上方二维码可向本项目捐款

Loading...