I have no custom javascript in my webpage, but I'm running suckerfish as menu. I guess the error is caused by "script_suckerfish.js", because the java file contains the command "getElementsById".
In line 2 there is
var sfEls = document.getElementById("nav").getElementsByTagName("LI");
And in line 16 there is
var sfEls = document.getElementById("tache_menu").getElementsByTagName("LI");
Maybe this is the problem?I'm not a skilled java programmer, so if anybody have suggestions, I would appreciate it!
I also tried to access the web page via my laptop, running XP Pro and IE 6.0.2900.2180 SP2. And the error message did not appear here!?
If you read the double_top.tpl that suckerfish uses as an override, you will find that there are not created any div called tache_menu, so the original script will return the mentioned error ("document.getElementById is null or not an oject") because there does not exist an Element called "tache_menu". So commenting this out would fix the problem!
Vidar
You must be logged in to post messages in this topic!