fixed image display
This commit is contained in:
parent
bf77abb0c1
commit
5e85ef39eb
|
@ -115,17 +115,20 @@ function SubmitForm(id, e) {
|
|||
}
|
||||
|
||||
function addResizeHandler(item, min, max) {
|
||||
jQuery(item).toggle(
|
||||
function(){
|
||||
jQuery(item).animate({
|
||||
height: max
|
||||
});
|
||||
},
|
||||
function(){
|
||||
jQuery(item).click(
|
||||
function() {
|
||||
if (jQuery(item).hasClass('imgExpanded')) {
|
||||
jQuery(item).animate({
|
||||
height: min
|
||||
});
|
||||
}
|
||||
else {
|
||||
jQuery(item).animate({
|
||||
height: max
|
||||
});
|
||||
}
|
||||
jQuery(item).toggleClass('imgExpanded');
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue