小编Ste*_*hab的帖子

使用Tumblr在子域上响应.js

我的网站响应迅速.该博客节使用指向的tumblr的子域,但Respond.js的跨域版本无法正常工作.我这样做:

<script src="http://www.stevechab.com/scripts/respond.min.js"></script>
<link href="http://www.stevechab.com/scripts/respond-proxy.html" id="respond-proxy" rel="respond-proxy">
<link href="http://www.stevechab.com/scripts/respond.proxy.gif" id="respond-redirect" rel="respond-redirect">
<script src="http://www.stevechab.com/scripts/respond.proxy.js"></script>
Run Code Online (Sandbox Code Playgroud)

我假设问题是response.proxy.gif和respond.proxy.js不在blog.stevechab.com上......但是这不是打败了具有跨域版本的Respond.js的目的吗?我的假设是正确的,还是我错过了什么?有没有解决这个问题?

注意:我试过http://www.tumblr.com/themes/upload_static_file ...没有骰子.

cross-domain tumblr media-queries responsive-design

2
推荐指数
1
解决办法
2210
查看次数