SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    I solve practical problems. bronze trophy
    Michael Morris's Avatar
    Join Date
    Jan 2008
    Location
    Knoxville TN
    Posts
    2,026
    Mentioned
    64 Post(s)
    Tagged
    0 Thread(s)

    How do I? Column that stops

    I'm wondering on how to create a column that stops scrolling once it hits its bottom even as the rest of the page continues to scroll down. Facebook does this with the column that holds their advertisements.

  2. #2
    SitePoint Addict bronze trophy
    Join Date
    Mar 2013
    Location
    Oneonta, NY
    Posts
    307
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Michael,

    Here is a tutorial with JQuery and CSS that relates to what you are talking about. It doesn’t behave exactly as Facebook’s ad section but maybe it can point you in the right direction. Note: It doesn’t seem to work in Chrome (at least for me).

    http://net.tutsplus.com/tutorials/ht...query-and-css/

    Best,

    Shawn


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
  •