PDA

View Full Version : please help with drop down script



cybershot
06-01-2008, 03:41 AM
1) Script Title: drop-in content box

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/dropinbox.htm

3) Describe problem:
I figured this out about a month or more ago. But after several hours of trying tonight, I keep running into dead ends.

I want all the pages at http://www.photobyiris.com to drop down in this script. I like that it bounces and that there is a close box and it looks really neat. So what I did was re creat the pages about, portfolio, contact and the services page. to have the red background and I put the content into the page. but it just isn't working for me. I want it so that when you click the link at the bottom. the page will drop in. I am having trouble getting it to work with html. So i tried to break it down to it's simplest form to try and work backwards to get my result. My last attempt is attached.

ddadmin
06-01-2008, 07:09 AM
The content that you wish to be dropped in needs to be contained within a specific DIV:


<div id="dropin" style="position:absolute;visibility:hidden;left:200px;top:100px;width:500px;height:300px;background-color:#F5F5F5">

<div align="right"><a href="#" onClick="dismissbox();return false">[Close Box] </a></div>

SPECIFY YOUR CONTENT HERE. IT COULD BE TEXT, IMAGES, OR RICH HTML

</div>

The part in red would be replaced by your desired HTML. You can'g have the script simply automatically drop in the entire contents of the page.