title: elevate zoom not working
body: <p>I am using elevate zoom with Apple-style Slideshow Gallery and all works fine. However the zoom feature is zooming in the hidden images which are hidden by the slider until they become visible when clicked on the thumbnail. The original code for initiating the zoom plugin was </p>
  
  <pre><code>$("#zoom_01").elevateZoom();
  </code></pre>
  
  <p>I got the below JavaScript code from other question which seemed to solve the problem but it activates the image on hover and disables it when not hovered. What I want is to have the zoom to show only on visible images not the hidden one. Can someone help me out please?</p>
  
  <pre><code>&lt;div id="main"&gt;
  &lt;div id="gallery"&gt;
  &lt;div id="slides"&gt;&lt;!--Main image--&gt;
  &lt;div class="slide"&gt;&lt;img src="img/sample_slides/macbook.jpg" data-zoom-image="images/big_mac.png" id="zoom_01" width="300" height="400" /&gt;&lt;/div&gt;
  &lt;div class="slide"&gt;&lt;img src="img/sample_slides/iphone.jpg" data-zoom-image="images/big_iphone.png" id="zoom_02" width="300" height="400" /&gt;&lt;/div&gt;
  &lt;/div&gt;
  &lt;div id="menu"&gt;&lt;!--Thumbnail--&gt;
  &lt;ul&gt;
  &lt;li class="fbar"&gt;&amp;nbsp;&lt;/li&gt; 
  &lt;li class="menuItem"&gt;&lt;a href=""&gt;&lt;img src="img/sample_slides/thumb_macbook.png" /&gt;&lt;/a&gt;&lt;/li&gt;
  &lt;li class="menuItem"&gt;&lt;a href=""&gt;&lt;img src="img/sample_slides/thumb_iphone.png" /&gt;&lt;/a&gt;&lt;/li&gt;
  &lt;/ul&gt;
  &lt;/div&gt;
  &lt;/div&gt;
  &lt;/div&gt;
  &lt;script&gt;
  jQuery( function () {
  
     var elevate_zoom_attached = false, $zoom_01 = $("#zoom_01") ;
  
      $zoom_01.hover( 
       // hover IN
       function () {
          if ( ! elevate_zoom_attached ) {
          $zoom_01.elevateZoom({
  
                    cursor   : "crosshair"
                  });
          elevate_zoom_attached = true ;
          };
      },
       // hover OUT
       function () {
          if ( elevate_zoom_attached) { // no need for hover any more
            $zoom_01.off("hover");
          }
       }
    );
  
  }) ;
  
  jQuery( function () {
  
     var elevate_zoom_attached = false, $zoom_02 = $("#zoom_02") ;
  
      $zoom_02.hover(
       // hover IN
       function () {
          if ( ! elevate_zoom_attached ) {
          $zoom_02.elevateZoom({
  
                    cursor   : "crosshair"
                  });
          elevate_zoom_attached = true ;
          };
      },
       // hover OUT
       function () {
          if ( elevate_zoom_attached) { // no need for hover any more
            $zoom_02.off("hover");
          }
       }
    );
  
  }) ;
  &lt;/script&gt;
  </code></pre>