Results 1 to 3 of 3

Thread: No image clicking thumbnail on Image Thumbnail Viewer II

  1. #1
    Join Date
    May 2011
    Posts
    14
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default No image clicking thumbnail on Image Thumbnail Viewer II

    1) Script Title: Image Thumbnail Viewer II

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...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

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    29,070
    Thanks
    44
    Thanked 3,216 Times in 3,178 Posts
    Blog Entries
    12

    Default

    Put this script in the head of the page:

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

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    May 2011
    Posts
    14
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default Thanks

    Thank you very very much John! A great functionally solution! Thanks a lot for your precious help!

    Ratto84

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
  •