Log in

View Full Version : Scrollbars in iframe...



TorrentMan
05-23-2006, 06:53 AM
Hello
I just was on the ea games site and see this nice iframe scrollbars, i guess it
is iframe.
Demo here: http://www.ea.com/

Do someone here know where to get this, or what code to use to have this nice scrollbars?

Thanks in advance

djr33
05-23-2006, 07:01 AM
That's flash.
www.flash.com


EDIT: The main page, anyway.
Scrollbar colors/styles are CSS based, and that should be easy enough to google. Not sure myself, sorry.

However, you must know that they are IE only... won't work in any other browers, from what I know.

jscheuer1
05-23-2006, 07:28 AM
Those are cross browser custom scrollbars made using css (including background images), and javascript. Not flash, not actual scrollbars and not iframes. The elements involved are divisions (<div></div>) which, by themselves, are pretty much the most generic type of element in HTML. It is the styling that makes them look like they do and the script that makes them work like they do.

Ive seen that sort of thing elsewhere and I'd bet that if you Google custom scrollbars you might find examples that you can use but, you will have to weed out all the hits you get for IE's proprietary custom scrollbars.

djr33
05-23-2006, 07:31 AM
The one upside to the IE only scrollbars is that they're easily compatible with other browsers... they just get defaults.
So... its easy and will never give errors... just won't always be pretty.


But if you can code something more, that would be cool as well.

In fact, that link has some tool bars that seem somewhat image based... not just solid color on the scroll bars... more of a pattern.

jscheuer1
05-23-2006, 07:38 AM
I found this tutorial:

http://www.hesido.com/web.php?page=customscrollbar