CSS Question

Get Help With All Aspects of Web Design & Design Software

Moderators: Moderator, Global Moderator

Post Reply
Sylo-X-
Newbie
Newbie
Posts: 0
Joined: Wed Jul 21, 2004 5:52 am

CSS Question

Post 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?
Image

I would love to change the world, but they won't give me the source code =(

My Killa Blog
Josh
Newbie
Newbie
Posts: 0
Joined: Fri Jun 04, 2004 2:54 pm

CSS Question

Post by Josh »

You\'ll need to use javascript for this. I\'m not sure how, though.
[align=center]

Image

“If you stop learning, you stop living.” ~Tami Quiring

“It's the rare man who understands the value of a single perfect rose.”

[/align]
Scott
Administrator
Administrator
Posts: 0
Joined: Sun Apr 25, 2004 1:08 pm

CSS Question

Post by Scott »

Couldn\'t find anything exactly what you were after, but this might give you a start. Hope you like j&#097;v&#097;script coding...I don\'t <img src=\'http://www.killanet.net/forum3/public/s ... Debate.gif\' class=\'bbc_emoticon\' alt=\'(debate)\' />
Sylo-X-
Newbie
Newbie
Posts: 0
Joined: Wed Jul 21, 2004 5:52 am

CSS Question

Post by Sylo-X- »

baw...*hates javescript*, perhaps some dreams arnt meant to come true
Image

I would love to change the world, but they won't give me the source code =(

My Killa Blog
Endo
Newbie
Newbie
Posts: 0
Joined: Wed May 05, 2004 9:05 am

CSS Question

Post by Endo »

http://my.opera.com/duddev/blog/show.dml/282415 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 j&#097;v&#097;script, but what your wanting
Last edited by Endo on Wed Nov 29, 2006 4:59 am, edited 1 time in total.
[align=center]

Image

[color=\"#333333\"]Last Blog:[/color][color=\"Green\"] SUMMER [/color][color=\"black\"](30/11/06)[/color]

[/align]
Alexander
Newbie
Newbie
Posts: 0
Joined: Wed Jul 07, 2004 8:33 am

CSS Question

Post by Alexander »

j&#097;v&#097;script isnt bad, what is bad is the ways it is implemented, as long as j&#097;v&#097;script 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 j&#097;v&#097;script 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\' />
Sylo-X-
Newbie
Newbie
Posts: 0
Joined: Wed Jul 21, 2004 5:52 am

CSS Question

Post 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.
Image

I would love to change the world, but they won't give me the source code =(

My Killa Blog
Electrix
Newbie
Newbie
Posts: 0
Joined: Thu Jun 17, 2004 12:37 am

CSS Question

Post 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.
[align=center]

forgedeuphoriacom - now with 30% less fat.

stylecommentcom - recently relaunched&#33;

[/align]
Post Reply

Return to “Web Design Principles”