[Javascript] newbie question

Rodney Myers rmyers at i-way.co.uk
Fri Apr 27 03:31:45 CDT 2001


BTW

It seems the order is important.
If a link has been visited then the hover colour will not show unless
a:hover comes _after_ a:visited

Rodney

Rodney Myers wrote:
> 
> No Javascript required, just STYLE sheet
> 
> e.g.
> 
> a         {  color: #3366FF; text-decoration: none; font-weight: bold}
> a:active  {  color: #00FF00}
> a:visited {  color: #006600}
> a:hover   {  color: #ff0000}
> 
> It is the hover part that does what you need - but MSIE only (or NN6 if
> you call that a browser)
> 


> > I've looked through my books and online material and can't find a mention of
> > how to change the color of a text  link on a mouseover event
> > Not an active link like html, just the mouseover.
> > I thought I have seen this on a site somewhere. I could do it with images
> > but it would be easier to do it this way.
> > Is this possible with javascript?


-- 
Shop at ssistant Add-ons and Developer Workshops
http://www.aflyingstart.net/addons/


Rodney Myers
Based in Oxford, England
Technical Director, Shop at ssistant eCommerce Solutions




More information about the Javascript mailing list