Click to See Complete Forum and Search --> : Drop down menus suck (up)


VBAHole22
08-29-2003, 10:53 AM
I created a collapsable menu using some DHTML code that I borrowed from a website. I works so well that I wanted it on all of my pages so I built a template in Dreamweaver and added a layer and used an include file to the menu script. That all works fine and every page I spawn off of the template has the menu, fine and dandy.
The problem is that when a user clicks on a main heading and expands to the subheadings and then clicks on a subheading link when the new page opens the menu collapses up again because it is on the new page. Is there a way for me to get around this somehow? Is it retarded to be using the template like this anyway? I just started about 4 weeks ago with DW and I thought the template was the way to go to mass produce many pages.
Any suggestions would be greatly appreciated, thanks.

Aronya1
08-29-2003, 03:46 PM
I'm confused.

What do you want to happen when you load a new page? If you're looking for the menu to STAY open, I think you'd have to use frames, but I'm not sure it would work, even then.

To be honest, as a user, I'd expect the menu to collapse when I click something. I've never seen anything else happen.

Maybe you could give us more info?

xataku_nakusute
08-31-2003, 02:37 AM
this may seem a bit crude, but it may as well work anyway.
why dont you make it so on a every page other than your main page or whatever, you just call the menu expansion function onLoad and what not so when youre at the "links" page or whateva, the links menu is expanded....

VBAHole22
08-31-2003, 06:26 PM
Thank you. That was what I was after.

I have seen pages where the menu stays open but I think they all use frames and I don't want to go that route.