Scroll div content with site scrollbar
- Started
- Last post
- 6 Responses
- tOki0
Not sure what time it is in europe and the states, but I'm sure someone will be able to help you shortly with some detailed info.
I'd imagine you'd need to create a stage similar to how flash works so that the script can be aware of the screen size and therefore the relative position of the scrollbar...?
Do you want any other parts of the page to also scroll or only the content within said div?
- silentpost0
methinks you are over-thinking this.
this will point you in the right direction though:
http://bit.ly/f945pO
- Stugoo0
do you mean using overflow:auto in the css?
- SimonFFM0
Thanks slientpost. This helps http://jsfiddle.net/XwaT3/1/
I just need to adapt a few things but with this I can do it. Great.
Solved.
- tOki0
I'm not a developer, but I'd say you can probably use javascript to do that, particularly with the advancements in browsers of late.
- SimonFFM0
Yes, you sure can but I don't find anything when I search in Google. That's why I am asking.