开发者

jquery slide show not working

I have a jquery slide show that works fine when I run it from my local PC but when I put it on the web server i开发者_开发技巧t does not work at all. See here for what it does: http://automatethegame.com/testing/index.html those 3 images should actually be a slide show. :-)

Any suggestions at all?


Your script file (jquery.custom.js) has corrupted newlines.

You uploaded a UTF16 file as text, causing the FTP transfer to insert \n characters after each \r before the \0 that precedes the UTF16 \n.
This gets the UTF16 encoding out of sync and makes every other line Chinese.

Set your FTP client to binary mode (not text) and upload it again.


You need to save file as binary mode not text on server because they manipulate them by thinking it's text. secondly i thing if you use Google CDN jQuery then it's make less request to server.


Firebug:

Error: illegal character
Source File: http://automatethegame.com/testing/lib/jquery.custom.js
Line: 1, Column: 20
Source Code:
jQuery.noConflict();਀

Remove that illegal character and see what happens.


You website is displaying illegal character error at line 1 in jquery.custom.js (line 1)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜