Forum Replies Created
Viewing 6 posts - 1 through 6 (of 6 total)
-
AuthorPosts
-
kolbigray
MemberThanks so much for the help! I really appreciate it!
kolbigray
MemberI also added this to the top of the sidebar widget code. I don't know If I've used the right divs. I really wanted to use the VariScroll.js script, but I couldn't figure it out either. Thanks for your help bud.
kolbigray
MemberHey there James! here is what I added to my site.
<script> var d1 = document.getElementById('content'), d2 = document.getElementById('sidebar-stuff'); function s() { var p = (d1.scrollHeight - d1.clientHeight) / d1.scrollTop, x = (d2.scrollHeight - d2.clientHeight) / p; d2.scrollTop = Math.round(x); } d1.onscroll = s; </script>
I know I'm probably doing something wrong.
kolbigray
MemberThat didn't even cross my mind, but I just updated everything so I believe that should do it! Thanks @braddalton !
kolbigray
Member@Braddalton - Yep! That's where the code came from. You explained it way better than I saw it explained in the Studiopress member area. I guess I was missing a minor thing.
@Tonya! Thanks so much! I'm going to try this code right now! I'll let you know how it goes!
-
AuthorPosts
Viewing 6 posts - 1 through 6 (of 6 total)