Lay Theme Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Search

    Lightbox plugin: on click fade out original image

    General Discussion
    1
    1
    195
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ArneRobot
      ArneRobot last edited by

      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

      1 Reply Last reply Reply Quote 0
      • First post
        Last post

      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

      Thanks!

      Online Users

      P

      Recent Topics

      • C

        image carousel bugging out

      • N

        help needed with cleaning up and optimising lay theme portfolio website

      • R

        Html5 Video Player issue

      laytheme.com