This site is under maintenance. Some links may stop working, I will try to fix them ASAP. Sorry!
See my DrawingsRead my MumblingsCheck my WallpapersView my web.designsTake a look at my GraphicsLearn with my Tutorials

Here is HomeNews in PortugueseVisit my Links

drawings : renewal


Lombergar.com
pixel.colos
deviantART
ghostbone
Vincent Low
niklasp.com
Alfdesign
Jams Arts
Joylee.net
phirebrush


Want to link us?

Tutorial type : HTML
Views : 2958

Vertical scrolling marquee
I'm pretty sure you know what a marquee is, it's one of those boxes where text scrolls, usually from left to right, with some annyoing message that you're tired on reading time and time again...

But not all marquees are bad, and you can actually use them for quite useful purposes. What if you had a links section and you wanted to display all buttons in one 88x31 pixels box? You could use a marquee and have them scroll, one by one, giving everybody the same chance to appear in the box, without using some complicated "random image" script. The problem with marquees, is that they only work with IE broswers, there's no marquee for Netscape users.

Here's an example of what I'm talking about, along with the code:


<marquee direction="left" behavior="scroll" scrollAmount="1" width="88" height="31"><a href="http://www.deviantart.com"><img src="links/deviantart.gif"></a><a href="http://www.vegaone.de/"><img src="links/vega0ne.gif"></a><a href="http://deusdesigns.cjb.net"><img src="links/deusdesigns3.gif"></a></marquee>

Neato, isn't it? One problem with this is that the transition between buttons is too slow. In order to solve this, you can either change the "scrollAmount" attribute to an higher value, or even better, make it scroll vertically, by changing the "direction" to "up" You can also make it stop when the user puts his mouse over the button. Here's how it looks like and it's code:


<marquee direction="up" behavior="scroll" scrollAmount="1" width="88" height="31" onmouseover="this.stop()" onmouseout="this.start()">



5946 days online | hosted by TSOhost (recommended!)
copyright © 2002 - 2018  | Share the links, not the content

Aqui fica uma compilação de todos os MP3's encontrados desse grande sócio, o caríssimo . . . Zé Dread. Ze Dread - Compilacao.zip (mp3's - 11,35 MB) || Ze Dread - Compilacao.nfo (informações) Saca lá essa cena... Para quem usa eMule, aqui ficam os ed2k links: Ze Dread - Compilacao.zip || Ze Dread - Compilacao.nfo Aqui fica uma compilação de todos os MP3's encontrados desse grande sócio, o caríssimo . . . Zé Dread. Ze Dread - Compilacao.zip (mp3's - 11,35 MB)