[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: onMouseOver sucks!

Before you go complaining that onMouseOver sucks, lets have a little look at your code, eh?  When you created your 'control' window, did you assign it the following???

control.creator = self

It looks to me like you're trying to call 'top.status' without telling Javascript what exactly 'top' is.

Take a look at the Javascript FAQ at JavaScript 411:

Andy Augustine
From: 	Konrad Kim[SMTP:KRad@spacelab.net]
Sent: 	Wednesday, February 21, 1996 1:41 AM
To: 	javascript@obscure.org
Subject: 	onMouseOver sucks!

because it never does what I want it to do namely:

Is it possible to do a mouse over event to the status bar in ANOTHER window?

I have my windows settup so that the "main" window spawns another "control"
window. Thus a mouseover in the "control" window should put a msg in the
status bar of the "main" window. But this is not the case as it produces it
in the status bar of the "control" window. Here is the code contained in
the control window:

<A HREF="navibar2.htm" onMouseOver="top.status='Stop Annoying me!'; return
true" ><IMG WIDTH=134 HEIGHT=100  SRC="testmo3.gif"></A>

So what is wrong? Is what I am proposing not possible?

This message came from the mailing list javascript. For help using the
mailing list software, please send a message to 'majordomo@obscure.org'
with the message body 'help'. To unsubscribe, send a message to
'majordomo@obscure.org' with the message body 'unsubscribe javascript'.