Board Logo

this.element.style undefined when loading
ccollins - 1/21/2004 at 03:42 PM

After building my first menu, and attaching all the files (they're all in the sam dir), I get this error.

All is ok with 2 levels, but it blows up on 3. This tells me it's not the location or attaching of the files.

The site isn't posted yet, so I'm attaching the menu_tpl.js file. Let me know what else you need.

Thanks!


rock - 1/22/2004 at 08:22 AM

It seems everything is ok with your tpl.js


ccollins - 1/22/2004 at 02:15 PM

So what else could be the problem? Why would it work for 2 levels but not 3? And why would it work on the online builder site but not when I bring it into my code?

Here is the HTML --


rock - 1/22/2004 at 05:47 PM

It seems everything is ok with your htm.
(do not forget to attach menu.css to the page)
What menu version you're using. Most probably its in items definition, could you post items.js as attachment.


ccollins - 1/22/2004 at 07:45 PM

I am attaching the menu.css now. No change in behavior.

I just built this via the online menu builder yesterday. I re-loaded all the files via the .zip rather than just grab the menu_items.js.

Since I can only attach one file at a time, here is the menu_items.js file.
You can see where I've commented out most of the 3rd level items, except for one to try to isolate the problem.


ccollins - 1/22/2004 at 07:46 PM

Forgot -- there was no items.js file -- is that the old naming convention for menu_items.js?


rock - 2/2/2004 at 10:24 AM

Please find working demo in the attachment.

Note: Problems may occur if using files generated by Tigra Menu Online Builder (based on Tigra Menu v1.0) with current online script version Tigra Menu v2.0.


Softcomplex: http://www.softcomplex.com/
Back to forum: http://www.softcomplex.com/forum/