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
Before you post
Use the Search Feature. Maybe there is already a solution to your issue.
1. Update Lay Theme and all Lay Theme Addons
2. Disable all Plugins
3. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code ", click "Save Changes"
4. Now see if your problem solved itself
5. Go here, see if your problem is listed here:
Troubleshooting
When you post:
1. Post a link to where the problem is
2. If the problem is difficult to explain, post screenshots / link to a video to explain it