SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    Nov 2008
    0 Post(s)
    0 Thread(s)

    Only part of page scrolls

    From time to time I come across pages that employ this type of movement. They have a part that stays in place or moves slower than a scrolling part. Could someone point me in the correct direction to begin learning how this is done? I am sensing that it is with jQuery or just JavaScript. e.g. Thanks

  2. #2
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Melbourne, AU
    460 Post(s)
    8 Thread(s)
    Yes, that effect is handled by JS. Unfortunately, there are some 70 JS files linked to that page. so tracking down which one it is won't be fun. Ideally, find a leaner page with the same effect.

    You could get a similar effect by just fixing the position of the sidebar, but it wouldn't be easy to make it adjust to the scroll position, though.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts