<%@ Page Language=VB Debug=true %>
<script runat=server>
Sub Page_Load(ByVal Sender as Object, ByVal E as EventArgs)
imgMyImage.AlternateText = "Hover Text"
imgMyImage.ImageUrl = "http://www.java2java.com/style/logo.png"
End Sub
</SCRIPT>
<HTML>
<HEAD>
<TITLE>HyperLink and Images Sample Page</TITLE>
</HEAD>
<BODY>
<form runat="server">
<Font Face="Tahoma" Size="+1">
<asp:HyperLink
id="hyp1"
runat="server"
Text="Click to go to www.java2java.com"
Target="New"
NavigateURL="http://www.java2java.com"
/>
<asp:HyperLink
id="hyp2"
runat="server"
Text="Click to go to Google"
ImageURL="http://www.java2java.com/style/logo.png"
Target="New"
NavigateURL="http://www.google.com"
/>
<BR><BR>
<asp:Image
id="imgMyImage"
runat="server"
/>
</Font>
</Form>
</BODY>
</HTML>
|