Forum Moderators: not2easy
hello,
I have seen on many sites such as the link below:
[newfundemental.com...]
they use little arrows that when you click or rollover them the text scrolls up/down. but a scroll bar isnt visable.
How do you do this?
There are 2 ways of doing this: an iFrame or a scrolling layer.
The iFrame is the effect used on the site you mention (although, you may want to remove the link as it is against the TOS [webmasterworld.com] of WebmasterWorld). iFrames are well supported, with NN4.x being the exception, although you can work around this by nesting the iFrame within and iLayer.
The second option (and this allows you to use onmouseover events to achieve scrolling) is a scrollable layer. Without any JavaScript, in it's simplest form, div's can scroll (again watch out for NN4.x - see the pattern?!) by using the CSS overflow property, but there are cross browser scripts out there that will allow you to get div's to scroll using mouse over events.
HTH