Results 1 to 2 of 2

Thread: z-index not working with image zoomer

  1. #1
    Join Date
    Mar 2013
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default z-index not working with image zoomer

    I am trying to implement the image zoomer for a single image from Dynamic Drive http://www.dynamicdrive.com/dynamici...uredzoomer.htm but having a problem with stacking. Whenever there is a video below the large zoom image, the image shows under the video and not on top of it.

    i tried to apply the z-Index to the jQuery script but it doesn't work. Am I putting it in the wrong place ?

    <script type="text/javascript">

    jQuery(document).ready(function($){

    $('#image1').addimagezoom({ // single image zoom
    zoomrange: [4, 4],
    magnifiersize: [500,500],
    magnifierpos: 'left',
    cursorshade: true,
    largeimage: 'largeimage.jpg',
    zIndex: [999]
    })

    })

    </script>

  2. #2
    Join Date
    Dec 2008
    Location
    Portsmouth, UK
    Posts
    1,810
    Thanks
    2
    Thanked 423 Times in 417 Posts

    Default

    Code:
    $('#image1').addimagezoom({ // single image zoom
    zoomrange: [4, 4],
    magnifiersize: [500,500],
    magnifierpos: 'left',
    cursorshade: true,
    largeimage: 'largeimage.jpg',
    zIndex: '999'
    })
    
    })
    Vic
    God Loves You and will never love you less.
    http://www.vicsjavascripts.org/Home.htm
    If my post has been useful please donate to http://www.operationsmile.org.uk/

Similar Threads

  1. image power zoomer z-Index
    By vwphillips in forum Bug reports
    Replies: 0
    Last Post: 02-15-2012, 11:37 AM
  2. Image power zoomer not working with AJAX
    By dvnitycker in forum Dynamic Drive scripts help
    Replies: 1
    Last Post: 07-22-2011, 03:59 AM
  3. Replies: 0
    Last Post: 09-08-2010, 01:03 AM
  4. Z-Index Not working in ie 6
    By beeps in forum CSS
    Replies: 2
    Last Post: 02-02-2010, 01:47 AM
  5. Cool DHTML Tooltip Z-Index not working in IE6
    By ScorpionHD in forum Dynamic Drive scripts help
    Replies: 2
    Last Post: 02-04-2009, 08:36 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •