Answer the question
In order to leave comments, you need to log in
Why doesn't the following code work in firefox?
Hello.
Why doesn't the following code work in firefox?
$(".button-map").click( function(event){
event.preventDefault();
if ( $(this).hasClass("isDown") ) {
$("#map > ymaps").stop().animate({"height":500},"slow");
} else {
$("#map > ymaps").stop().animate({"height":250},"slow");
}
$(this).toggleClass("isDown");
return false;
});
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question