document.write(""); $(function() { $('a.lightbox').lightBox(); }); $(document).ready(function() { var gallery = $('#gallery').galleriffic('#bpNavigation', { delay: 2000, numThumbs: 4, imageContainerSel: '#slideshow', controlsContainerSel: '#controls', titleContainerSel: '#image-title', descContainerSel: '#image-desc', downloadLinkSel: '#download-link', fixedNavigation: true }); gallery.onFadeOut = function() { $('#details').fadeOut('fast'); }; gallery.onFadeIn = function() { $('#details').fadeIn('fast'); }; }); $(document).ready(function() { $('.toolTip').hover( function() { this.tip = this.title; $(this).append( '
' +'
' +'' +'
' +'
' ); this.title = ""; this.width = $(this).width(); $(this).find('.toolTipWrapper').css({left:this.width-22}) $('.toolTipWrapper').fadeIn(300); }, function() { $('.toolTipWrapper').fadeOut(100); $(this).children().remove(); this.title = this.tip; } ); }); // Initially set opacity on thumbs and add // additional styling for hover effect on thumbs var onMouseOutOpacity = 0.67; $('#thumbs-adv ul.thumbs li').css('opacity', onMouseOutOpacity) .hover( function () { $(this).not('.selected').fadeTo('fast', 1.0); }, function () { $(this).not('.selected').fadeTo('fast', onMouseOutOpacity); } ); $(document).ready(function() { // Initialize Advanced Galleriffic Gallery var galleryAdv = $('#gallery-adv').galleriffic('#thumbs-adv', { delay: 2000, numThumbs: 5, preloadAhead: 5, enableTopPager: true, enableBottomPager: false, imageContainerSel: '#slideshow-adv', controlsContainerSel: '#controls-adv', captionContainerSel: '#caption-adv', loadingContainerSel: '#loading-adv', renderSSControls: true, renderNavControls: true, playLinkText: '', pauseLinkText: '', prevLinkText: '', nextLinkText: '', nextPageLinkText: '', prevPageLinkText: '', enableHistory: true, autoStart: false, onChange: function(prevIndex, nextIndex) { $('#thumbs-adv ul.thumbs').children() .eq(prevIndex).fadeTo('fast', onMouseOutOpacity).end() .eq(nextIndex).fadeTo('fast', 1.0); }, onTransitionOut: function(callback) { $('#slideshow-adv, #caption-adv').fadeOut('fast', callback); }, onTransitionIn: function() { $('#slideshow-adv, #caption-adv').fadeIn('fast'); }, onPageTransitionOut: function(callback) { $('#thumbs-adv ul.thumbs').fadeOut('fast', callback); }, onPageTransitionIn: function() { $('#thumbs-adv ul.thumbs').fadeIn('fast'); } }); });