Click here to Skip to main content
15,914,071 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: How to trigger the onclick in ASP.Net? Pin
hifiger200418-Jul-07 8:11
hifiger200418-Jul-07 8:11 
GeneralRe: How to trigger the onclick in ASP.Net? Pin
Fred_Smith18-Jul-07 9:38
Fred_Smith18-Jul-07 9:38 
QuestionCSS MENU not working on IE6 but works on IE7/FireFox [modified] Pin
Fayu18-Jul-07 5:56
Fayu18-Jul-07 5:56 
AnswerHere is the CSS Pin
Fayu18-Jul-07 6:03
Fayu18-Jul-07 6:03 
AnswerHere is the HTML Pin
Fayu18-Jul-07 6:03
Fayu18-Jul-07 6:03 
AnswerRe: CSS MENU not working on IE6 but works on IE7/FireFox Pin
Guffa19-Jul-07 6:00
Guffa19-Jul-07 6:00 
GeneralRe: Here is the HTML Pin
#realJSOP27-Jul-07 3:19
professional#realJSOP27-Jul-07 3:19 
QuestionHOW - Not using Built-in ASP.Net ImageMap control? Pin
hifiger200418-Jul-07 1:47
hifiger200418-Jul-07 1:47 
Hi Guys,

I have an ASP.Net code below that will display the image map on the page. But I don't know if how to trigger the click button of the hotspots.

I dont' know if what's wrong with my source code.

Please refer to my ASP.Net code below. Thanks in advance



<%@ Page Language="VB" AutoEventWireup="true" CodeFile="Default.aspx.vb" Inherits="_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>Untitled Page</title>
<script language="vbscript" type="text/vbscript">
<!--

sub passvalue(stmp as string)
textbox1.text = stmp
end sub

// -->
</script>
</head>
<body>
<form id="form1" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server" />
<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
<div>
&nbsp;<asp:ImageMap ID="ImageMap1" runat="server" BorderStyle="Solid"
GenerateEmptyAlternateText="True" HotSpotMode="Navigate" ImageAlign="Left" ImageUrl="~/beaumontpic1.JPG" DescriptionUrl="~/Default.aspx">
<asp:CircleHotSpot HotSpotMode="PostBack" PostBackValue="1" X="170" Y="180" NavigateUrl="~/Default.aspx" Radius="5" />
<asp:CircleHotSpot HotSpotMode="PostBack" PostBackValue="2" Radius="5" X="253" Y="49" />
</asp:ImageMap>
</div>
<img src="images/203-480.jpg" width="463" height="476" border="0" alt="" usemap="#id203_480_Map" id="IMG1" />
<map name="id203_480_Map">
<area shape="rect" alt="" coords="398,270,441,292" href="" onclick="passvalue('100')"/>
<area shape="rect" alt="" coords="398,147,433,169" href="" onclick="passvalue('110')"/>
<area shape="rect" alt="" coords="398,26,455,57" href="" onclick="passvalue('120')"/>
</map>

</form>
</body>
</html>


hifiger2004
Questionregistry Pin
V.17-Jul-07 23:42
professionalV.17-Jul-07 23:42 
AnswerRe: registry Pin
WoutL18-Jul-07 3:59
WoutL18-Jul-07 3:59 
GeneralRe: registry Pin
V.18-Jul-07 4:23
professionalV.18-Jul-07 4:23 
GeneralRe: registry Pin
WoutL18-Jul-07 20:03
WoutL18-Jul-07 20:03 
GeneralRe: registry Pin
V.18-Jul-07 20:26
professionalV.18-Jul-07 20:26 
Questionhelp me in creating a web page using asp/vbscript [modified] Pin
Babru17-Jul-07 22:27
Babru17-Jul-07 22:27 
AnswerRe: help me in creating a web page using asp/vbscript Pin
sathesh pandian19-Jul-07 20:51
sathesh pandian19-Jul-07 20:51 
GeneralRe: help me in creating a web page using asp/vbscript Pin
Babru23-Jul-07 0:25
Babru23-Jul-07 0:25 
QuestionFile IO Pin
L Viljoen17-Jul-07 21:22
professionalL Viljoen17-Jul-07 21:22 
AnswerRe: File IO Pin
Guffa17-Jul-07 22:12
Guffa17-Jul-07 22:12 
AnswerRe: File IO Pin
Eduard Keilholz18-Jul-07 1:47
Eduard Keilholz18-Jul-07 1:47 
Questionpage refresh Pin
Tauseef A17-Jul-07 19:59
Tauseef A17-Jul-07 19:59 
AnswerRe: page refresh Pin
SHatchard17-Jul-07 21:38
SHatchard17-Jul-07 21:38 
QuestionRe: page refresh Pin
Tauseef A17-Jul-07 23:35
Tauseef A17-Jul-07 23:35 
AnswerRe: page refresh Pin
magnifique18-Jul-07 1:36
magnifique18-Jul-07 1:36 
QuestionRe: page refresh Pin
Tauseef A18-Jul-07 17:33
Tauseef A18-Jul-07 17:33 
AnswerRe: page refresh Pin
Sathesh Sakthivel18-Jul-07 17:49
Sathesh Sakthivel18-Jul-07 17:49 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.