473,406 Members | 2,816 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

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.
Jul 14 '08 #1
2 1536
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/
Jul 14 '08 #2
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" <Jo**@DELETE.Hosking.name.INVALIDa écrit dans le message de
news: 48**********@news.bluewin.ch...
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/

Jul 14 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

23
by: Paul Rubin | last post by:
OK, I want to scan a file for lines matching a certain regexp. I'd like to use an assignment expression, like for line in file: if (g := re.match(pat, line)): croggle(g.group(1)) Since...
70
by: Roy Yao | last post by:
Does it mean "(sizeof(int))* (p)" or "sizeof( (int)(*p) )" ? According to my analysis, operator sizeof, (type) and * have the same precedence, and they combine from right to left. Then this...
22
by: Tony Johansson | last post by:
Hello Experts! I'm reading i a book about C++ and they mention infix with telling what it is. I hope you out there can do so. Many thanks! //Tony
2
by: Mike Turco | last post by:
I like using the expression builder for a lot of different things but it isn't always available when I want to use it, for example in the code window, or in all of the control properties. I am...
14
by: John Temples | last post by:
Given this code: extern volatile unsigned char v; int main(void) { v; return 0; }
15
by: Nerox | last post by:
Hi, If i write: #include <stdio.h> int foo(int); int main(void){ int a = 3; foo(a); }
7
by: Billa | last post by:
Hi, I am replaceing a big string using different regular expressions (see some example at the end of the message). The problem is whenever I apply a "replace" it makes a new copy of string and I...
1
by: lovecreatesbea... | last post by:
---quoting--- Annex C (informative) Sequence points 1 The following are the sequence points described in 5.1.2.3: - The end of a full expression: an initializer (6.7.8); the expression in an...
28
by: Marc Gravell | last post by:
In Linq, you can apparently get a meaningful body from and expression's .ToString(); random question - does anybody know if linq also includes a parser? It just seemed it might be a handy way to...
18
by: dspfun | last post by:
Hi! The words "expression" and "statement" are often used in C99 and C- textbooks, however, I am not sure of the clear defintion of these words with respect to C. Can somebody provide a sharp...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.