On http://www.anniefashion.cn, only the top section is displayed in IE8, whilst in other browsers the site works fine. I created the test page http://www.anniefashion.cn/test.html which works because I removed the JS from the <head>. Could you help me fix the javascript and find out which one is causing the trouble to make it not work in IE8. Can pay, so all replies should be in this thread.
first of all you can put all javascript code blocks in try {} catch(e) {} this can avoid (in many cases not all) that the script stops working on little errors <script type="text/javascript"> try { // your javascript code here } catch(e) { } </script> Code (markup): to alert the error <script type="text/javascript"> try { // your javascript code here } catch(e) { alert(e); } </script> Code (markup):
Ok, I'll try it and get back to you - the problem being that the Javascript stops the content from loading so may be enable to see what the alert text is...