Advertisement
Guest User

Untitled

a guest
May 13th, 2011
4,172
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.08 KB | None | 0 0
  1. <script type="text/javascript">
  2. jQuery(document).ready(function() {
  3. /*
  4. * Examples - images
  5. */
  6.  
  7.  
  8. jQuery("a#example5").fancybox({
  9. 'overlayShow' : true,
  10. 'transitionIn' : 'fade',
  11. 'transitionOut' : 'fade',
  12. 'titlePosition' : 'over'
  13. });
  14.  
  15. jQuery("a#example6").fancybox({
  16. 'overlayShow' : true,
  17. 'transitionIn' : 'fade',
  18. 'transitionOut' : 'fade',
  19. 'titlePosition' : 'over'
  20. });
  21.  
  22.  
  23. jQuery("a[rel=example_group]").fancybox({
  24. 'transitionIn' : 'none',
  25. 'transitionOut' : 'none',
  26. 'titlePosition' : 'over',
  27. 'titleFormat' : function(title, currentArray, currentIndex, currentOpts) {
  28. return '<span id="fancybox-title-over">Image ' + (currentIndex + 1) + ' / ' + currentArray.length + (title.length ? ' &nbsp; ' + title : '') + '</span>';
  29. }
  30. });
  31.  
  32. });
  33. </script>
  34.  
  35.  
  36. <!-- zoomer-->
  37.  
  38. <script type="text/javascript">
  39. jQuery(document).ready(function() {
  40. jQuery('#fancybox-img').jqzoom({
  41. zoomType: 'standard',
  42. lens:true,
  43. preloadImages: false,
  44. alwaysOn:true
  45. });
  46.  
  47. });
  48. </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement