1) Script Title: All-Level Navigation Menu
2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...menu/index.htm
3) Describe problem:
Hi,
Having problem with this script. I've added the menu's to an existing site in development, and it works without problem in FF, and Chrome. IE, however is driving me nuts!
The script I'm using to create the menu-stucture is an ASP script, pulling entries from a database, and creating the HTML list structure needed to create the menus.
Looking at the output using Firebug, all looks ok, and the menu's work fine.
In IE, it seems the script stops processing right after the first right-arrow gets rendered, and generates a javascript error:
'offsetWidth' is null or not an object - in line96 of ddlevelsmenu.js
I'm generating the "ddmenusideX" programatically. Viewing the source of the page in IE, shows that only the 1st ddmenuside code section is there, and the other (5) are missing - I guess the browser just gave up after the javascript error & stopped parsing the output.
Also - noticed that the IE output has a gap at the right of the top-level menus (around 15px or so), between the menu entries and the black-line around the menus. Don't know if that helps shed any light.
Originally, I had the menus in a table column, but I've stripped all that out so it's just there directly on the page.
Additionally, turning OFF the right-arrow, helps somewhat, as it the generates the sub-menus, but not all of them. Hmmm, strange!
So, I'm guessing that the problem is somewhere in the offset positioning of the right-arrow, maybe caused by the gap at the right of the menus forcing it ofver to the left a bit - but I AM guessing.
Unfortunately, although I'm an advanced ASP programmer, my javascript skills are a bit limited.
Any advice, apart from turning to alcoholism? This one's driving me crazy!
If anyone's trying to help me out and wants to see the page, I'll point you to the URL.
Paul Rivers
UK



Reply With Quote

Bookmarks