SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Hybrid View

  1. #1
    SitePoint Guru
    Join Date
    Dec 2005
    Posts
    964
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    jQuery: Make a footer stick only if?

    I want to be able to make my footer stick to the bottom of the browser, but only if the content doesnt fill out the entire page...

    I have found several of tutorials and scripts which make my footer stick but all the time. I want the footer to fall down if the content fills more than there is room for in the the browser window... Can somebody please help either give an example or guide me in the right direction...

    Thanks in advance :-)

  2. #2
    Under Construction silver trophybronze trophy AussieJohn's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, Australia
    Posts
    776
    Mentioned
    11 Post(s)
    Tagged
    0 Thread(s)
    That's something that can be easily achieved with some CSS, no JavaScript required

    http://www.cssstickyfooter.com/

    (More search results that may be helpful: http://goo.gl/9Re4R)
    var details = {
    . . web: "afterlight.com.au",
    . . photos: "jvdl.id.au",
    . . psa: "usethelatestversion.com"
    }

  3. #3
    SitePoint Guru
    Join Date
    Dec 2005
    Posts
    964
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by AussieJohn View Post
    That's something that can be easily achieved with some CSS, no JavaScript required

    http://www.cssstickyfooter.com/

    (More search results that may be helpful: http://goo.gl/9Re4R)
    Oh yes... Missed this one... 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
  •