The code I use for script activation is:
Expand|Select|Wrap|Line Numbers
- <script type="text/javascript">
- $(document).ready(function() {
- var gallery = $('#thumbs').galleriffic({
- delay: 3000, // in milliseconds
- numThumbs: 2, // The number of thumbnails to show page
- preloadAhead: 2, // Set to -1 to preload all images
- });
- });
- </script>
Expand|Select|Wrap|Line Numbers
- var gallery = $('#thumbs').galleriffic({