Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(document).ready(function() {
- $("a#single_image").fancybox({
- 'onComplete' : function(arg) {
- $("#fancybox-img").wrap(
- $("<a />")
- .attr("href", $(arg[0]).attr("href"))
- .addClass("cloud-zoom")
- .attr("rel", "position: "inside")
- );
- $(".cloud-zoom").CloudZoom();
- }
- });
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement