Forum Moderators: open

Message Too Old, No Replies

Hide/Show a frame like google reader?

         

dulldull

5:08 pm on Apr 29, 2009 (gmt 0)

10+ Year Member



In Google Reader (www.google.com/reader), they let users to hide/show a frame. I've searched in some ajax showcase websites to find out if there's a demo script for it, but i couldn't get it.

I'm still not sure if it's ajax. Can anyone tell me which keyword should I look for when I'm looking for a script with similar effect?

Thanks a lot!

whoisgregg

2:14 pm on Apr 30, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



The easiest way to show/hide something in the page is simply to toggle it's CSS display: setting between 'block' and 'none'.

Typically people ask about how to do this for a <div> but the same concept applies for a frame or pretty much any element.