PDA

View Full Version : z-index not working with image zoomer



unr3al39
03-06-2013, 05:43 PM
I am trying to implement the image zoomer for a single image from Dynamic Drive http://www.dynamicdrive.com/dynamicindex4/featuredzoomer.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>

vwphillips
03-07-2013, 01:17 PM
$('#image1').addimagezoom({ // single image zoom
zoomrange: [4, 4],
magnifiersize: [500,500],
magnifierpos: 'left',
cursorshade: true,
largeimage: 'largeimage.jpg',
zIndex: '999'
})

})