<img src="images/tommotalks.gif" alt="View Tommo's match report"
name="tommo" width="140" height="30" border="0" align="absmiddle"
onMouseOver="openWindow()"
onMouseOut="window.close('tom')">


function openWindow()
{
     var tom = MM_openBrWindow('/reports/matchreport' + #match_id# +
'.htm','tom','width=550,height=600,scrollbars=yes,top=200,left=350');
}

try that now.  you might need to declare the variable outwith the function
(i.e. make it global) first.


Duncan Cumming
IT Manager

http://www.alienationdesign.co.uk
mailto:[EMAIL PROTECTED]
Tel: 0141 575 9700
Fax: 0141 575 9600

Creative solutions in a technical world

----------------------------------------------------------------------
Get your domain names online from:
http://www.alienationdomains.co.uk
Reseller options available!
----------------------------------------------------------------------
----------------------------------------------------------------------


                                                                                       
                                
                    "Lovelock,                                                         
                                
                    Richard J"               To:     "'cflist'" <[EMAIL PROTECTED]>    
                      
                    <richard.lovelock        cc:                                       
                                
                    @cgey.com>               Subject:     [ cf-dev ] window.close      
                                
                                                                                       
                                
                    26/11/2003 10:14                                                   
                                
                    Please respond to                                                  
                                
                    dev                                                                
                                
                                                                                       
                                
                                                                                       
                                



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