Quick help?? Using jQuery magnify effect.
I am new to jQuery.
Trying to make a thumbnail in .js that only reduces the image by 50% of size, then as mouse over it increases it to original size.
Any help is appreciated, below I think is the code that needs changing.
Mike
if (this.width() > this.height()) {
this.height (this.height() / (this.width() / thumbContainer.width())).width(thumbContainer.width()).css({
bottom:0
});
} else {
var thumbImageWidth = this.width() / (this.height() / thumbContainer.height());
this.width(thumbImageWidth).height(thumbContainer.height()).css({
marginCenter:((thumbContainer.width() - thumbImageWidth) * 0.5) + "px"