首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > asp.net >

在图片上设置热区,是不是设置错了啊第一次!

2012-05-08 
在图片上设置热区,是不是设置错了啊,第一次!?求救!?html xmlnshttp://www.w3.org/1999/xhtmlhead ru

在图片上设置热区,是不是设置错了啊,第一次!?求救!?
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
  <title>高校来了——网站首页</title>
  <style type="text/css">
  #form1
  {
  width: 1082px;
  height: 191px;
  }
  </style>
</head>
<body>
  <form id="form1" runat="server">  
  <asp:ImageMap ID="ImageMap1" runat="server" Height="168px" Width="196px" 
  DescriptionUrl="~/WelcomePage/login_dlsy.aspx" ImageUrl="~/Images/111.jpg" >
  <asp:RectangleHotSpot Bottom="100" HotSpotMode="Navigate" Left="100" 
  NavigateUrl="~/WelcomePage/login_dlsy.aspx" Right="100" Target="_self" 
  Top="100" />
  </asp:ImageMap>
  <asp:Image ID="Image1" runat="server" Width="213px" />
  
  </form>
</body>
</html>

点击之后没有链接到,?为什么呢?!

[解决办法]
表示不会用图片热区,宁愿用绝对定位使用图名图片来达到这种效果。。。
[解决办法]

探讨
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>高校来了——网站首页</title>
<style type="text/css">
#form1
{
width: 1082px;
heigh……

热点排行