$(document).ready(function() { /* var slider = $('.product_teaser_container').bxSlider({ controls: false, ticker: true, tickerHover: true, tickerSpeed: 10000, displaySlideQty: 5 }); */ $("area").each(function() { var area = $(this); //if (!area.attr("title") || area.attr("title") == "") area.attr("title", area.attr("alt")); area.tooltip({ showURL: false }) }); $(".product_thumbnail").tooltip({ showURL: false }) /* $('area').mouseover(function(e) { var left = e.pageX - this.offsetLeft; var top = e.pageY - this.offsetTop - 150; $("#debug").html(e.pageX +" " + this.offsetLeft + " -> " + left ); $("#mausanzeige").css("left", left); $("#mausanzeige").css("top", top); $("#mausanzeige").html($(this).attr("alt")).fadeIn(); }); $('area').mouseleave(function() { $("#mausanzeige").fadeOut(100); $("#mausanzeige").delay(10).html(""); }); */ $('.zoom').jqzoom({ zoomType: 'standard', lens:true, preloadImages: false, alwaysOn:false, zoomWidth: 500, zoomHeight: 500, xOffset:15, yOffset:0, position:'bottom', showEffect : 'fadein', hideEffect: 'fadeout', zoomType: 'innerzoom' }); //reverse innerzoom reverse $('.zoom').css("clear","left"); $('.zoom').css("float","none"); $('.zoom').css("overflow","hidden"); var slider = $('.product_teaser_container').bxSlider({ controls: false, auto:false, displaySlideQty: 5, moveSlideQty: 1, pause:8000 }); $('.product_teaser_prev').click(function(){ //slider.stopTicker(); slider.goToPreviousSlide(); return false; }); $('.product_teaser_next').click(function(){ //slider.stopTicker(); slider.goToNextSlide(); //slider.startTicker(); return false; }); var slider2 = $('.product_teaser_container2').bxSlider({ controls: false, auto:true, displaySlideQty: 4, moveSlideQty: 1, pause:8000 }); $('.product_teaser_prev2').click(function(){ //slider.stopTicker(); slider2.goToPreviousSlide(); return false; }); $('.product_teaser_next2').click(function(){ //slider.stopTicker(); slider2.goToNextSlide(); //slider.startTicker(); return false; }); if($(window).width() >= 980) { $("#pages_list").superfish(); } // Add pdf icons to pdf links $(".download_item_box>a[href$='.pdf']").addClass("download_item_ident_pdf"); $(".download_item_box>a[href$='.PDF']").addClass("download_item_ident_pdf"); $(".download_item_box>a[href$='.doc']").addClass("download_item_ident_doc"); $(".download_item_box>a[href$='.mp3']").addClass("download_item_ident"); $("a[href$='.flv']").addClass("download_item_ident"); $(".play_flv_link").click(function() { $("#flv_player_box").fadeIn(); $("#flv_player_box_headline").html($("#"+this.id).attr("title")); jwplayer("flv_player_box_c").setup({ flashplayer: "https://www.toxy.de/kabimba/addons/longtailvideo/player.swf", file: "https://www.toxy.de/photos/"+$("#"+this.id).attr("alt"), repeat: "always", width: 320, height: 280, lightcolor: "#000", screencolor: "#000", autostart: true, allowfullscreen: false }); }); $(".close_flvplayer").click(function() { $("#flv_player_box").fadeOut("fast"); }); }); $(function() { /* $('.feeder_intern_box').cycle({ fx: 'scrollHorz', timeout: 0, next: '.slide_right', prev: '.slide_left' }); */ $('#gallery_sub_box').cycle('fade'); $('#gallery_box').cycle({ fx: 'fade', //timeout: 6000, //delay: -2000 timeout: 0, next: '.next2', prev: '.prev2' }); }); $(function() { $('.lightbox_item').lightBox(); // Select all links that contains lightbox in the attribute rel }); $(function() { $('.slider').cycle( { fx: 'fade' , speed: 3000, timeout: 2000, timeout: 0 }); $('.slider_nav_resume').css("display","none"); $('.slider_nav_pause').click(function() { $('.slider').cycle("pause"); $('.slider_nav_resume').css("display","block"); $('.slider__pause').css("display","none"); }); $('.slider_nav_resume').click(function() { $('.slider').cycle("resume"); $('.slider_nav_resume').css("display","none"); $('.slider_nav_pause').css("display","block"); }); $('.slider_nav_next').click(function() { $('.slider').cycle("next"); }); $('.slider_nav_prev').click(function() { $('.slider').cycle("prev"); }); $('.lighbox_href').lightBox(); }); // start dazu wg dgsvo var gaProperty = 'UA-30491526-1'; var disableStr = 'ga-disable-' + gaProperty; if (document.cookie.indexOf(disableStr + '=true') > -1) { window[disableStr] = true; } function gaOptout() { document.cookie = disableStr + '=true; expires=Thu, 31 Dec 2099 23:59:59 UTC; path=/'; window[disableStr] = true; } var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-30491526-1']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })();