PDA

View Full Version : HTML Scrollbar help!



|Red_Bu||
09-13-2004, 10:25 PM
Hello!

I'm working on my second version of my website. And what I want to do is that the main scrollbar to the right on every site. I want this site to be the scrollbar that users use to scroll down to see both the Main Meny frame (Left Frame), Mainframe and Rightframe.

Because the main scrollbar only scrolls the left frame of my site, which means I have to add another two scrollbars. One for my Leftframe, one for my mainframe and the main scrollbar takes care of my Rightframe. But I want the main scrollbar to the Right as the ONLY scrollbar on my site, not 3 of them..

If anyone can see what i mean?
I'm using Macromedia Dreamwaver.. Please help me!
Thanks in advance..

regards..
|Red_Bu||

ddadmin
09-14-2004, 04:49 AM
If I understood your question, you're looking for a way to synchronize the scrolling of a frames page, so scrolling one frame causes the other frame to scroll equally. If so, the following article should help: http://www.webreference.com/programming/javascript/jf/column2/

adawi
10-21-2007, 08:10 AM
I wanna to ask if I can create my scrollbar and add it to dinv
(not stander scrollbar)

I wish to help me

tech_support
10-21-2007, 08:51 AM
"I wish to help me"

Well, help yourself then. :p

You can create a scrollbar within a div by using the CSS code: overflow:auto;

Example:


<div style="overflow:auto; width:100px; height:100px;">
<p>Look ma! It scrolls!</p>
<p>text text text text</p>
<p>text text text text</p>
<p>text text text text</p>
<p>text text text text</p>
<p>text text text text</p>
<p>text text text text</p>
<p>text text text text</p>
<p>text text text text</p>
</div>