Lightbox plugin: on click fade out original image
-
Hello,
I was wondering if it is possible to fade out the original image on click on a lightbox image. I would like to resize/enlarge the image and at the same time fade out the original (small) image. Fade it back in when the lighbox is closed…
http://unionofcrazyshit.de/wp/about
Is it possible? This is my idea but I can't get this code to work:
<script>
jQuery(document).ready(function(){
jQuery( "#imagefade" ).click(function() {
jQuery( "#imagefade" ).css( "opacity", "0" );
});
});
</script>Thank you and cheers,
Arne
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better đź’—
Register Login