Giggle Girl wrote:[color=blue]
> Hmmm Rob,
> I am thinking about what you are saying. Does it work like this:
>
> In a specific frame, have each possible "page" contained in a div tag,
> and set all of them to visibility: hidden except the one being used?
> Is this right?[/color]
If you use visibility:hidden, elements still take up room on the page as
if they were still visible. display:none completely removes them from
the flow. Setting display to '' (empty string) puts them back in so
they are visible and take up space again.
[color=blue]
>
> If not, please explain what you mean. :)
>
> If it is right, there will be some issues, because the application I am
> helping to build does a lot of serverside stuff, and currently passes
> many values using a location = "_page_to_display?vals=lotsofstuff" when
> a new page is to be displayed. Having to redo this method may take too
> much devleopment time and possibly goes beyond my jurisdiction.
>
> Any more thoughts on this?[/color]
What do you do with the 'lots of stuff'? Your original question was
about removing an element and its content from the page, then putting it
back later. Using the display property is one way, another is to
actually remove the element from the page.
Document fragments can be removed and stored by keeping a reference to
them or by creating a document fragment and attaching them to that - see
this thread:
<URL:
http://groups.google.co.uk/group/com...ce856ff314f102[color=blue]
>[/color]
--
Rob