Need help with a floating Javascript

Discussion in 'JavaScript and AJAX' started by ingero, Dec 14, 2007.

  1. ingero

    ingero New Member

    Dec 14, 2007
    Likes Received:
    Trophy Points:
    Out of all of the floating layer scripts I've found, I really love how simple and attractive this one is, however I have a problem. I need it to be pushed down further than 100 pixels from the top of my page (285px to be exact), and when I enter this, my layer covers the my footer at the bottom, so people can't check out my copyright notice and text navigation.

    I tried adding a bottom margin but it doesn't work. I was thinking that you might need to add a javascript variable for the bottom height so that it doesn't scroll past say, 200px from the bottom and stops at that point, but I wouldn't know the first thing about setting that up.

    If you view source on that page it shows all of the javascript there... can anyone tell me if this is an easy fix and if so, what to modify to get it to behave the way I need it to?

    Here's the example of what I'm currently using:

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice