ouSlides. ep-uiSlides-ctrl-auto.ep-uiSlides'). append('') ; $('#ProductSlideshow li'). hide() ; $('.ic_Lightbox'). each(function(){ var $countLi= 0 ; $(this).find('li'). each(function(){ $countLi++++ ; if($(this). ' ))) ; // alter né. doc. file d'origine Dateiname ändern $(this).addClass('ImageCount_'+$countLi). append(' ').children('a'). remove(). remove() ; } else { $(this).addClass('ImageCount_'+$countLi). append('a')). remove('a'). remove() ; }.
} ) ; $(this).find('li').first(). addClass('active') ; }) ; $ElementActive = $('. ic_Lightbox li. active') ; $('#ProductSlideshow li.active'). fadeIn(1500) ; setButtonStates() ; $('#ProductSlideshow'. a' ). click(function(){ $ElementActive = $('. ic_Lightbox li. active') ; if($ElementActive.prev(). length){ $ElementActive.removeClass('active'). preview(). addClass('active') ; toggleSlideshowVisibility() ; } setButtonStates() ; }) ; $('#ProductSlideshow . ep-uiSlides-ctrlNext a'). click(function(){ $ElementActive = $('. ict_Lightbox li. active') ; if($ElementActive.next(). length){ $ElementActive.removeClass('active').next(). addClass('active'). addClass('active') ; toggleSlideshowVisibility() ; } setButtonStates() ; }) ; $(('.
ict_Lightbox li img'). click(function(){ $(this).closest('li'). removeClass('active') ; var $ID = $(this).closest('li'). attr('class') ; $('ic_Lightbox'). each(function(){ $(this). find((this). find('li').removeClass('active');$(this)). find('li.'+$ID). addClass('active') ; }) ; toggleSlideshowVisibility() ; setButtonStates() ; $('#ProductSlideshow li img'). click(function(){ ImageOverlay($('#ProductSlideshow.ep-uiSlides-box'). html()) ; if($(((('). #ajaxContents. ic_ImagesOverview') ; setButtonStates() ; Funktion toggleSlideshowVisibility(){ $('#ProductSlideshow li:not('#ProductSlideshow li:not(). edit ('#ProductSlideshow li.active'). fadeIn(1500) ; } fonction setButtonStates(){ $ElementActive = $('. ic_Lightbox li. active') ; jQuery('#ProductSlideshow .ep-uiSlides-ctrl'). removeClass('ui-hidden') ; if( !!
$ElementActive.prev().length) $('#ProduktSlideshow.ep-uiSlides-ctrlPrev'). addClass('ui-hidden') ; if( ! $ElementActive.next().length) $('#ProduktSlideshow.ep-uiSlides-ctrlNext'). addClass('ui-hidden') ; } addClass('ui-hidden') ; }. image overlay */ Command ImageOverlay($content){ addAjaxLayer(); jQuery('#ajaxContent').addClass('ic_ImagesOverview'). html(' '+$content+' ')('jQuery('#ajaxGallery').find('li'). RemoveAttr ('style'). active') ; Funktion addAjaxImageFading(){ /* add slider*/ jQuery('#ajaxContent'). prepend(' ') ; jQuery('#ajaxSlider'). append(' (') ; jQuery(') ; jQuery(''#ajaxSlider') ; jQuery('#ajaxSlider'). append(' and ' ); setSlideButtonStates(); /* Insert key functionality */ jQuery('#ajaxSlider . back icon a'). animate({'opacity':'1'}, 'slow'); animateDimensions(); } setSlideButtonStates(); }); jQuery('#ajaxSlider . Click(function(){ if($ActiveElement.next(). length){ $ActiveElement.stop(true,true).removeClass('active').next().addClass('active').
child('.ImageArea').css({'opacity':'0'}). animate({'opacity':'1'},'slow') ; animateDimensions() ; } setSlideButtonStates() ; jQuery('#ajaxLayerAdd, #ajaxLayerBG'). hover(function(){jQuery(document). keyup(function(function(e){ if(e){ if(e. cipher== 39 ){////// Tastatur rechts jQuery('#ajaxSlider . next icon a'). click() ; e. preventDefault() ; } else if(e. cipher == 37){/////// Tastatur links jQuery('#ajaxSlider. back icon a'). click() ; e. preventDefault() ; } ; } preventDefault() ; }. } ); }, function(){ jQuery(document). unbind('keypress keyup'); }); }; var $ajaxWidth = jQuery('.ContentArea'). innerWidth() - 20;/* .
ep-uiLightbox edge-radius */ Funktion animateDimensions(){ $ActiveElement = jQuery('#ajaxGallery li. active') ; var $ImgHeight, $ImgWidth and if( ! $ActiveElement.find('img.orig')){ $ImgHeight = $ActiveElement. animation({'height':$ImgHeight+'px','width':$ImgWidth+'px','margin-left' :(($ajaxWidth - $ImgWidth) / 2)+'px'}, },'slow') ; } Funktion setSlideButtonStates(){ $ActiveElement = jQuery('#ajaxGallery li. enabled) ; jQuery('#ajaxSlider.SlideIcon'). removeClass('Disabled') ; if( ! $ActiveElement.prev().length) jQuery('#ajaxSlider.BackIcon'). addClass('Disabled'). addClass('Disabled') ; if( ! $ActiveElement.next().length).jQuery('#ajaxSlider .NextIcon'). addClass('Disabled') ; }.