From: Ciaran on
Hi,
Is it possible to trigger the hover state of an element using
javascript?

What I'd like to do is have the rollover of one element tirgger the
hover state of a different element.

Is it possible without setting up a dummy class and attaching/removing
it dynamically?

Thanks,
Ciarán
From: Thomas 'PointedEars' Lahn on
Ciaran wrote:

> Is it possible to trigger the hover state of an element using
> javascript?

There is no "javascript": <http://PointedEars.de/es-matrix>

> What I'd like to do is have the rollover of one element tirgger the
> hover state of a different element.

You better nest those two elements so that it works without scripting.

> Is it possible without setting up a dummy class and attaching/removing
> it dynamically?

Yes, but as for scripted solutions the approach you describe is more
compatible.


PointedEars
--
realism: HTML 4.01 Strict
evangelism: XHTML 1.0 Strict
madness: XHTML 1.1 as application/xhtml+xml
-- Bjoern Hoehrmann
From: John G Harris on
On Wed, 28 Apr 2010 at 04:43:19, in comp.lang.javascript, Thomas
'PointedEars' Lahn wrote:

><http://PointedEars.de/es-matrix>

I had to rescue IE8 with Ctl|Alt|Del to get out of this page. What have
you done ? What is object.js ?

John
--
John Harris

From: Ry Nohryb on
On Apr 28, 4:43 am, Thomas 'PointedEars' Lahn <PointedE...(a)web.de>
wrote:
>
> (...) There is no "javascript" (...)

This is comp.lang.ecmascript ?
--
Jorge.
From: Andrew Poulos on
On 28/04/2010 7:59 PM, John G Harris wrote:
> On Wed, 28 Apr 2010 at 04:43:19, in comp.lang.javascript, Thomas
> 'PointedEars' Lahn wrote:
>
>> <http://PointedEars.de/es-matrix>
>
> I had to rescue IE8 with Ctl|Alt|Del to get out of this page. What have
> you done ? What is object.js ?

IE 8 on Vista warns that

Not implemented
object.js, line 308 character 7

Andrew Poulosnnnn