|
Re: How to put an image map into an ascx page?: msg#00161windows.devel.dotnet.web
or if your using asp.net 2.0 there is now a new imagemap control ----- Original Message ----- From: "Stacey Levine" <staceyl@xxxxxxxxxxxxxxxxx> To: <DOTNET-WEB@xxxxxxxxxxxxxxxxxxx> Sent: Thursday, June 30, 2005 12:27 PM Subject: Re: [DOTNET-WEB] How to put an image map into an ascx page? When I used the ASP image tag I get the error message " Could not find any attribute 'USEMAP' of element 'Image'. " -----Original Message----- From: Discussion of building .NET applications targeted for the Web [mailto:DOTNET-WEB@xxxxxxxxxxxxxxxxxxx] On Behalf Of Jeff B Sent: Thursday, June 30, 2005 9:40 AM To: DOTNET-WEB@xxxxxxxxxxxxxxxxxxx Subject: Re: [DOTNET-WEB] How to put an image map into an ascx page? This is exactly what I use on our site. This can be viewed at http://www.aaonnet.com/RepSearch.aspx <asp:Image ID="imgUSMap" Runat="server" ImageUrl="images/Photos/usmap.gif" USEMAP="#usmap_Map"></asp:Image> <MAP NAME="usmap_Map"> <AREA SHAPE="poly" ALT="International" COORDS="380,347, 473,347, 473,366, 380,366" HREF="RepSearch.aspx?SearchArea=International"> <AREA SHAPE="poly" ALT="Hawaii" COORDS="219,378, 222,375, 224,373, 229,373, 231,369, 231,366, 230,365, 230,361, 225,358, 225,355, 212,349, 208,340, 209,337, 208,336, 208,333, 206,331, 201,329, 198,328, 197,328, 196,325, 192,322, 188,323, 185,323, 182,323, 181,319, 174,314, 172,314, 171,316, 169,316, 154,310, 152,308, 152,302, 145,303, 145,304, 143,305, 143,307, 138,308, 134,309, 136,311, 139,309, 143,307, 150,314, 152,313, 155,311, 169,316, 171,321, 171,324, 174,324, 176,326, 181,326, 182,324, 185,323, 185,327, 177,337, 167,337, 167,346, 178,346, 178,337, 186,327, 190,328, 191,329, 188,330, 189,334, 192,335, 194,334, 195,331, 196,331, 196,334, 200,336, 200,339, 203,340, 206,342, 208,341, 211,349, 210,351, 209,356, 207,359, 207,363, 210,369, 210,374, 213,375, 215,376, 216,378" HREF="RepSearch.aspx?SearchArea=HI"> <AREA SHAPE="poly" ALT="Alaska" COORDS="48,278, 43,277, 40,277, 37,278, 29,287, 25,287, 24,290, 33,299, 32,301, 28,299, 23,299, 19,302, 18,304, 20,304, 22,310, 27,313, 26,318, 22,318, 21,321, 21,324, 22,325, 23,325, 23,328, 17,328, 17,330, 23,332, 27,332, 28,333, 29,338, 33,339, 35,342, 39,342, 39,344, 36,344, 34,347, 24,352, 20,354, 11,361, 12,363, 14,363, 30,352, 34,352, 36,354, 38,355, 52,342, 53,337, 55,336, 58,337, 62,337, 67,331, 75,334, 83,335, 92,341, 101,351, 106,351, 109,349, 108,345, 103,342, 90,324, 86,329, 81,325, 80,324, 74,289, 69,281, 52,280" HREF="RepSearch.aspx?SearchArea=AK"> <AREA SHAPE="poly" ALT="California" COORDS="54,121, 54,131, 52,136, 49,137, 49,144, 50,159, 54,165, 55,172, 58,175, 60,176, 64,176, 64,181, 61,180, 61,177, 57,177, 57,183, 61,191, 65,194, 66,198, 63,201, 63,205, 66,207, 67,211, 67,214, 69,218, 71,219, 71,224, 72,226, 79,231, 83,232, 98,245, 105,254, 105,257, 109,258, 111,261, 132,261, 137,254, 135,252, 135,248, 139,243, 140,240, 136,239, 137,231, 88,172, 93,131" HREF="RepSearch.aspx?SearchArea=CA"> <AREA SHAPE="poly" ALT="Nevada" COORDS="93,131, 88,172, 137,231, 139,229, 137,226, 137,223, 140,220, 143,222, 143,207, 149,135, 113,135" HREF="RepSearch.aspx?SearchArea=NV"> <AREA SHAPE="poly" ALT="Oregon" COORDS="75,66, 69,66, 67,72, 66,83, 62,84, 60,92, 54,106, 54,121, 113,135, 126,135, 129,102, 124,99, 125,95, 132,93, 138,83, 136,77, 82,77, 81,71" HREF="RepSearch.aspx?SearchArea=OR"> <AREA SHAPE="poly" ALT="Washington" COORDS="137,37, 125,37, 114,36, 90,30, 91,32, 92,36, 90,37, 90,39, 92,41, 88,45, 89,41, 84,38, 82,38, 80,38, 73,36, 71,32, 67,32, 67,36, 70,42, 70,43, 71,43, 71,58, 70,58, 70,63, 74,64, 74,65, 81,71, 82,77, 91,77, 136,77, 138,37" HREF="RepSearch.aspx?SearchArea=WA"> <AREA SHAPE="poly" ALT="Idaho" COORDS="148,135, 126,135, 129,102, 125,100, 125,96, 132,93, 133,91, 138,83, 136,78, 138,37, 148,37, 148,50, 151,54, 150,56, 157,64, 155,80, 157,82, 161,79, 165,100, 173,108, 180,105, 182,107, 184,107, 182,135" HREF="RepSearch.aspx?SearchArea=ID"> <AREA SHAPE="poly" ALT="Utah" COORDS="143,208, 149,135, 182,135, 181,154, 202,155, 198,210, 143,210" HREF="RepSearch.aspx?SearchArea=UT"> <AREA SHAPE="poly" ALT="Arizona" COORDS="197,210, 143,210, 143,222, 140,220, 137,224, 137,226, 139,229, 137,230, 136,239, 140,240, 139,243, 135,248, 135,252, 137,254, 132,260, 171,290, 193,291, 198,211" HREF="RepSearch.aspx?SearchArea=AZ"> <AREA SHAPE="poly" ALT="New Mexico" COORDS="198,211, 193,291, 201,290, 205,286, 225,286, 220,278, 220,276, 263,276, 263,210" HREF="RepSearch.aspx?SearchArea=NM"> <AREA SHAPE="poly" ALT="Colorado" COORDS="202,155, 198,210, 271,210, 271,157" HREF="RepSearch.aspx?SearchArea=CO"> <AREA SHAPE="poly" ALT="Wyoming" COORDS="184,108, 182,135, 181,154, 252,158, 251,103, 184,101" HREF="RepSearch.aspx?SearchArea=WY"> <AREA SHAPE="poly" ALT="Montana" COORDS="251,47, 148,37, 148,51, 151,54, 150,56, 157,64, 155,80, 157,82, 161,79, 165,100, 173,108, 178,106, 180,105, 182,107, 184,107, 184,101, 251,103" HREF="RepSearch.aspx?SearchArea=MT"> <AREA SHAPE="poly" ALT="Puerto Rico" COORDS="529,248, 588,248, 588,287, 529,287" HREF="RepSearch.aspx?SearchArea=PR"> <AREA SHAPE="poly" ALT="Canada" COORDS="245,14, 324,14, 324,34, 245,34, 246,14" HREF="RepSearch.aspx?SearchArea=Canada"> <AREA SHAPE="poly" ALT="North Dakota" COORDS="251,87, 251,47, 318,47, 319,61, 322,80, 322,88, 251,88" HREF="RepSearch.aspx?SearchArea=ND"> <AREA SHAPE="poly" ALT="South Dakota" COORDS="251,127, 251,88, 322,88, 322,91, 319,94, 325,98, 324,119, 322,121, 325,125, 322,127, 324,131, 320,130, 318,132, 315,130, 312,132, 305,127" HREF="RepSearch.aspx?SearchArea=SD"> <AREA SHAPE="poly" ALT="Nebraska" COORDS="271,165, 271,157, 252,157, 252,127, 305,127, 312,132, 315,130, 318,132, 320,130, 325,131, 328,138, 328,141, 331,147, 332,152, 336,158, 336,162, 340,167, 271,167" HREF="RepSearch.aspx?SearchArea=NE"> <AREA SHAPE="poly" ALT="Kansas" COORDS="271,210, 271,167, 340,167, 344,174, 346,173, 349,175, 349,176, 346,178, 346,180, 350,186, 350,210" HREF="RepSearch.aspx?SearchArea=KS"> <AREA SHAPE="poly" ALT="Missouri" COORDS="336,159, 336,162, 344,174, 346,173, 349,175, 349,176, 346,178, 346,180, 350,185, 351,213, 381,213, 383,212, 396,212, 397,215, 395,215, 397,217, 400,217, 407,202, 407,200, 402,197, 403,194, 393,182, 393,181, 395,176, 391,174, 388,175, 379,167, 378,163, 380,162, 380,159, 377,158, 337,158" HREF="RepSearch.aspx?SearchArea=MO"> <AREA SHAPE="poly" ALT="Iowa" COORDS="324,119, 322,121, 324,123, 325,125, 322,127, 328,138, 328,141, 331,146, 332,153, 336,158, 377,158, 380,159, 380,156, 383,154, 384,145, 391,140, 391,135, 387,134, 383,128, 381,128, 379,126, 379,118" HREF="RepSearch.aspx?SearchArea=IA"> <AREA SHAPE="poly" ALT="Minnesota" COORDS="368,76, 380,61, 380,59, 378,58, 379,57, 380,54, 374,54, 370,56, 366,51, 356,51, 355,50, 350,50, 345,49, 338,49, 334,41, 332,41, 332,47, 319,48, 319,60, 322,80, 322,91, 319,94, 325,98, 324,118, 379,118, 379,113, 365,108, 359,100, 359,83, 363,77" HREF="RepSearch.aspx?SearchArea=MN"> <AREA SHAPE="poly" ALT="Wisconsin" COORDS="413,124, 412,117, 412,113, 416,98, 414,95, 413,92, 402,99, 402,97, 406,92, 406,84, 394,82, 387,80, 384,76, 384,74, 379,75, 378,75, 377,74, 378,69, 376,71, 369,76, 363,77, 359,83, 359,100, 366,108, 379,113, 379,125" HREF="RepSearch.aspx?SearchArea=WI"> <AREA SHAPE="poly" ALT="Illinois" COORDS="417,136, 415,136, 414,132, 413,125, 379,126, 381,128, 383,128, 385,132, 387,134, 391,135, 391,140, 386,144, 384,145, 383,154, 380,157, 380,159, 380,162, 378,164, 379,167, 388,175, 391,174, 396,176, 393,181, 393,183, 403,194, 403,197, 407,200, 407,198, 414,198, 414,195, 420,188, 420,182, 420,171, 418,166, 420,164, 419,162, 418,136" HREF="RepSearch.aspx?SearchArea=IL"> <AREA SHAPE="poly" ALT="Indiana" COORDS="423,135, 418,136, 418,162, 420,164, 418,166, 418,168, 420,171, 420,182, 420,185, 432,185, 439,183, 441,180, 442,173, 447,170, 447,163, 448,160, 441,134, 441,132, 434,132, 424,135" HREF="RepSearch.aspx?SearchArea=IN"> <AREA SHAPE="poly" ALT="Michigan" COORDS="454,130, 460,119, 460,112, 453,97, 449,97, 447,89, 442,81, 436,80, 432,74, 437,72, 438,70, 430,69, 429,66, 428,66, 425,69, 416,73, 413,71, 408,71, 405,68, 401,69, 398,71, 396,68, 399,63, 384,74, 384,77, 387,80, 393,82, 406,84, 406,92, 402,97, 402,99, 413,92, 418,85, 425,81, 427,80, 432,80, 432,83, 429,84, 429,88, 427,91, 422,92, 421,96, 425,119, 424,130, 424,135, 436,132, 441,132, 441,134" HREF="RepSearch.aspx?SearchArea=MI"> <AREA SHAPE="poly" ALT="Ohio" COORDS="481,119, 470,129, 463,133, 458,133, 454,131, 451,132, 441,134, 447,162, 451,165, 462,168, 467,165, 467,161, 470,160, 472,161, 482,151, 483,147, 482,139, 484,136" HREF="RepSearch.aspx?SearchArea=OH"> <AREA SHAPE="poly" ALT="West Virginia" COORDS="484,136, 482,140, 483,148, 482,152, 472,161, 470,160, 467,162, 467,165, 462,168, 471,178, 471,180, 480,187, 486,186, 494,179, 496,167, 502,161, 509,151, 514,154, 516,151, 511,145, 496,152, 495,146, 487,147" HREF="RepSearch.aspx?SearchArea=WV"> <AREA SHAPE="poly" ALT="Pennsylvania" COORDS="489,114, 481,119, 487,147, 534,136, 537,132, 541,127, 537,120, 539,118, 533,114, 531,109, 508,116, 491,118" HREF="RepSearch.aspx?SearchArea=PA"> <AREA SHAPE="poly" ALT="Vermont" COORDS="552,59, 548,60, 539,62, 541,74, 545,78, 544,85, 546,90, 552,89, 553,78, 554,68" HREF="RepSearch.aspx?SearchArea=VT"> <AREA SHAPE="poly" ALT="Maine" COORDS="573,80, 573,74, 579,66, 585,58, 593,55, 593,53, 591,45, 587,45, 584,40, 584,36, 573,21, 571,23, 571,25, 564,22, 563,23, 561,36, 561,41, 562,43, 560,49, 565,65, 567,73, 570,78" HREF="RepSearch.aspx?SearchArea=ME"> <AREA SHAPE="poly" ALT="New Hampshire" COORDS="573,83, 573,81, 570,78, 567,73, 565,65, 560,49, 558,53, 557,56, 552,59, 552,63, 554,68, 553,77, 553,89, 558,88, 565,86, 571,83" HREF="RepSearch.aspx?SearchArea=NH"> <AREA SHAPE="poly" ALT="Massachusetts" COORDS="577,105, 583,105, 585,102, 591,96, 591,91, 589,90, 587,84, 581,84, 581,86, 584,87, 584,92, 578,93, 573,89, 573,84, 571,83, 565,86, 553,89, 547,90, 547,100, 554,99, 560,97, 567,97, 570,97, 571,103" HREF="RepSearch.aspx?SearchArea=MA"> <AREA SHAPE="poly" ALT="Rhode Island" COORDS="567,97, 570,97, 571,103, 576,105, 585,115, 585,114, 597,114, 597,122, 596,123, 585,123, 584,120, 572,107, 570,108, 567,103" HREF="RepSearch.aspx?SearchArea=RI"> <AREA SHAPE="poly" ALT="Connecticut" COORDS="547,99, 554,99, 560,97, 566,97, 567,104, 569,108, 568,110, 585,126, 587,125, 598,125, 598,133, 586,134, 583,130, 565,111, 556,115, 551,112, 547,107" HREF="RepSearch.aspx?SearchArea=CT"> <AREA SHAPE="poly" ALT="New York" COORDS="554,126, 558,126, 566,120, 566,114, 561,114, 556,115, 551,112, 547,108, 546,91, 544,83, 545,77, 541,73, 539,62, 535,63, 531,65, 522,66, 519,78, 516,79, 518,86, 516,92, 510,94, 499,94, 494,97, 494,100, 496,102, 496,107, 489,113, 491,118, 497,117, 509,116, 529,110, 531,110, 534,113, 534,115, 539,118, 544,120, 548,120" HREF="RepSearch.aspx?SearchArea=NY"> <AREA SHAPE="poly" ALT="New Jersey" COORDS="538,132, 539,129, 541,127, 538,122, 538,120, 539,118, 543,120, 547,120, 553,126, 551,130, 551,131, 562,131, 562,128, 575,128, 576,137, 562,137, 561,135, 552,135, 544,143, 541,144, 538,141" HREF="RepSearch.aspx?SearchArea=NJ"> <AREA SHAPE="poly" ALT="Delaware" COORDS="534,135, 537,133, 538,142, 541,144, 541,147, 560,147, 561,144, 575,144, 575,153, 561,153, 559,150, 546,150, 546,152, 537,152, 535,148, 534,147" HREF="RepSearch.aspx?SearchArea=DE"> <AREA SHAPE="poly" ALT="Maryland" COORDS="539,162, 540,163, 544,163, 547,163, 548,155, 546,153, 537,152, 535,148, 534,147, 534,136, 495,146, 496,152, 510,145, 515,151, 517,149, 522,151, 528,151, 532,156, 537,156" HREF="RepSearch.aspx?SearchArea=MD"> <AREA SHAPE="poly" ALT="District of Columbia" COORDS="540,163, 544,163, 547,163, 562,163, 563,161, 575,161, 575,170, 562,170, 560,167, 547,167, 544,170, 542,169, 540,173, 538,169, 540,166" HREF="RepSearch.aspx?SearchArea=DC"> <AREA SHAPE="poly" ALT="Virginia" COORDS="480,187, 485,186, 494,179, 496,167, 502,161, 505,156, 509,151, 514,154, 517,149, 522,151, 528,151, 532,156, 529,160, 534,161, 537,169, 535,171, 542,180, 540,179, 483,198, 465,200, 479,191" HREF="RepSearch.aspx?SearchArea=VA"> <AREA SHAPE="poly" ALT="Kentucky" COORDS="405,206, 407,203, 407,198, 414,198, 415,194, 420,188, 420,185, 432,185, 438,183, 441,180, 442,172, 445,173, 447,168, 447,162, 451,165, 462,168, 466,174, 471,178, 471,180, 479,187, 479,190, 467,198, 462,201, 450,201, 436,202, 424,203, 418,203, 417,207, 405,207" HREF="RepSearch.aspx?SearchArea=KY"> <AREA SHAPE="poly" ALT="Tennesse" COORDS="400,216, 402,214, 403,211, 405,207, 417,207, 418,204, 425,203, 437,202, 450,201, 463,200, 477,199, 483,198, 481,201, 479,203, 478,206, 472,208, 470,210, 463,214, 464,216, 460,218, 458,222, 459,224, 445,224, 443,225, 436,225, 421,227, 421,228, 398,227, 398,224, 396,222" HREF="RepSearch.aspx?SearchArea=TN"> <AREA SHAPE="poly" ALT="North Carolina" COORDS="458,222, 459,221, 460,218, 464,216, 464,214, 471,210, 472,207, 478,206, 479,203, 482,200, 483,198, 540,179, 543,181, 545,187, 545,190, 545,193, 547,197, 544,203, 542,206, 532,220, 531,223, 526,225, 515,216, 511,213, 498,213, 488,212, 480,213, 473,219, 469,222, 459,222" HREF="RepSearch.aspx?SearchArea=NC"> <AREA SHAPE="poly" ALT="South Carolina" COORDS="480,213, 486,213, 488,212, 497,212, 498,213, 511,213, 514,216, 516,216, 526,226, 521,237, 515,243, 507,253, 500,249, 492,237, 483,232, 476,226, 473,224, 474,219, 477,215" HREF="RepSearch.aspx?SearchArea=SC"> <AREA SHAPE="poly" ALT="Florida" COORDS="502,280, 508,289, 511,293, 517,298, 520,303, 525,311, 529,324, 531,329, 531,338, 524,343, 516,339, 509,334, 502,323, 498,320, 497,314, 493,315, 493,309, 494,299, 477,289, 471,290, 465,295, 451,289, 440,289, 431,278, 432,276, 434,275, 463,275, 466,278, 489,279, 494,282, 495,273, 498,273, 500,278" HREF="RepSearch.aspx?SearchArea=FL"> <AREA SHAPE="poly" ALT="Georgia" COORDS="449,224, 459,224, 459,222, 469,222, 473,219, 474,220, 473,224, 483,232, 492,237, 500,249, 507,253, 504,271, 501,279, 498,272, 495,272, 494,281, 489,279, 466,278, 463,275, 460,270, 463,260, 458,249, 459,245, 455,241, 448,224" HREF="RepSearch.aspx?SearchArea=GA"> <AREA SHAPE="poly" ALT="Alabama" COORDS="422,227, 424,226, 434,226, 436,225, 443,225, 445,224, 448,224, 450,229, 452,231, 452,233, 454,237, 455,241, 459,246, 458,249, 463,260, 462,265, 461,267, 460,270, 464,275, 434,275, 432,277, 432,279, 440,290, 437,291, 424,293, 424,261, 422,260, 422,228" HREF="RepSearch.aspx?SearchArea=AL"> <AREA SHAPE="poly" ALT="Mississippi" COORDS="398,228, 422,228, 422,261, 424,262, 424,293, 414,294, 408,287, 409,285, 390,285, 390,282, 393,280, 393,274, 396,272, 395,269, 391,262, 390,257, 391,254, 389,254, 391,252, 389,247, 392,242, 392,237, 397,233, 397,229" HREF="RepSearch.aspx?SearchArea=MS"> <AREA SHAPE="poly" ALT="Louisiana" COORDS="358,262, 391,262, 395,270, 396,272, 393,275, 393,279, 390,282, 390,285, 409,285, 408,287, 414,294, 412,296, 415,298, 417,308, 418,315, 414,315, 406,312, 394,312, 388,311, 383,314, 373,310, 365,313, 365,297, 366,295, 366,288, 362,276, 359,274" HREF="RepSearch.aspx?SearchArea=LA"> <AREA SHAPE="poly" ALT="Arkansas" COORDS="350,213, 382,213, 383,212, 395,212, 397,214, 395,215, 396,217, 400,217, 400,218, 397,222, 398,224, 398,228, 397,229, 397,231, 397,233, 392,238, 392,243, 389,248, 389,249, 391,252, 389,254, 391,255, 390,258, 391,262, 359,262, 359,256, 353,256, 353,225, 351,218" HREF="RepSearch.aspx?SearchArea=AR"> <AREA SHAPE="poly" ALT="Oklahoma" COORDS="263,210, 263,220, 294,220, 294,247, 316,255, 318,254, 325,257, 328,254, 330,256, 334,256, 336,258, 340,255, 347,255, 353,256, 353,225, 351,218, 350,210" HREF="RepSearch.aspx?SearchArea=OK"> <AREA SHAPE="poly" ALT="Texas" COORDS="263,220, 294,220, 294,247, 316,255, 318,254, 324,257, 328,254, 330,256, 334,256, 336,258, 340,255, 347,255, 353,256, 359,256, 359,275, 362,277, 363,280, 366,289, 366,296, 365,298, 365,313, 355,315, 352,318, 348,326, 345,329, 337,332, 330,340, 328,345, 329,355, 332,362, 329,365, 313,359, 309,356, 303,345, 302,341, 295,338, 293,334, 291,326, 284,316, 276,313, 268,312, 261,322, 258,324, 251,320, 245,314, 242,309, 238,298, 230,293, 220,278, 220,276, 263,276" HREF="RepSearch.aspx?SearchArea=TX"> </MAP> =================================== This list is hosted by DevelopMentor(r) http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com =================================== This list is hosted by DevelopMentor® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com =================================== This list is hosted by DevelopMentor® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: How to put an image map into an ascx page?: 00161, Dan_Soltesz |
|---|---|
| Next by Date: | Re: How to put an image map into an ascx page?: 00161, Stacey Levine |
| Previous by Thread: | Re: How to put an image map into an ascx page?i: 00161, Dan_Soltesz |
| Next by Thread: | Re: How to put an image map into an ascx page?: 00161, Stacey Levine |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |