![]() |
|
||||||||||
|
|||||
|
Регистрация: Jun 2002
Адрес: Таганрог, Россия
Сообщений: 54
|
Кто мне ответит на такой вопрос:
в IE 6.0 работают оба типа события, и OnMouseOut , и OnMouseLeave(оба срабатывают на покидание мыши, вычитал из MSDN), но вот проблема в этом продукте от Дяди Билла событие OnMouseOut срабатывает не всегда так как хотелось бы, а OnMouseLeave, срабатывает так как доктор прописал, в чём между этими событиями разница??? И есть ли событие OnMouseLeave в более ранних версиях ехплорера? ![]() |
|
|||||
|
onmouseover
onmouseout есть в любом браузере начиная с версии 4.0 так точно. остальное советую не юзать
__________________
dead |
|
|||||
|
Регистрация: Dec 1999
Сообщений: 258
|
onmouseleave Event
Fires when the user moves the mouse pointer outside the boundaries of the object. Remarks The event fires only if the mouse pointer is inside the boundaries of the object and the user moves the mouse pointer outside the boundaries of the object. If the mouse pointer is currently outside the boundaries of the object, for the event to fire, the user must move the mouse pointer inside the boundaries of the object and then back outside the boundaries of the object. onmouseout Event Fires when the user moves the mouse pointer outside the boundaries of the object. Remarks When the user moves the mouse over an object, one onmouseover event occurs, followed by one or more onmousemove events as the user moves the mouse pointer within the object. One onmouseout event occurs when the user moves the mouse pointer out of the object. Это все из того же MSDN. В каких версиях работает можно посмотреть там же. onmouseleave начиная с 5.5. Вообще, задавая вопрос старайся избегать формулировок типа "как хотелось бы" и "доктор прописал", если хочешь получить вразумительный ответ. |
![]() |
Часовой пояс GMT +4, время: 10:57. |
|
|
« Предыдущая тема | Следующая тема » |
| Опции темы | |
| Опции просмотра | |
|
|