| |
adminkoe
Posts: 117
Score: 0
Joined: 12/23/2000
From:
Status: offline
|
Hi Dean, We meet again:). Both VBScript and Jscript have almost exactly same ways to access properties, methods and events of a browser. Here is a sample code for you: <HTML> <HEAD> <SCRIPT LANGUAGE="VBSCRIPT"> intWide = window.screen.width intHigh = window.screen.height Sub maximize window.moveTo 0,0 window.resizeTo intwide,inthigh End Sub Sub minimize window.moveTo 0,0 window.resizeTo 0,0 End Sub </SCRIPT> </HEAD> <BODY> <input type=button value="Maximize Me!" onClick="vbscript:maximize"><input type=button value="Miimize Me!" onClick="vbscript:minimize"> </BODY> </HTML> Regards, Andi Zain
|
|