Javascript-форум (https://javascript.ru/forum/)
-   Общие вопросы Javascript (https://javascript.ru/forum/misc/)
-   -   не работает в mozilla (https://javascript.ru/forum/misc/22692-ne-rabotaet-v-mozilla.html)

SunYang 29.10.2011 01:59

не работает в mozilla
 
вот здесь: _http://nevrolog2012.ru/4.php

при наведении на ячейку таблицы с надписью "hover here" вылазиет дивка с надписью.
В opera и IE работает нормально, а вот в Mozilla все дивки показваются вверху.

скрипт:
Код:

$(document).ready(function(){

$(".plan td").hover(function() {
        $(this).find("div").stop(true,true)
                          .animate({opacity: "show", top: "-55"}, "slow");
        }, function() {
$(this).find("div").stop(true,true)
                          .animate({opacity: "hide", top: "-65"}, "fast");
        });
});

CSS:

.plan { border-collapse:collapse; font-size:14px;}
.plan td {
	padding: 5px;
	position: relative;
	text-align: center;
}
td div {
	background: url(../images/hover.png) no-repeat;
	width: 180px;
	height: 45px;
	position: absolute;
	top: -65px;
	left: -15px;
	text-align: center;
	padding: 20px 12px 10px;
	font-style: normal;
	z-index: 2;
	display: none;
}


как подстроиться под мозилу?

ksa 29.10.2011 21:08

Цитата:

Сообщение от SunYang
как подстроиться под мозилу?

Начни с написания полного тестового примера... ;) По огрызкам ничего не сказать толком.


Часовой пояс GMT +3, время: 10:22.