Open the window freely according to the attributes you have filled

Source: Internet
Author: User
Tip: You can modify some of the code before running

<ptml> <pead> <title> According to the properties of their own to open the window </title> <style type= "Text/css" > <!--body { Font-family: "The song Body"; font-size:9pt; margin-top:0px; margin-left:0px; margin-right:0px} A {color:black; font-size:9pt; font-weight:400; Text-decoration:none} a:hover {color:red; font-size:9pt; font-weight:400; Text-decoration:underline} a:active {font:9pt "song body"; Cursor:hand color: #FF0033}--> </style> <meta http-equiv= "Content-type" content= "text/html; charset=gb2312 "> </pead> <body> <br> <br> <center><font color=red face=" Official script "size=6 > freely open various Windows </font></center> <br> <br><center> <table border=0 bordercolor=blue Borderlight=green cellpadding= "0" cellspacing= "0" > <tr><td align=center><font size=5, color=red face = "Arial, Helvetica, Sans-serif" ><strong> the script display area </strong></font></td></tr> in the box below &LT;TR&GT;&LT;TD Align=center WidtH=460><script language= "JAVASCRIPT" > <!--hide function Customize (form) {var address = Document.form1.url.value; var Op_tool = (document.form1.tool.checked== true)? 1:0; var Op_loc_box = (document.form1.loc_box.checked = = True)? 1:0; var Op_dir = (document.form1.dir.checked = = True)? 1:0; var Op_stat = (document.form1.stat.checked = = True)? 1:0; var Op_menu = (document.form1.menu.checked = = True)? 1:0; var Op_scroll = (document.form1.scroll.checked = = True)? 1:0; var op_resize = (document.form1.resize.checked = = True)? 1:0; var op_wid = Document.form1.wid.value; var op_heigh = Document.form1.heigh.value; var option = "Toolbar=" + Op_tool + ", location=" + Op_loc_box + ", directories=" + Op_dir + ", status=" + op_stat + ", menubar=" + Op_menu + ", scrollbars=" + Op_scroll + ", res Izeable= "+ op_resize +", width= "+ Op_wid +", height= "+ op_h" Eigh; var win3 = window.open ("", "what_i_want", option); var win4 = window.open (address, "what_i_want"); function clear (form) {document.form1.wid.value= ""; Document.form1.heigh.value= ""; //Done hiding--> </script> <form name= "Form1" action= "javascript:" method= "POST" > <div align= "Left" > <table width= "100%" border= "0" cellspacing= "0" cellpadding= "0" > &LT;TR align= "center" > <td colspan= "4" height= "All" > URL: <input type= "text" size= "name=" url "value=" http://"> </td&gt ; </tr> &LT;TR align= "center" > <td width= "25%" height= ">" <input type= "checkbox" name= "Tool" value= "on" >: Shortcut Keys </td> &LT;TD width= "25%" height= "> <input type=" checkbox "Name=" Loc_box "V Alue= "On" >: Address bar </td> <td width= "25%" height= "+" > <input type= "checkbox" Name= "dir" value= "on" >: Link </td& Gt &LT;TD width= "25%" height= "> <input type=" checkbox "name=" stat "value=" on "> : Status bar </td> </tr> <tr align= "Center" & Gt &LT;TD width= "25%" height= "> <input type=" CheckBox "Name=" resize "value=" on ">: Resizing </td> <td width=" 25 % "height=" > <input type= "checkbox" name= "scroll" value= "on" > : scroll bar </td> <td width= "25%" height= "> <in" Put type= "checkbox" name= "menu" value= "on" >: Menu </td> TD width= "25%" height= "> </td> </tr> <tr align=" cent Er "> <td colspan=" 2 "height=" a "> <input type=" text "n Ame= "wid" size= ">: Width </td> <td colspan=" 2 "height=" 25 "> <input type=" text "name=" Heigh "size=" ">: High </td > </tr> <tr align= "center" > <td colspan= "4" height= "2 5 "> <input type=" button "size=" "value=" Confirmation "onclick=" Customize (this.form) "Name=" butt On "> <input type=" reset "size=" value= "refill" onclick= "clear (this.form)" Name= "Reset" ; </td> </tr> </table> </div> </form> </td></tr></table></center> <br> <br> <center> &nbsp ; <script language= "JavaScript" > <!--hide function gohist (a) {history.go (a); }//--> </script></center> <br> <br> </body> </ptml>
Tip: You can modify some of the code before running

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.