In a website that I am currently working on , I get a collection of data from back-end dynamically and populate to Jcarousel when the page loads. The site is working fine in chrome , ie9 and ff 21 but it throws script error which says "A script on this page is causing Internet Explorer to run slowly" . Has any one faced similar issue? Is it because the Jarousel cannot accommodate huge amount of data or is it some thing wrong with my code? I should also say that this issue is spasmodic !
I saw this post http://www.picnet.com.au/blogs/Guido/post/2010/03/04/How-to-prevent-Stop-running-this-script-message-in-browsers but I already have so much of timers set in the page. Is there any other alternate solution?
Appreciate suggestions .Thanks in advance
Ie7 and 8 are crap. Their's no silver bullet to deal with this error, unless you do not exactly know what script/loop/ajax/wtf.. is causing the error. You need to debug that in depth in order to find out what's going on, sorry, no better advise.
Related
So good morning,
I'm working on a project witch includes google maps.
Everything working so fine, i (thought) was finished with the part of coding the maps but then it hit me. Testing my project on firefox OK, testing it on Chrome 568 errors (##$%##).
So what caused all this mess? I load my page, the one with the maps(on chrome), everything ok but after about a minute my marker vanish from canvas and scrolling the mouse over the map cause all these errors.
So i thought, ok i've done some thing really bad but why not in firefox. Being more patient than some minutes, the problem is there it is not like on chrome where i can see it always, but some times it is happening there too.
So the code part
Link to my file
sorry about the link, but its a bit of code.
If i find my solution, i post to save you from my hell.
Thanks in advance all of you(and sorry for my english)!
I've developed an application that I had tested in Chrome and Firefox but then upon testing in IE I noticed a few things weren't working quite as they should so I made a couple tweaks and everything seemed to be working as it should.
However, as if by some sort of magic when I was going through another round of testing in IE I started noticing that I was getting a lot of debugging errors that I had previously been getting.
They all seem to be to be DOM related with IE being unable to get the value of properties because the object is either null or undefined.
I was having none of these issues previously and I have absolutely no idea what might have changed to be causing this but does anyone have any experience of this sort of issue and have some suggestions as to how to resolve the issue?
I've had a look through all the different pages and functions I've been working on the last couple hours but can see nothing obvious that might be causing this.
Any help would be very much appreciated.
Thanks!
The latest versions of IE come with a pretty decent script debugger. If you press F12, a developer tools window will pop up. Click on the "Script" tab and start working your problem from there. Its not as robust or efficient as firebug or chrome's developer console, but its better than nothing and more often than not can get you pointed in the right direction when it comes to squishing IE bugs.
I have little knowledge of javascript so I hope someone here could help me. The problem occurs on http://www.bestfreeandroidapps.com/ if you look on the right side there are 3 tabs with Categories, Comments and Recent Posts. When you click on them from Chrome, nothing happens (no errors in the console, just nothing), however it works fine in Firefox.
This theme uses a script calle Javascript tabifier from http://www.barelyfitz.com/projects/tabber/, however I even replaced the script on the theme with what was included in the original project and still doesn't work on Chrome. Does anyone have an idea of what might be wrong and why is this happening?
Thank you very much!
It works. I think its being cached by the browser, I've had similar problems lately. Restart browser/computer!
I have been having an issue previewing the website inside IE. For all other browsers the website works just fine but not for the evil one.
I have been been trying for a while to solve the problem but unsuccessful. I think I might run out of ideas. :/ Is there anyone who might point me in the right direction and help me out solve the problem.
The website can be seen on this address: http://www.flyingcowproduction.com/platinumlimoservices
if you click on any of the menu buttons the jquery won't load the content in IE :(
Many, many thanks in advance
Best regards,
-Davorin
Your javascript is breaking on this line:
var iframe = $("#jQuery_history")[0].contentWindow.window;
jquery.history.js, line 33
Unable to get value of the property 'contentWindow': object is null or undefined
It then breaks again if you go to the services page
showArea(id[0]);
PageNavigation.js, line 296 character 3
'showArea' is undefined
The second one probably just happens because of the first error.
PS - In IE, push F12 and use the script debugger and you can solve this with a little help from google.
Ok here's the problem. I have a page that works in FF3 and Safari4 no problem. It's IE8 that's causing the issue, go figure. I remember in the Netscape days when it was the opposite.
Anyways,
So i'm building a website for a friend - i have three pages. the first two work fine on their own, but when they are combined in a frameset in the third (main.html) in IE8 all hell breaks loose. here are the pages:
www.wither.org/Karoline/navigation.html
www.wither.org/Karoline/portfolio.html
http://www.wither.org/Karoline/main.html
& my CSS if you want it: www.wither.org/Karoline/css/styles.css
if anyone can figure out how to fix this, i'd be eternally grateful. It's completely baffling to me and i've tried all kinds of options. i upgraded jquery to the latest version but then my scroller didn't work and i can't dive too much into the javascript code right now.
Please if you could help out, it would mean a lot to me. this has to go live sometime tomorrow.
There is a JS error when executing the following line of code document.getElementById("loading").style.display = 'none';
in the portfolio page.
Apparently, the element with id 'loading' is not being found. However, if I continue execution of the JavaScript on the page (from within the debugger), there are no issues, and the behavior is the same as in Firefox. This is indicative of a concurrency issue - the element 'loading' is not present in the DOM yet, but the script is attempting to change the element's style.
In order to fix this issue, you will have to ensure that the 'loading' element is present in the DOM before its style is being changed. In fact, you could delay the execution of the onload event handler (using window.setTimeout), until a point where the element is present in the DOM.
What's the actual javascript error?
And IE does have an issue in regards to invalid/broken markup inside of frames, I would try
a) commenting out each script and see which causes the js error
b) if commenting out all the js did nothing it might be related to the invalid markup inside of a frame issue, in which case I'd ditch frames alltogether.
yeah....
so thanks so much for your help. problem solved and i figured the other CSS error. should have picked up on that one earlier.
so site is working and if you want to see what happened with your help,
http://www.wither.org/Karoline
it works perfectly cross platform. made the deadline with hours to spare. thanks SO much. can't believe how well this worked.