Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $("div.image-magnify:last div.thumbnail")
- .mouseenter(function() {
- $(this).children("div.box").fadeTo(333, 1);
- $(this).find("div.tint").fadeTo(333, 0.5);
- $(this).find("div.blur div:not(div.tint)").fadeTo(333, 0.8);
- $(this).parent().children("div.popup")
- .css("display", "block").fadeTo(333, 1);
- })
- .mouseleave(function() {
- $(this).children("div.box").fadeTo(333, 0);
- $(this).find("div.tint").fadeTo(333, 0);
- $(this).find("div.blur div").fadeTo(333, 0);
- $(this).parent().children("div.popup")
- .css("display", "none").fadeTo(333, 0);
- });
Add Comment
Please, Sign In to add comment