Forums

CSS

This topic is locked

Displaying "hidden" elements in DW8 ediit mode

Posted 31 Jan 2006 20:01:24
1
has voted
31 Jan 2006 20:01:24 Mike Mitchell posted:
I am creating some complex forms that request a lot of info. In order to simplify things, I'm using CSS and Javascript to hide material that is inapplicable to some users. For instance, I have a radio box that asks if you have children. It defaults to <b>NO </b> and all the questions about children are in a table that is hidden by CSS (<b>display: none</b>. When they click the radio button to <b>YES</b> it dynamically resets the CSS property to show the related questions (<b>display: show</b>.

All this works fine.

My problem is with the way Dreamweaver 8 handles hidden elements in design mode: it doesn't show them. Now, usually this might be a good thing, but not for me. While I am editing, I would like to see these invisibile tables so I can ensure that everything is there and is working correctly. This is how Dreamweaver used to do it, and I would like to return to that way of doing business.

I have messed with the various View options and have found that <b>View &gt; Style Rendering &gt; Display Styles</b> has any effect on whether hidden elements are shown. Unforunately, this turns off ALL the styles on the page.

So, is there any way to keep all the styles and allow ME to decide whether the hidden elements are visibile or not?

Replies

Replied 30 Nov 2007 00:20:32
30 Nov 2007 00:20:32 Kevin Johnson replied:
I was having the same problems...here's a solution by changing your DW preferences.

proquest.safaribooksonline.com/0596002394/dreamnut-CHP-2-SECT-7

Have a GREAT day!
Kevin <img src=../images/dmxzone/forum/icon_smile.gif border=0 align=middle>
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
I am creating some complex forms that request a lot of info. In order to simplify things, I'm using CSS and Javascript to hide material that is inapplicable to some users. For instance, I have a radio box that asks if you have children. It defaults to <b>NO </b> and all the questions about children are in a table that is hidden by CSS (<b>display: none</b>. When they click the radio button to <b>YES</b> it dynamically resets the CSS property to show the related questions (<b>display: show</b>.

All this works fine.

My problem is with the way Dreamweaver 8 handles hidden elements in design mode: it doesn't show them. Now, usually this might be a good thing, but not for me. While I am editing, I would like to see these invisibile tables so I can ensure that everything is there and is working correctly. This is how Dreamweaver used to do it, and I would like to return to that way of doing business.

I have messed with the various View options and have found that <b>View &gt; Style Rendering &gt; Display Styles</b> has any effect on whether hidden elements are shown. Unforunately, this turns off ALL the styles on the page.

So, is there any way to keep all the styles and allow ME to decide whether the hidden elements are visibile or not?

<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
Replied 30 Nov 2007 00:54:34
30 Nov 2007 00:54:34 Mike Mitchell replied:
Thanks Kevin. I've since sorted this out in DW CS3.

Reply to this topic