Forum Moderators: open

Message Too Old, No Replies

Scrollbar question.

         

rare_fate

3:51 am on Apr 14, 2004 (gmt 0)

10+ Year Member



How can u make a iframe's scroll bar into a image without the standard IE scroll bar? I would like a ball to be on the side and when I want to scroll down I scroll the ball down. Is it possible?

Purple Martin

5:14 am on Apr 14, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Not in HTML or CSS (because the scrollbar is a part of the computer's operating system), however it is possible to build a simulated scrollbar in JavaScript or Flash that will work the same way and can look any way you want. Just be aware that not everyone can see stuff that's made with JavaScript or Flash.

rare_fate

11:55 pm on Apr 14, 2004 (gmt 0)

10+ Year Member



no no i don't want to change the standard scrollbar, just the way appears. I would like to have an image instead of a scroll bar.

kinda like what the link below but not with html box, or a track, i just want a ball to scroll up and down...

[13thparallel.org...]

Purple Martin

1:08 am on Apr 15, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



That site has done what I suggested in message #2: they've built a simulated scrollbar with JavaScript. Their scroller is just an empty div styled with CSS to give it a border and a grey background. You can easily put a ball image in the scroller div by changing this line:

<div id="scrollArea"><div id="scroller"></div></div>

to this:

<div id="scrollArea"><div id="scroller"><img src="ball.gif"></div></div>

Now edit the CSS to get rid of the border and background colour, and your job is done.

rare_fate

2:36 am on Apr 15, 2004 (gmt 0)

10+ Year Member



thanks

R1chard

12:02 pm on Apr 15, 2004 (gmt 0)

10+ Year Member



Solution- If the user wants that, then they install a theme or skin for their browser.

rare_fate

4:32 am on Apr 25, 2004 (gmt 0)

10+ Year Member



I used the script. I got super long content. However i can't use internal links. Anyone know how i can create internal links with the script from 13 parrallel site.