The default for a certain page I'm working on is to hide a section of the page
when it's loaded. So i set a div tag as follows:
<div id="divAdvancedOptions" name="divAdvancedOptions" style="display:none;">
Works fine, but also works a bit too well in DreamWeaver (8 and 8.01) such
that the IDE doesn't render the material within the <div.
So in order to render it I must change the default to display:inline, which
then messes up synchronization of the javascript-based "show more"/"show less"
control.
Does DreamWeaver provide an "ignore" fearture for a <div having display:none ?
Or, can it be made to recognize and execute the javascript?
Note: the script that manages the DHTML is in a seperate file, and both have
the .php extension. Note also that php has nothing to do with the dhtml
rendering. Without passing the code through PHP I can edit just fine in
DreamWeaver and see what I'll get on the other side.