function reloadFrames(){ if(parent.frames.length <= 0){ document.location.href='start'; //alert('Umleiten'); } } thumb_id=0; $(document).ready(function() { $('.zufallsbild').cycle({ cleartype: 1, cleartypeNoBg: true, fx: 'fade', timeout: 8000}); $('.thumbnails div:first').fadeIn(1000, function() { $('.thumbnails').cycle({ fx: 'fade', cleartypeNoBg: true, slideExpr: 'div', sync: false, prev: '.prevThumbs', next: '.nextThumbs', timeout: 0}); }); $('.thumbnails div img').fadeTo('slow', 0.3); $('.thumbnails div img.first').fadeTo('slow', 1) $('.thumbnails img').click( function(){ $('.thumbnails div img.first').fadeTo('slow', 0.3) $('#'+thumb_id).fadeTo('slow', 0.3) thumb_id=this.id; }); $('.thumbnails img').hover( function() { $(this).fadeTo('slow', 1) }, function(){ if (this.id!=thumb_id){ $(this).fadeTo('slow', 0.3) } }); $('a.lightbox').lightBox({ overlayBgColor: '#000', overlayOpacity: 0.6, imageLoading: 'js/jquery-lightbox/images/lightbox-ico-loading.gif', imageBtnClose: 'js/jquery-lightbox/images/lightbox-btn-close.gif', imageBtnPrev: 'images/prev.gif', imageBtnNext: 'images/next.gif', containerResizeSpeed: 350, txtImage: 'Bild ', txtOf: 'von' }); $('a.lightbox_potm').lightBox({ fixedNavigation: true, overlayBgColor: '#000', hideNavigation: true, overlayOpacity: 0.6, imageLoading: 'js/jquery-lightbox/images/lightbox-ico-loading.gif', imageBtnClose: 'js/jquery-lightbox/images/lightbox-btn-close.gif', containerResizeSpeed: 350 }); }); // var fenster = false; function musicplayer(){ //if (fenster == false || fenster.closed == true){ //var fenster = window.open('flash/player.php', "fenster", "width=50,height=50,status=no,scrollbars=no,resizable=yes"); //window.focus(); //} } function checkFrame(){ if(parent.frames.length <= 0){ document.getElementById('musicform').style.display='none'; } }