There is a comma missing between left and top.

Robert B. Harrison
Director of Interactive services
Austin & Williams
125 Kennedy Drive, Suite 100 Hauppauge NY 11788
T : 631.231.6600 Ext. 119 
F : 631.434.7022
www.austin-williams.com

Great advertising can't be either/or... It must be &.
-----Original Message-----
From: Steve LaBadie [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, August 21, 2007 2:19 PM
To: CF-Talk
Subject: OT: Javascript MouseOver

I have created a mouse over effect and it works fine.  The only problem
I am having is that the top= in the below example does not work in
Firefox.  Are there any ideas to resolve this issue? The window stay at
the top instead of coming down 350px.

 

 

Code:

<script type="text/javascript">
<!-- 
function openWindow(url, name) {
myWin = window.open("","", "width=200,height=100,left=450 top=350");
myWin.document.write ("<body><font style='font-size: 11px; font-family:
verdana;'>Blah Blah Blah.</font>");
myWin.document.write ("</body></html>");
myWin.document.close();
}
function closeIt() {
if (!myWin.closed)
myWin.self.close()
}
//-->
</script>

 

 

Calling Link:

<a href="https://ssl.esu.edu/1card/"; target="_blank"
onMouseOver="openWindow()" onMouseOut="closeIt()" onClick="return
false">Link</a>

 

 

Steve LaBadie, Web Manager
East Stroudsburg University
200 Prospect St.
East Stroudsburg, Pa 18301
570-422-3999
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> 
http://www.esu.edu <http://www3.esu.edu> 

 





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create robust enterprise, web RIAs.
Upgrade to ColdFusion 8 and integrate with Adobe Flex
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:286740
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to