- Create Account

add scrollbars

Forums > Inline HV Scrollbox > add scrollbars
Author
Message

1) Tanya Group: Guests
IP: 212.179.--.--
Thank you very much for the scripts available here. They are amazing!

I'm using this hv scrollbox at the moment bc it offers the possibility to position it anywhere within a table which is what i needed exactly.
However, the arrows aren't enough for me and i need instead a scrollbar, something like in your dhtml scroller.
Since i'm not that familiar with dhtml i wanted to ask what script i should add or where to look for a script that can add the scrollbars.

Thank you in advance!

2) Angus Turnbull Group: Guests
IP: 210.55.--.--
Well, while being able to put it in a table makes it very flexible, it makes it harder to add scrollbars for the same reason -- you don't really know exactly where the damn thing is, which poses a problem for NS4 especially.

A couple of people have suggested this, but if you want scrollbars I'd recommend using the other scroller script. It's designed with scrollbars in mind, and although you can't put it *in* a table, you can hover it *over* a table easily by tweaking the positioning formulae it uses.

Good luck - Angus.

3) Tanya Group: Guests
IP: 212.179.--.--
I tried your script but the problem is that the script has to be exactly in one spot, now bc ppl have different screen resolutions, the text "jumps" which i cannot afford in the design. it's hard to find one size that fits all sizes...

secondly i wouldn't mind if netscape doesn't have the scrollbars and only have the arrows as long as ie will look the best.

So is there any script you can suggest me anyway?

Thanks!!

4) Angus Turnbull Group: Guests
IP: 210.54.--.--
Well, you can position the other scroller via formulae as it says -- it has this explained in the FAQ on the "DHTML -> DHTML Scroller" page if you scroll down, with an example, so it can be centred on the page regardless of resolution.

Anyway, if you're not worried about NS4, there is a very simple solution. Consider using an IFrame for your content, or this snippet:

<div style="width: 300px; height: 200px; overflow: scroll">
Blah blah blah
</div>

which  will cause scrollbars to appear around it. Works in IE, NS6+, and Opera I believe.

- Angus.

Post a Reply:

You are not logged in, and will be posting anonymously as a guest. If you want to post using an account, please login at the top of this page.