[Javascript] Re: DHTML Menu
phumes1
phumes1 at rogers.com
Thu Apr 18 08:15:35 CDT 2002
Hi,
I'm using the DHTML menu
(http://www.webreference.com/dhtml/hiermenus/latest/)on my page and would
like the popup window to automatically center on the screen.
How can I incorporate the "top" and "left" within the code in my
"hm_arrays" file?
The below code doesn't center the popup window yet I get no JS errors?
["E<nable","javascript:window.open('admin/accounts/enable.cfm','','toolbar=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,top=(screen.height-h)/2,left=(screen.width-w)/2,width=280,height=130')",1,0,0],
+-----------------------------------------------------------------------------------+
Philip Humeniuk
phumes1 at rogers.com
phil.humeniuk at rogers.com
+------------------------------------------------------------------------------------+
More information about the Javascript
mailing list