If there are divs within the div you want to print, display them too...

div {display:none;} /* Hide all divs */

div.classNameThatYouWantDisplayed,
div.classNameThatYouWantDisplayed div {
display:block;
}


I would try that before rewriting anything. It really is a simple solution.


- J e f f  C o n k l i n -
- AOL IM - a14piece
- http://www.getoutsidenj.com
- http://www.carabs.com



On Wed, Sep 23, 2009 at 10:05 AM, Peter De Berdt
<peter.de.be...@pandora.be> wrote:
>
> On 23 Sep 2009, at 15:50, Alex McAuley wrote:
>
> Bill you can...
>
> div {display:none;} /* Hide all divsĀ */
>
> div.classNameThatYouWantDisplayed {
> display:block
> }
>
> Nice and easy
>
> Not really, since there might be divs in the floating window div, those will
> also be hidden and even if you would use the * selector, there might be
> elements within that div that shouldn't be block level elements.
> The only way I see, is wrapping all other content in a div, then hiding that
> one. That is assuming that the floating window div is inserted at the end of
> the <body> element and not in the middle of the other content (most lightbox
> like scripts will do it that way).
>
> Best regards
>
> Peter De Berdt
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to