Forum Moderators: open
Best way to do this: within the Body tag, put in an onload event that expands the section in question.
Looks like this: <body onload="ExpandMenu('overview')">
Where it says 'overview', I NEED to be able to have a re-editable region. Because overview is only one of the templates. So I need to be able to put the name of the proper ID in there.
...
Can't. It simply won't insert a re-editable region there.
I've had trouble repeatedly over the last eight or nine months while using DW-- The borders of editable regions in templates will shift, resulting in things I needed re-editable being locked, and things I needed locked getting removed, and the like. It's been a royal p.i.t.a. to cope with, and has greatly eroded my early enthusiasm for the program.
Can anyone think of a way to make Dreamweaver do what I need? I can't do SSI or anything else. I'm pretty much stuck doing this by hand or close to it.
Am I going to have to make a huge reeditable area just so I can manage this one thing? *groans* That's when things start getting impossible to manage.
Put a javascript variable relating to the menu you want displayed.... then, in your onLoad statment, refer to that variable... ie menuType="overview"; then onLoad=ExpandMenu('menuType').
You may have to tweak the javascript someplace to keep the variable in scope.