Jean Pierre Daviau wrote:
Hi,
How can I write this correctly?
Correct according to CSS2.1? Neither selfTimer nor expression, nor
JavaScript are defined in any of the CSS specs I'm familiar with. I
reckon that makes your post OT here.
>
a:hover {
expression(selfTimer());
}
<a style=" expression(selfTimer()) " href= .....></a>
I *think* (i.e., I'm guessing wildly) that you want something like
a:hover { property: expression(selfTimer()); }
where "property" refers to something CSS-ish that can be determined by
whatever selfTimer does. An example of a property would be font-size or
background-color or margin-top, none of which sound like timer-friendly
properties. Maybe you're trying to do something aurally or with CSS3?
Anyway, even if I got the syntax right, I wouldn't expect whatever it is
to work in non-IE browsers or where scripting is not turned on. I take
this to be IE-proprietary junk.
http://www.codehouse.com/javascript/...ss_expression/
Maybe you should ask in c.l.javascript or some Microsoft or IE group.
--
John
Pondering the value of the UIP:
http://improve-usenet.org/