PDA

View Full Version : No image clicking thumbnail on Image Thumbnail Viewer II



Ratto84
05-07-2011, 12:57 PM
1) Script Title: Image Thumbnail Viewer II

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex4/thumbnail2.htm

3) Describe problem: i'd like to prevent the script from showing full image in a empty white page on click on the thumbnail. How can I do?

Thanks for your attention

Ratto84

jscheuer1
05-08-2011, 12:15 AM
Put this script in the head of the page:


<script type="text/javascript">
jQuery(function($){
$('a[rel=enlargeimage]').click(function(e){e.preventDefault();});
});
</script>

Ratto84
05-08-2011, 11:06 AM
Thank you very very much John! A great functionally solution! Thanks a lot for your precious help! :D :D :D

Ratto84