Scroll div content with site scrollbar
- Started
- Last post
- 6 Responses
- 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.
- Stugoo0
do you mean using overflow:auto in the css?
- silentpost0
methinks you are over-thinking this.
this will point you in the right direction though:
http://bit.ly/f945pO
- 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?
- SimonFFM0
Yes, you sure can but I don't find anything when I search in Google. That's why I am asking.
- 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.
- SimonFFM
Hello,
I have a HTML/CSS question and hope anyone can help:
Is it possible to scroll the content of a fixed size div (also fixed positioned) when you use the regular site scrollbar (not a div scrollbar)?
I don't want to scroll the div itself, only the inside.
Thanks so much
Simon