Scripting language application

xiaoxiao2021-03-06  98

Var newwin = null;

Function newwin (URL, Name, XPOS, YPOS, Width, Height) {newwin = window.open (URL, Name, "Screenx =" XPOS ", Screeny =" YPOS ", width =" width ", Height = " Height ", Location = 0, Resizable = 1, Status = No, Titlebar = 1, Directories = 0, Toolbar = 0, MenuBar = 0, Scrollbars = 1, Status = 0 "); // newwin.moveto (xpos , ypos; newwin.focus ();

function NewFullScreenWin (url, name) {newWin = window.open (url, name, 'status = no, toolbar = no, menubar = no, location = no, channelmode = no, directories = no, resizable = yes, scrollbars = yes ') //Newwin.moveto (0, 0); //newwwin.resizeto(Screen.width ,screen.Height-25); newwin.focus ();

Function NewTalkWin (URL, Name, Width, Height) {newwin = window.open (URL, Name, 'status = no, toolbar = no, menubar = no, location = no, channelmode = no, directories = no, resizable = yes Scrollbars = 1 ') newwin.moveto (Screen.Width / 2-Width / 2, Screen.height / 2-height / 2); newwin.resizeto (width, height); newwin.focus ();

Function addddlTextTotxt (DDLID, TXTID) {if (Document.all (DDLID) .Options [Document.all (DDLID) .Selected "=" Please select ... ") {document.all (txtID) .value = Document.all (txtid) .Value Document.all (DDLID) .Options [Document.all (DDLID) .Selected Index] .text;}}

Function maxwin () {try {var b = top.screenleft == 0; var b = b && Top.screen.availheight - top.screentop - top.body.offsetHeight - 20 == 0; if (! b) {var Str = '' Str = ' '; document. Body.insertAdjacenthtml ("beforeend", str); document.getlementByid ("max"). click ();}} catch (e) {}} function closewin ()}} Function Closewin () {WINDOW.OPENER = NULL; window.close (); }

Function alertmsg (msg) {alert (msg);

Function WaringMessage (MSG, Outputmeg) {var retval = window.confirm (msg); if (retval) {closewin ();} else {document.write (outputmeg);}}

Function setWintitle (msg) {document.title = msg;}

Function selectallcheckbox (foreclose) {for (var i = 0; i

Function reloadpage (minute) {var timeesecond = minute * 1000 * 60 window.settimeout ("location.Reload ()", TIMESECOND);}

转载请注明原文地址:https://www.9cbs.com/read-100062.html

New Post(0)
CopyRight © 2020 All Rights Reserved
Processed: 0.041, SQL: 9