usemap="#Map", no #Map defined on website but map works |
usemap="#Map", no #Map defined on website but map works |
p3ppi |
May 8 2022, 07:24 PM
Post
#1
|
Group: Members Posts: 1 Joined: 8-May 22 Member No.: 28,342 |
Hello,
the website ipchicken.com has the the following line in its source code: CODE <img src="images/main_03.gif" width="577" height="126" usemap="#Map" border="0"> But nowhere in the source code is a definition of #Map. The links on the image do work though. Where else can the #Map be defined other than the source code? thank you for your help =) regards p3ppi |
pandy |
May 8 2022, 07:42 PM
Post
#2
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,753 Joined: 9-August 06 Member No.: 6 |
But nowhere in the source code is a definition of #Map. The links on the image do work though. Yes, it's there. At line 76 or thereabout. HTML <map name="Map"> <area shape="rect" coords="373,71,418,94" href="learn.html"> <area shape="rect" coords="136,72,223,94" href="https://www.ipchicken.com"> </map> Maybe you looked for #Map with the hash sign? The hash is only used in the usemap attribute, not in the target name. The construct with the hash is called a fragment identifier, same as you use with an ordinary link to specific spot in a page. HTML <a href="#spot">Go to a specific spot in the page</a> .... <p id="spot"> Blah blah blah...</p> |
Lo-Fi Version | Time is now: 26th September 2024 - 09:57 PM |