Log in

View Full Version : looking for a "push down" script



oneforthebooks
08-08-2007, 08:52 PM
Not sure if that's what it would be called but...
I'm looking for a script that can display content in a box at the top of the browser that pushes down the rest of the page and the content (not overlap).
A few things I would like for the script to handle:
User can click to close/retract the box.
Can choose to have the box display once per session, random, etc.
Box must be able to display images and links.

Would like, but is not necessary, the ability to browser sniff and display content specific to which browser is being used.

I have found a few things but all of them overlap content and what I am needing is something that does not overlap content.

Thanks so much!

shachi
08-09-2007, 09:57 AM
Do you mean something like a long horizontal div that always stays at the top of the page?

oneforthebooks
08-09-2007, 03:22 PM
Do you mean something like a long horizontal div that always stays at the top of the page?

Well, more like this:
A user clicks on a link and a horizontal box drops down (pushing other content down). The user can read the content then click on a link to make the box close back up.

I have seen this on other sites with this (Yahoo stands out as one that has used this)

Medyman
08-09-2007, 03:57 PM
I think what you want is the collapsible div.


http://www.dynamicdrive.com/dynamicindex17/animatedcollapse.htm
http://www.harrymaugans.com/2007/03/05/how-to-create-a-collapsible-div-with-javascript-and-css/

oneforthebooks
08-09-2007, 04:04 PM
yup...those look good...with some tweaks I should be able to get close to what I want...Thanks!:)