G
Guest
I have an area setup
<map name="linkmap"><area shape=RECT coords="0,0,135,15" href='<%=LinkDestination1 %>' ><area shape=RECT coords=150,0,285,15 href="<%=LinkDestination2 %>" ><area shape=RECT coords=303,0,394,15 ??? ></map><img src='<%=FullHead %>' border=0 usemap="#linkmap"
Where in VB
FullHead = Me.Request.ApplicationPath + "\images\AdministratorHead.png
LinkDestination1 = Me.Request.ApplicationPath + "\Administration\AdministratorReport.aspx
LinkDestination2 = Me.Request.ApplicationPath + "\Administration\Administrator.aspx
Now what I want is when the 3rd AREA is clicked (303,0,394,15), that a sub in the VB codebehind run on the server. I tried
onclick="<% GetDoc() %>" and it executes GetDoc when the page is loaded but does not make this 3rd area clickable
I thought about just making a button (I really don't want to do that) but this is in my header and not within a form so it won't let me use a button
Any ideas???
<map name="linkmap"><area shape=RECT coords="0,0,135,15" href='<%=LinkDestination1 %>' ><area shape=RECT coords=150,0,285,15 href="<%=LinkDestination2 %>" ><area shape=RECT coords=303,0,394,15 ??? ></map><img src='<%=FullHead %>' border=0 usemap="#linkmap"
Where in VB
FullHead = Me.Request.ApplicationPath + "\images\AdministratorHead.png
LinkDestination1 = Me.Request.ApplicationPath + "\Administration\AdministratorReport.aspx
LinkDestination2 = Me.Request.ApplicationPath + "\Administration\Administrator.aspx
Now what I want is when the 3rd AREA is clicked (303,0,394,15), that a sub in the VB codebehind run on the server. I tried
onclick="<% GetDoc() %>" and it executes GetDoc when the page is loaded but does not make this 3rd area clickable
I thought about just making a button (I really don't want to do that) but this is in my header and not within a form so it won't let me use a button
Any ideas???