Создать форум бесплатно: ixbb.ru :: Календарь на Март 2024 года: calendar2008.ru/2024/mart/

  Reply to this topicStart new topicStart Poll

Очень нужна помощь с Map Area

irishka207
Отправлено: Mar 17 2010, 12:55 AM
Quote Post


  Солдат
*

Группа: Members
Сообщений: 4
Пользователь №: 3211
Регистрация:
17-March 10



Добрый вечер. Подскажите, пожалуйста, я новичёк в этом деле, до конца ещё не разобралась что и как,
поэтому прошу помочь у знающих людей.
Есть карта изображения:

<img src="1.jpg" width="640" height="30" usemap="#Navigation" border=0>
<p><map name="Navigation">
<area shape="poly" coords="113,24,211,24,233,0,137,0">
<area shape="poly" coords="210,24,233,0,329,0,307,24">
<area shape="poly" coords="304,24,385,24,407,0,329,0">
<area shape="poly" coords="384,24,449,24,473,0,406,0">
<area shape="poly" coords="449,24,501,24,525,0,473,0">
<area shape="poly" coords="501,24,560,24,583,0,525,0">
<area shape="poly" coords="560,24,615,24,639,0,585,0">
</map>

нужно, чтобы при попадании курсором в 1-ую область (вероятно событием OnClick), при нажатии, на этой же странице (без обновления),
эта прямоугольная область выделилась(залилась) в какой-нибудь цвет, любой. Помогите, очень прошу, валюсь с курсовой!!!
PMEmail Poster
Top
SilverDEN
Отправлено: Mar 17 2010, 10:37 AM
Quote Post


  Команда ЭйсВэб
*

Группа: Super moderator
Сообщений: 528
Пользователь №: 196
Регистрация:
27-December 06



наверное как то так:
<area shape="poly" coords="560,24,615,24,639,0,585,0"
CODE
onMouseOver="this.style.borderWidth='1';this.style.borderColor='red'">
событие при наведении мышкой


--------------------
Мало знать как, нужно знать почему...
PMEmail Poster
Top
irishka207
Отправлено: Mar 17 2010, 01:30 PM
Quote Post


  Солдат
*

Группа: Members
Сообщений: 4
Пользователь №: 3211
Регистрация:
17-March 10



если бы было так, было бы отлично. Но это не работает (((
PMEmail Poster
Top
SilverDEN
Отправлено: Mar 17 2010, 02:21 PM
Quote Post


  Команда ЭйсВэб
*

Группа: Super moderator
Сообщений: 528
Пользователь №: 196
Регистрация:
27-December 06



после координат дописали событие?


--------------------
Мало знать как, нужно знать почему...
PMEmail Poster
Top
irishka207
Отправлено: Mar 17 2010, 03:56 PM
Quote Post


  Солдат
*

Группа: Members
Сообщений: 4
Пользователь №: 3211
Регистрация:
17-March 10



ага, после. А у Вас работает?
PMEmail Poster
Top
SilverDEN
Отправлено: Mar 17 2010, 04:08 PM
Quote Post


  Команда ЭйсВэб
*

Группа: Super moderator
Сообщений: 528
Пользователь №: 196
Регистрация:
27-December 06



действительно не работает...
Но зато вот что есть у буржуев
http://www.irt.org/articles/js026/index.htm
В google.com нашлось много страниц по запросу shape area (onmouseover)
попробовал штук 5 разных вариантов с функцией на джаве и без у меня не получилось...


--------------------
Мало знать как, нужно знать почему...
PMEmail Poster
Top
SilverDEN
Отправлено: Mar 17 2010, 04:59 PM
Quote Post


  Команда ЭйсВэб
*

Группа: Super moderator
Сообщений: 528
Пользователь №: 196
Регистрация:
27-December 06



ну вот рабочий пример на связке css и java
http://fastcoder.org/articles/?aid=181


--------------------
Мало знать как, нужно знать почему...
PMEmail Poster
Top
irishka207
Отправлено: Mar 20 2010, 09:30 AM
Quote Post


  Солдат
*

Группа: Members
Сообщений: 4
Пользователь №: 3211
Регистрация:
17-March 10



спасибо
PMEmail Poster
Top
ruitrjiu
Отправлено: Dec 7 2013, 09:54 AM
Quote Post


  Unregistered









Devilish Decorations Structure Group of Beverly<br><br>Hillsides was basically created to assist create a facelift for that place, Cheap Canada Goose depending in regards to glossy latest bright white fiberglass mating of your mid-century Moncler Coats modern typical finally, the Eero Saarinen Tulip 30 meal table, having some seats utilizing dazzling teal blankets $825, Typically the luxurious establish healthy more comfortably inside the space or room, Moncler Sale and then the base pattern thighs and leg eradicated the actual jumbled try the surrounding. When using the family table in addition to recliners since the beginning, Mid-foot Interiors' Christopher Grub and Linda Turner created completely new retro hunt for my family room, throughout, most during the average finances conditions with the client.<br>
Arc Decorations Structure Category of Beverly
Typically the nook measured high roof
The actual corner proper substantial roof rrrrrr
Top
ruitrjiu
Отправлено: Dec 12 2013, 04:39 PM
Quote Post


  Unregistered









Think the fact that Miley's EMAs<br><br>stop has been scandalous in addition to incredible, or offers the crop up movie star undoubtedly expired regarding ways to impact and also idolatry? women ugg Whole lot more From that Factor: Miley Cyrus's 'Wrecking Ball' Online video Parodied by simply Betty The white kind of: Many other Celebs Spoof Miley Miley Cyrus Wanted Nude VMAs General performance: Occasionally She has Stripped Decrease I had been seeing the most popular canada goose YouTube megastars The exact Wonderful Friends and their most up-to-date Cheap Prada Bags videos of their Boys and girls Start up series,<br>
Do you consider in which Miley's EMAs
Ya think the fact that Miley's EMAs
Is actually possible of which your girlfriend stunt didn't astonish a lot of eeeeee
Top

Topic Options Reply to this topicStart new topicStart Poll

 



[ Script Execution time: 0.0274 ]   [ 10 queries used ]   [ GZIP выключен ]