Jump to content
  • 0

Вопрос по area


Колос
 Share

Question

Сколько точек можно задавать в <area shape="poly" .... ?

Задал 20 точек. В Файрфокс и Опере всё в поряке, ИЕ7 не видит области, в ИЕ6 посреди области какие-то промежутки. Сократил количество точек до 4, стало хорошо везде.

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Может, хотя сомнительно.

<body>
<table id="pervtable">
<tr>
<td>
<img src="img/perv1.jpg" id="zastavka1" width="950" height="633" border="0" usemap="#map1">
<img src="img/perv2.jpg" id="zastavka2" width="950" height="633" border="0" usemap="#map2">
</td>
</tr>
</table>
<map name="map1" onMouseOver="changeZastavka(1,2)">
<area shape="poly" alt="" coords="169,448,
267,448,
267,320,
339,320,
339,307,
423,307,
423,295,
501,295,
501,280,
579,280,
579,477,
502,477,
502,488,
421,488,
421,500,
339,500,
339,510,
267,510,
267,529,
169,529" nohref>
</map>
<map name="map2" onMouseOut="changeZastavka(2,1)" onClick="location.href='str/index.html'">
<area shape="poly" alt="" coords="169,448,
267,448,
267,320,
339,320,
339,307,
423,307,
423,295,
501,295,
501,280,
579,280,
579,477,
502,477,
502,488,
421,488,
421,500,
339,500,
339,510,
267,510,
267,529,
169,529" nohref>
</map>
</body>

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. See more about our Guidelines and Privacy Policy