Results 1 to 2 of 2

Thread: please help with drop down script

  1. #1
    Join Date
    Mar 2007
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default please help with drop down script

    1) Script Title: drop-in content box

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici.../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.

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    The content that you wish to be dropped in needs to be contained within a specific DIV:
    Code:
    <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.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •