Click to See Complete Forum and Search --> : Adapting 'Category Menus'


Bunty
08-14-2003, 10:31 AM
I'm using the "Category Menus" script (http://javascript.internet.com/navigation/category-menus.html) and am trying to adapt it for a nonframes site. What I'm trying to do is this - when a page is opened it's category is automatically toggled revealing its submenu. I've tried executing the toggle script with onload but it doesn't seem to be working.... Has anyone got any ideas on this. My brain seems slightly frazzled today.

Regards,

Sam

Mr J
08-14-2003, 02:01 PM
See if this is what you are after


Commented out function tellDemo().

Added function showme()


Onload will toggle menu1

YOu need to add your page paths to the submenus

Bunty
08-14-2003, 02:37 PM
Awesome! I've copied the showme and the onload elements in my my pre-existing html and it works a charm. Thank you so much for this - fastest and most useful forum response I've ever had...

Sam