开发者

JavaScript library not working in IE, can't see error information

I have been writing a JavaScript library for a few weeks now and it works brilliantly in Firefox, Chrome and Safari. I had not tested it in IE until recently. I do not own a Windows box so after testing it on my friends and realising it wasnt working I started going over my code for things that could be causing it to break.

So far I have found nothing. I could not find any descriptions of the errors in the browser while I was there either. So I wondered if anyone could run my te开发者_Python百科st script in an IE browser (6, 7 or 8) and let me know any information they can find as to why it crashed.

Please ignore any information saying it works in IE6, I put that up there after testing it through http://ipinfo.info/netrenderer/

I just assumed it was working because I could set transparency and size via my script and see it run in this tool.

Here is the link to my GitHub repository: https://github.com/Wolfy87/Spark

If you download it and run spark.html it will attempt to run all of my functions from the library.

So if anyone could be kind enough to run it in IE and either let me know what errors they are getting and possibly how to fix them then I will be extreamly grateful.

Thank you in advance.

EDIT: Here is it's website http://sparkjs.co.uk/


Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2) Timestamp: Wed, 3 Nov 2010 11:19:20 UTC

Message: Access is denied.

Line: 1 Char: 17102 Code: 0 URI: file:///C:/.........../Wolfy87-Spark-v0.2.5-19-gab64629/Wolfy87-Spark-ab64629/spark.js

The problem is when trying to load README.md file. It's an issue related to permission as you see above. everything except loading and printing this file is OK on IE8.


I haven't IE6 right now, but I copied the js file in https://github.com/Wolfy87/Spark/blob/master/spark.js then I pasted into http://www.jslint.com.

It seems you have a lot of syntax errors, so as first move you should check if any of those mistakes could generate an error on IE

After that, provide a not-minified and not-compressed version of javascript file, otherwise it's difficult to read your code.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜