Connecting Tech Pros Worldwide Help | Site Map

expression

 
LinkBack Thread Tools Search this Thread
  #1  
Old July 14th, 2008, 03:55 PM
Jean Pierre Daviau
Guest
 
Posts: n/a
Default expression

Hi,

How can I write this correctly?

a:hover {
expression(selfTimer());
}

<a style=" expression(selfTimer()) " href= .....></a>


Thanks

--
Jean Pierre Daviau

--
windows XP professionnel 2002 SP2
asus p4 s533/333/133

http://jeanpierredaviau.com

Aimons les étrangers; l'on vit avec eux les trois quart de notre vie.



  #2  
Old July 14th, 2008, 07:45 PM
John Hosking
Guest
 
Posts: n/a
Default Re: expression

Jean Pierre Daviau wrote:
Quote:
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.
Quote:
>
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/
  #3  
Old July 14th, 2008, 11:25 PM
Jean Pierre Daviau
Guest
 
Posts: n/a
Default Re: expression

In this world everything has a tendency to split his way apart ;-)

I did not check if it was a proprietary CSS thing. But I learned
JavaScript and I was foolishly happy to see they could be joined.


Thanks again


"John Hosking" <John@DELETE.Hosking.name.INVALIDa écrit dans le message de
news: 487bab20$1_7@news.bluewin.ch...
Quote:
Jean Pierre Daviau wrote:
Quote:
>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.
>
Quote:
>>
>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/

 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,989 network members.