source: extensions/imgpreview/js/init.js @ 11079

Last change on this file since 11079 was 11079, checked in by flop25, 13 years ago

first commit :
works but may need to restrict the dimension

File size: 324 bytes
Line 
1//$(document).ready(function(){
2(function($) {
3   previewBoxId = 'tooltip';
4   if ($('.thumbnails a').length > 0 ) {
5      $('.thumbnails a').imgPreview({
6         containerID:previewBoxId,
7         considerBorders:'true',
8         srcAttr: 'imgsrc',
9         preloadImages: false,
10      });
11   
12   }
13
14 
15//});
16})(jQuery);
Note: See TracBrowser for help on using the repository browser.