Ambrrose
04-29-2003, 05:33 AM
how can I determine exact desried position of the pop up window?
thanks
thanks
|
Click to See Complete Forum and Search --> : position of a pop up window Ambrrose 04-29-2003, 05:33 AM how can I determine exact desried position of the pop up window? thanks gil davis 04-29-2003, 06:10 AM You should rephrase your question. Whose desire is it that you are trying to satisfy? Charles 04-29-2003, 06:28 AM <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <meta name="Content-Script-Type" content="text/javascript"> <script type="text/javascript"> <!-- function openWin (href) { if (!confirm ('Would you like a child window?')) return true; var x = prompt ('How many pixels down from the top of the screen would you like the child window to start?', 10); var y = prompt ('How many pixels from the left of the screen would you like the child window to start?', 10); var param = 'height=400,width=300,scrollbars'; param += ',screenX=' + x; param += ',left=' + x; param += ',screenY=' + y; param += ',top=' + y; window.open (href, 'child', param); return false; } // --> </script> <div><a href="http://www.w3.org/" onclick="return openWin(this.href)">W3C</a></div> webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |