Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Design Only part of page scrolls

  • This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #161490
    pctechtv
    Participant

    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. http://www.msnbc.com/ Thanks

    #161498
    Tommi Sipiläinen
    Participant

    I believe its “position: fixed” what you are looking for?

    There is “position: fixed” added in header&navigation in this:
    http://codepen.io/kindofone/pen/eBtFE

    It makes the element scroll with the page.

    #161560
    pctechtv
    Participant

    Very helpful thanks! I welcome any example, I think some of the ones I have been seeing have a sidebar or something with a semi-transparency that made me think more complicated stuff was going. CSS, HTML5, jQuery are great in that way!

    #161647
    pctechtv
    Participant

    Here is another good example:
    http://www.malwarebytes.org/free/

    #161651
    pctechtv
    Participant

    After searching more extensively I see the topic well covered here. Thanks
    https://css-tricks.com/fancy-scrolling-sites/

Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘Design’ is closed to new topics and replies.