asp.net4.5练习~test4-4

webform1.aspx

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="test4_4.WebForm1" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:ImageMap ID="ImageMap1" runat="server" ImageUrl="~/image/banner.jpg">
            <asp:RectangleHotSpot Bottom="26" NavigateUrl="http://www.baidu.com" Right="69"/>
            <asp:RectangleHotSpot Bottom="26" Left="71" Right="141" NavigateUrl="http://www.163.com" />
            <asp:RectangleHotSpot Bottom="26" Left="142" Right="212" NavigateUrl="http://www.sogou.com" />
            <asp:RectangleHotSpot Bottom="26" Left="213"  Right="283" NavigateUrl="http://www.taobao.com" />
            <asp:RectangleHotSpot Bottom="26" Left="285" Right="355" NavigateUrl="http://www.sina.com" />
            <asp:RectangleHotSpot Bottom="26" Left="357" Right="428" NavigateUrl="http://www.qq.com" />
        </asp:ImageMap>
        
    </div>
    </form>
</body>
</html>

猜你喜欢

转载自blog.csdn.net/modern358/article/details/114143426
今日推荐