Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Javascript] Re: DHTML Menu
- From: javascript@xxxxxxxxxx (phumes1)
- Subject: [Javascript] Re: DHTML Menu
- Date: Thu, 18 Apr 2002 09:15:35 -0400
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@xxxxxxxxxx phil.humeniuk@xxxxxxxxxx +------------------------------------------------------------------------------------+
- Follow-Ups:
- [Javascript] Re: DHTML Menu
- From: Rodney Myers
- [Javascript] Re: DHTML Menu
- Prev by Date: [Javascript] how to break away from a frame.
- Next by Date: [Javascript] Re: DHTML Menu
- Previous by thread: [Javascript] how to break away from a frame.
- Next by thread: [Javascript] Re: DHTML Menu
- Index(es):