Advanced Search

Results 1 to 4 of 4

Thread: Opening direction of Overlapping Content script

  1. #1
    Join Date
    Aug 2005
    Posts
    17
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Question Opening direction of Overlapping Content script

    The script:
    http://www.dynamicdrive.com/dynamici...lapcontent.htm

    testbed:
    http://www.cyclevents.com/test/test3.htm (overlap function tied to "Ride Search" in bottom navigation links)

    Is it possible to force the Overlapping Content script to open "upwards" ? I am wanting to use it with "links" that are at the page bottom and it would be nice if it opened upward, so the visitor doesn't have to scroll down to view the content once it opens.

  2. #2
    Join Date
    Aug 2005
    Location
    Youngstown Ohio
    Posts
    114
    Thanks
    3
    Thanked 1 Time in 1 Post

    Default

    In your HTML look for:
    Code:
    <DIV id="subcontent2" style="position:absolute; display:none">
    and change it to:
    Code:
    <DIV id="subcontent2" style="position:relative; top:200; left:200; display:none">
    Just alter the "200"'s of top and left till you get what your looking for

  3. #3
    Join Date
    Aug 2005
    Posts
    17
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Thumbs up

    That didn't do the job, as it caused the box to open way down, leaving the visitor to scroll through a bunch of empty space to find the box.

    However, you did send me in the right direction . . . after a lot of experimenting, I discovered that if I moved the position:relative; top:200; left:200; to the style specs for the actual box and leave only the display:none in the subcontent style, then it worked.

    Thanks for the inspiration.

  4. #4
    Join Date
    Aug 2005
    Location
    Youngstown Ohio
    Posts
    114
    Thanks
    3
    Thanked 1 Time in 1 Post

    Default

    Hmm it worked fine for me, but glad you got it fixed anyway. I like how your content is set up on the page too, no extra load times excellent!

    Best Regards
    Spinthetic

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
  •