Results 1 to 3 of 3

Thread: drop-in content layer on top

  1. #1
    Join Date
    Feb 2005
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default drop-in content layer on top

    1) Script Title: drop-in content box

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

    3) Describe problem: I have the drop in box working correctly, but I also have the HV menu on my page and the drop-in content is dropping in behind the menu, and I need it to drop in on top of all other content.

    Is there a way to accomplish this? I tried adding a z-index:1 to the positioning of the drop-in content, but it doesn't seem to work. Any help is greatly appreciated, thanks!

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Try z-index:1000 -

    HTML Code:
    <div id="dropin" style="z-index:1000;position:absolute;visibility:hidden;left:200px;top:100px;width:500px;height:300px;background-color:#F5F5F5">
    My reasoning being that HV probably already employs z-indexes for its effects and may go as high as 500 or higher, so a z-index of 1 for the drop in wouldn't be any different than the default, which is 0.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Feb 2005
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Works great, thanks!

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
  •