Page 1 of 1

CSS Question

Posted: Wed Nov 29, 2006 1:22 am
by Sylo-X-
Okay okay okay...This might be a little confusing but bare with me. This came to me in a dream.

Okay lets say i have my beautiful CSS website. yep beautiful. Now on this beautiful website i have my navigation fully coded in CSS. Now I know how to style my links so when you put your mouse over it it changes color and other cool effects. My question is. Can you use CSS to make it so that every time you put your mouse over the link it randomly chooses a color for the mouseover. or if not random choose from a list of colors that is coder specified?

CSS Question

Posted: Wed Nov 29, 2006 2:10 am
by Josh
You\'ll need to use javascript for this. I\'m not sure how, though.

CSS Question

Posted: Wed Nov 29, 2006 3:06 am
by Scott
Couldn\'t find anything exactly what you were after, but [url=\"http://javascript.internet.com/buttons/ ... utton.html\"]this[/url] might give you a start. Hope you like javascript coding...I don\'t <img src=\'http://www.killanet.net/forum3/public/s ... Debate.gif\' class=\'bbc_emoticon\' alt=\'(debate)\' />

CSS Question

Posted: Wed Nov 29, 2006 4:15 am
by Sylo-X-
baw...*hates javescript*, perhaps some dreams arnt meant to come true

CSS Question

Posted: Wed Nov 29, 2006 4:57 am
by Endo
[url=\"http://my.opera.com/duddev/blog/show.dml/282415\"]http://my.opera.com/duddev/blog/show.dml/282415[/url] is pretty much exactly what you want <img src=\'http://www.killanet.net/forum3/public/s ... >/blum.gif\' class=\'bbc_emoticon\' alt=\':P\' />

**Edit: oh its javascript, but what your wanting

CSS Question

Posted: Thu Nov 30, 2006 10:40 am
by Alexander
javascript isnt bad, what is bad is the ways it is implemented, as long as javascript goes by the holy law of graceful degredation (if something breaks or is turned off, it wont affect how the site works) then its a great way to enhance a page.

EG: only use javascript if the script is going to give additional functionality over and above the basic level (that way you can still browse the site perfectly with JS turned off however for those who have it turned on, they get increased functionality, therefore its left up to the user to if they trust the site enough to enable it on a site by site basis)

<img src=\'http://www.killanet.net/forum3/public/s ... >/blum.gif\' class=\'bbc_emoticon\' alt=\':P\' />

CSS Question

Posted: Thu Nov 30, 2006 7:32 pm
by Sylo-X-
Yeah thats why I was hoping there was a way to do it with CSS because personally i never have javascript enabled unless its absolutley neccisary and i never bother with home made webpages that need javascript in order to function.

CSS Question

Posted: Sat Dec 02, 2006 10:49 pm
by Electrix
CSS is just for styling the content, not for making it do anything fancy. javascript is the only way, and shanes link is exactly what you need.