Internet Locations in VBScript


Menu

The only problem with using this method for web page location changes is that there does not appear to be an option to open a new location in its own web page. Atleast I have not as yet found an appropriate method for the navigate method. Thus the hijacking of vendors web pages into my frames structure is not intentional.

<HEAD>

<TITLE>Locations</TITLE>

<SCRIPT LANGUAGE="VBSCRIPT">
<!--
	Sub btnMicrosoft_onclick
		navigate("http://www.microsoft.com")
	End Sub
	
	Sub btnApple_onclick
		navigate("http://www.apple.com")
	End Sub
	
	Sub btnAmericaOnline_onclick
		navigate("http://www.aol.com")
	End Sub
-->
</SCRIPT>

</HEAD>

<BODY>

<A HREF="../vbscript.html">VBScript Index</A><BR><BR>

<FORM><B>Menu</B>
	<INPUT TYPE=BUTTON ID="btnMicrosoft" VALUE="Microsoft">
	<INPUT TYPE=BUTTON ID="btnApple" VALUE="Apple">
	<INPUT TYPE=BUTTON ID="btnAmericaOnline" VALUE="America Online">
</FORM>