Try this instead....
http://wp.netscape.com/eng/mozilla/3.0/handbook/javascript/ref_a-c.htm#64288

I know its Nutscrape and all that, but generally its a pretty robust reference, plus the O'Reilly Rhino agrees....

Stephen

Lovelock, Richard J wrote:
Stephen

http://docserver.userland.com/window/close suggests otherwise??

_______________________________________________________
* Regards, Richard Lovelock Westminster City Council - Web Support
Cap Gemini Ernst & Young
Southbank
95 Wandsworth Road
London SW8 2HG ( 0870 906 7482
_______________________________________________________



-----Original Message----- From: Stephen Moretti [mailto:[EMAIL PROTECTED] Sent: 26 November 2003 10:23 To: [EMAIL PROTECTED] Subject: Re: [ cf-dev ] window.close


windows.close() doesn't take any attributes in the function for window name.


Grasping at straws..... Try tom.close() instead.

Stephen


Lovelock, Richard J wrote:


Morning all

I am trying to open a pop-up window using onMouseOver of an image then

close


the poped-up window with onMouseOut.

Window pop-up fine but when 'mousing-out' it prompts whether i want to

close


window and if you select yes it closes the window underneath not the

popped


up one. Code is below. What am I doing wrong?

<img src="images/tommotalks.gif" alt="View Tommo's match report"
name="tommo" width="140" height="30" border="0" align="absmiddle"
onMouseOver="MM_openBrWindow('/reports/matchreport' + #match_id# +
'.htm','tom','width=550,height=600,scrollbars=yes,top=200,left=350')"
onMouseOut="window.close('tom')">

You can see it below at http://fclounge.cfdeveloper.co.uk/matchreport.cfm?match_id=11


<http://fclounge.cfdeveloper.co.uk/matchreport.cfm?match_id=11&Allplayers=ye


s> &Allplayers=yes
on the Tommo Talks button

_______________________________________________________<?xml:namespace
prefix = o ns = "urn:schemas-microsoft-com:office:office" />

* Regards, Richard Lovelock

Westminster City Council - Web Support
Cap Gemini Ernst & Young
Southbank
95 Wandsworth Road
London SW8 2HG


( 0870 906 7482

_______________________________________________________




======================================================= This message contains information that may be privileged or confidential

and is the property of the Cap Gemini Ernst & Young Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorised to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.

=======================================================





-- ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]



Reply via email to