Hi,
Got a bit of a weird error :/
Using FireFox - this works fine. IE 6 though refuses to work :/ (gives an error popup message, saying that the error in the below image)
The code in question is:
..and I'm calling it in the .html file with:
Can anyone see any problems with it? :| (I can post the full content if required, but I didn't wanna clog up the first post- if it wasn't needed
)
TIA!
Andy
Got a bit of a weird error :/
Using FireFox - this works fine. IE 6 though refuses to work :/ (gives an error popup message, saying that the error in the below image)
![error.gif](http://dmozwizard.com/error.gif)
The code in question is:
Code:
function init_menu() {
menus[0] = new menu(170, "vertical", 15, 310, -2, -2, "white", "black", "Verdana", 8, "bold", "bold","black", "white", 3, "white", 6, "rollover:images/tri-right1.gif:images/tri-right2.gif",false, false, true, true, 12, false, 4, 4, "black")
menus[0].addItem("[URL unfurl="true"]http://www.test.com",[/URL] "", 25, "left", "Home", 0);
menus[0].addItem("[URL unfurl="true"]http://www.test.com",[/URL] "", 25, "left", "Galaxy Pictures", 1);
menus[0].addItem("[URL unfurl="true"]http://www.test.com",[/URL] "", 30, "left", "Planetary Pictures", 0);
menus[0].addItem("[URL unfurl="true"]http://www.test.com",[/URL] "", 30, "left", "Natural Phenomena", 0);
menus[0].addItem("[URL unfurl="true"]http://www.test.com",[/URL] "", 25, "left", "Conjunctions", 0);
menus[0].addItem("[URL unfurl="true"]http://www.test.com",[/URL] "", 25, "left", "Eclipses", 0);
//Sub Menu for 2nd Main Menu Item ("web building"):
// menus[1] = new menu(135, "vertical", 0, 0, -5, -5, "#d3e9f8", "#d3e9f8", "Verdana,Helvetica", 8, "bold", "bold", "black", "white", 1, "gray", 2, 62, false, true, false, true, 6, true, 4, 4, "black");
// menus[1].addItem("/", "", 30, "left", "Just a test as an example", 0)
}
..and I'm calling it in the .html file with:
Code:
<script>
init_menu();
</script>
Can anyone see any problems with it? :| (I can post the full content if required, but I didn't wanna clog up the first post- if it wasn't needed
TIA!
Andy