Results 1 to 3 of 3

Thread: Customization for Overlapping Content

  1. #1
    Join Date
    Oct 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Customization for Overlapping Content

    1) Script Title:
    Drop down/ Overlapping Content script

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

    3) Describe problem:
    Not a problem per se, it's more of me not really knowing how to get my way. <<
    So I was browsing through, and I really, really like this overlapping content script, the only thing is I want it to appear above the link as opposed to below it. I don't want it to overlap, basically I just want it to be on the opposite x axis side of the link than the current script. I'm not sure if it's possible, but if someone could show me the way, I'd be eternally greatful.

    Thanks for your time,
    Nick

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

    Default

    Sure thing. Just find the line:

    Code:
    subobj.style.top=ypos+"px"
    and change that to:

    Code:
    subobj.style.top=ypos-document.getElementById(subobjstr).offsetHeight+"px"
    That should do it.

  3. #3
    Join Date
    Oct 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Fantastic, it works like a charm.

    Thank you a million times over! This is just what I needed! ^_______^

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
  •