CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2017
    Posts
    2

    How can I make a div scroll with page and stop at footer?

    Hi,

    I'm having a problem trying to figure out how to make a div scroll with the page and stop at a certain point so that it doesn't go over the footer. Here's a quick video explaining what I'm trying to accomplish. Thanks for any help you can offer me in getting this problem solved!


    https://youtu.be/MbF7Sn9uvG4

  2. #2
    Join Date
    Mar 2017
    Posts
    2

    Re: How can I make a div scroll with page and stop at footer?

    Hey I figured out this so far from a demo I found.... My problem is that the yellow sidebar attaches to the footer like a magnet when it gets too close to it instead of being a smooth transition that stops when it hits it. Any ideas as to why this could be happening? Thanks

    http://phoenixlove.net/fun/

Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured