Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script type="text/javascript">
- jQuery(document).ready(function() {
- /*
- * Examples - images
- */
- jQuery("a#example5").fancybox({
- 'overlayShow' : true,
- 'transitionIn' : 'fade',
- 'transitionOut' : 'fade',
- 'titlePosition' : 'over'
- });
- jQuery("a#example6").fancybox({
- 'overlayShow' : true,
- 'transitionIn' : 'fade',
- 'transitionOut' : 'fade',
- 'titlePosition' : 'over'
- });
- jQuery("a[rel=example_group]").fancybox({
- 'transitionIn' : 'none',
- 'transitionOut' : 'none',
- 'titlePosition' : 'over',
- 'titleFormat' : function(title, currentArray, currentIndex, currentOpts) {
- return '<span id="fancybox-title-over">Image ' + (currentIndex + 1) + ' / ' + currentArray.length + (title.length ? ' ' + title : '') + '</span>';
- }
- });
- });
- </script>
- <!-- zoomer-->
- <script type="text/javascript">
- jQuery(document).ready(function() {
- jQuery('#fancybox-img').jqzoom({
- zoomType: 'standard',
- lens:true,
- preloadImages: false,
- alwaysOn:true
- });
- });
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement