PDA

View Full Version : scroll bars


brisa_main
09-28-2005, 10:40 AM
hey

i will be needing some scroll bars on a website im doing as theres too much type for the height of the table cell.
i dont want a whole bar, im after just one arrow at the top and bottom
is this possible?
how?

thanks

davidj
09-28-2005, 11:25 AM
apart from the colour of the browser scroll bar there is very little you can change other than on / off

you can use DHTML to create a scrolling layer. There are loads of examples which are pre-written (cut and paste jobs) but its not that hard to write your own


DHTML Scroller ('http://javascript.internet.com/page-details/dhtml-scroller.html')

brisa_main
09-28-2005, 12:08 PM
how do u do the standard ones in DW? i dont need the whole page to scroll its just some text within a table

davidj
09-28-2005, 12:09 PM
You can do it using DHTML (above)

or you can use IFRAME 's

add your text to another page (text.html)

in your main page add

<iframe src="text.html" height="100" width="100" scrolling="auto"></iframe>

ranjan
09-28-2005, 04:02 PM
Consider a pure CSS Scroller. No Javascript

http://www.dreamweaverclub.com/css-scroller.php ('http://www.dreamweaverclub.com/css-scroller.php')