Trouble with a selectively scrolling sidebar I found |
Trouble with a selectively scrolling sidebar I found |
Alucardsay |
Jul 25 2014, 01:02 PM
Post
#1
|
Group: Members Posts: 2 Joined: 22-July 14 Member No.: 21,297 |
I found this jquery code to make a sidebar that remains absolute until you start to scroll past it, at which point it becomes fixed. Here is a demo page from the website I got it from http://www.pixelbind.com/examples/stick-a-div/2/ . Anyway when I tried to use it myself instead of scrolling the sidebar just disappears as you pass it. I put my html and css below. If anyone can help me I'd really appreciate it.
style.css ( 3.63k ) Number of downloads: 341 graphic_design.html ( 4.41k ) Number of downloads: 318 |
Lo-Fi Version | Time is now: 19th April 2024 - 05:39 AM |