ОТ
Ольга Толли
Почему скрипт не работает? Что не так?
html файл:
- 1996
- 1996.1
- 1997.1
- 1997
- 1998
jQuery.js:
function addEffect() {
if ($into.hasClass('active')) {
$into.animate({
'height': 0
}, 500, function() {
$into.hide();
$into.removeClass('active');
});
} else {
$into.show()
.animate({
'height': 728
}, 500, function() {
$into.addClass('active');
});
}
});
Я вставил. На этом сайте не отображается просто..