|
-
Aug 24th, 2004, 08:30 PM
#1
Thread Starter
Member
Specify Popup LEFT And TOP window Position
<SCRIPT language="JavaScript">
<!-- Hide the script from old browsers --
function surfto(form) {
var myindex=form.dest.selectedIndex
window.open(form.dest.options[myindex].value,"main","height=500,width=500,location=no," + "scrollbars=no,menubars=no,toolbars=no,resizable=yes");
}
//-->
</SCRIPT>
this is my coding for drop down popup menu...
it only specify the width and the height of my popup window!
ANYONE CAN HELP ME ADD EXTRA LINE INSIDE THE CODE TO SPECIFY THE LEFT AND TOP OF THE POPUP PAGE?
IT LOOKS SOMETHING LIKE THIS...
",left=" + l + ",top=" + t + "
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|