| |
rahul27
Posts: 19
Score: 0
Joined: 5/23/2001
From: India
Status: offline
|
Here is an example of both js and vbs ways (exactly the same) <html> <script language = "vbscript"> sub vbsSwitch(page) top.location.href = page end sub </script> <script language = "javascript"> function jsSwitch(page){ top.location.href = page } </script> <body> <input type=button value="VBS Switch" onClick="vbsSwitch('test2.html')"> <input type=button value="JS Switch" onClick="jsSwitch('test3.html')"> </body> </html>
|
|