chriscloyd Posted February 1, 2013 Share Posted February 1, 2013 I need help! I have been working on a website for a band and it works all dandy, but I am having a problem. I am trying to make the div where all the content is located scroll down or up if you try to scroll anywhere on the screen. Any help will do, but I have tried using $.scroll and $.scrollTo but still at a lose as to what is going on. I am not a complete noob, I am just unable to figure this one out. Quote Link to comment https://forums.phpfreaks.com/topic/273918-div-scroll-when-scrolling-on-window/ Share on other sites More sharing options...
denno020 Posted February 10, 2013 Share Posted February 10, 2013 If that's the only content that you want scrolling, then you could just give everything else a CSS position of fixed, so that it will stay put in the window, whilst everything that isn't fixed (the content) scrolls. Denno Quote Link to comment https://forums.phpfreaks.com/topic/273918-div-scroll-when-scrolling-on-window/#findComment-1411407 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.