View Full Version : Gradual Highlight Script in CSS?


anyatyler
10-06-2004, 03:20 PM
Hi all!
Is it able to put
style="filter:alpha(opacity=10)" onmouseover="nereidFade(this,100,30,5)" onmouseout="nereidFade(this,10,50,5)" for the gradual highlight script in the css?

I'm currently working on a fully html-ed site as a practise (or revision) for html... so I'd like to know if the above code can be converted to put in a css.

Thanks!

kittycat
10-06-2004, 11:14 PM
style="filter:alpha(opacity=10)"
That part can, but the rest can't since it's javascript... don't think there'a another way you can do the fade in effect with CSS either.

anyatyler
10-07-2004, 10:09 AM
So is it able to link to a js file in css?

kittycat
10-07-2004, 09:19 PM
No... you can link to a javascript file within your HTML page code, but not from within a stylesheet.