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

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

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

我想在手机板上添加官网的链接,所以在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
lincanbin
2016-03-22
#1

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

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

最acg
2016-03-23
#2

回复#1 @lincanbin :

好的,谢谢


登 录


现在注册

QQ  登 录    Weibo  登 录    GitHub  登 录