jmarien73
11-23-2006, 01:57 AM
1) Script Title: SuckerTree Vertical Menu (v1.1)
2) Script URL (on DD): http://www.dynamicdrive.com/style/csslibrary/item/suckertree-menu-vertical/
3) Describe problem:
Greetings everyone! I am new to the CSS world and web development in general so I know that I am sure to make many mistakes. Thats how to learn it I guess.
My problem with this script is that it doesn't display correctly in Firefox. It works fine in IE 7 but in Firefox the menu shows as fully expanded and the menu items are displayed (without the option to expand the menu) all the way down the length of the page.
I receive an error from FF stating the following:
Error: [Exception... "Index or size is negative or greater than the allowed amount" code: "1" nsresult: "0x80530001 (NS_ERROR_DOM_INDEX_SIZE_ERR)" location: "http://xxx.html: 129"]
Source File: http://xxx.html
Line: 129
Line 129 in the js for my page is:
ultags[t].style.left=ultags[t-1].getElementsByTagName("a")[0].offsetWidth+"px" //position menu to the right of menu item that activated it
Is there something simple here I am missing? Any help any of you could offer would be most appreciated.
TIA
2) Script URL (on DD): http://www.dynamicdrive.com/style/csslibrary/item/suckertree-menu-vertical/
3) Describe problem:
Greetings everyone! I am new to the CSS world and web development in general so I know that I am sure to make many mistakes. Thats how to learn it I guess.
My problem with this script is that it doesn't display correctly in Firefox. It works fine in IE 7 but in Firefox the menu shows as fully expanded and the menu items are displayed (without the option to expand the menu) all the way down the length of the page.
I receive an error from FF stating the following:
Error: [Exception... "Index or size is negative or greater than the allowed amount" code: "1" nsresult: "0x80530001 (NS_ERROR_DOM_INDEX_SIZE_ERR)" location: "http://xxx.html: 129"]
Source File: http://xxx.html
Line: 129
Line 129 in the js for my page is:
ultags[t].style.left=ultags[t-1].getElementsByTagName("a")[0].offsetWidth+"px" //position menu to the right of menu item that activated it
Is there something simple here I am missing? Any help any of you could offer would be most appreciated.
TIA