I am not an expert in javascript but I have a page where an error appears in the status bar: error: 'bm' is null or not an object line : 3 code: 0 char: 23522 The gallery at the top has two javascript effects. The link to my page is here: http://www.gorkaregidor.com Any ideas on what could be happening?
/* IE7/IE8.js - copyright 2004-2008, Dean Edwards */ <!--[if lt IE 7]> <script src="http://ie7-js.googlecode.com/svn/version/2.0(beta3)/IE7.js" type="text/javascript"></script> <![endif]--> <!--[if lt IE 8]> <script src="http://ie7-js.googlecode.com/svn/version/2.0(beta3)/IE8.js" type="text/javascript"></script> <![endif]--> as it's 6, it will load both the script for below ie7 and ie7 itself. and the latter one will fail.... you need to tweak your conditionals. p.s. just get rid of ie6, its 8 years old. its because people like you still support it that the evil does not die out...
Thanks Dimitar! How do you "tweak your conditionals"? Sorry but I don't know much about JavaScript. PS: I would love to get rid of IE6 forever and just ignore it. Whoever is using it, won't be able to see the page properly and that's it. Unfortunately some of these "whoever" could be a client so I really have to care for Explorer 6 as long as people still use it. And there is a bunch of them out there. :-(
<!--[if lte IE 6]> <script src="http://ie7-js.googlecode.com/svn/version/2.0(beta3)/IE7.js" type="text/javascript"></script> <![endif]--> <!--[if IE 7]> <script src="http://ie7-js.googlecode.com/svn/version/2.0(beta3)/IE8.js" type="text/javascript"></script> <![endif]--> basically first one needs to run on ie6 and below only whereas the second one needs to run on ie7 only. or something like that