var media_array=[]; mediaidx=0; media_array[0]={}; media_array[0]['id']="19"; media_array[0]['datum']="20-05-11"; media_array[0]['formation']="Aminata and the Astronauts"; media_array[0]['titel']="Chain of fools"; media_array[0]['besetzung']="Aminata - vocs
Thomas Palme - guit
Jan Fenzl - bass
Thomas Böröcz - drums
Wolfgang Schmidt - keys"; media_array[0]['technik']="Recording: Luftbad Haustechnik
Mix: Wolfgang Schmid"; media_array[0]['url']="http://www.youtube.com/watch?v=JNWR6gGCGxQ"; media_array[0]['file_id']="420"; media_array[0]['picurl']="fotos_upl/20110325211137_retro_scifi_a.jpg"; media_array[0]['picurlthumb']="fotos_upl/thumbs/20110325211137_retro_scifi_a.jpg"; media_array[0]['picurlsuperthumb']="fotos_upl/superthumbs/20110325211137_retro_scifi_a.jpg"; media_array[0]['myorder']="1"; media_array[0]['min']="05"; media_array[0]['sec']="00"; media_array[1]={}; media_array[1]['id']="16"; media_array[1]['datum']="06-02-11"; media_array[1]['formation']="Salah Addin And Friends"; media_array[1]['titel']="Ma Jana"; media_array[1]['besetzung']="Salah-Addin: guitar, vocals
Courtney Jones: drums
Tata Nourani: flute
Roman Azul: bass"; media_array[1]['technik']="Recording: Luftbad Haustechnik
Mastering: SOUNDDESIGN"; media_array[1]['url']="http://www.youtube.com/watch?v=5d99nwlp_y0"; media_array[1]['file_id']="215"; media_array[1]['picurl']="fotos_upl/20090402113420_Salah_Addin.jpg"; media_array[1]['picurlthumb']="fotos_upl/thumbs/20090402113420_Salah_Addin.jpg"; media_array[1]['picurlsuperthumb']="fotos_upl/superthumbs/20090402113420_Salah_Addin.jpg"; media_array[1]['myorder']="2"; media_array[1]['min']="04"; media_array[1]['sec']="53"; media_array[2]={}; media_array[2]['id']="15"; media_array[2]['datum']="18-01-11"; media_array[2]['formation']="Aminata and the Astronauts"; media_array[2]['titel']="Title 2"; media_array[2]['besetzung']="Aminata - vocs
Thomas Palme - guit
Jan Fenzl - bass
Thomas Böröcz - drums
Wolfgang Schmidt - keys"; media_array[2]['technik']="Recording: Luftbad Haustechnik
Mastering: SOUNDDESIGN"; media_array[2]['url']="http://www.youtube.com/watch?v=G8wMW3lCDkU"; media_array[2]['file_id']="421"; media_array[2]['picurl']="fotos_upl/20110325211500_aminata_and_the_astronauts.jpg"; media_array[2]['picurlthumb']="fotos_upl/thumbs/20110325211500_aminata_and_the_astronauts.jpg"; media_array[2]['picurlsuperthumb']="fotos_upl/superthumbs/20110325211500_aminata_and_the_astronauts.jpg"; media_array[2]['myorder']="3"; media_array[2]['min']="08"; media_array[2]['sec']="57"; media_array[3]={}; media_array[3]['id']="13"; media_array[3]['datum']="23-12-10"; media_array[3]['formation']="Kinky Natalie"; media_array[3]['titel']="U Gotta"; media_array[3]['besetzung']="Renee \'Rai\' Benson -vox
Markus Schwarz- bass
Peter Blemenschütz- tenor sax
Mark Schoch- trumpet
Manuel Schönegger- saxophone
Thomas Aichinger- drums
Christian Stocker- guitar
Helmut Mühlbacher - guitar"; media_array[3]['technik']="Recording: Luftbad Haustechnik
Mastering: SOUNDDESIGN"; media_array[3]['url']="http://www.youtube.com/watch?v=Sbst4a5c100"; media_array[3]['file_id']="362"; media_array[3]['picurl']="fotos_upl/20100905150303_Rai_condelezza_the_skeezer_photo_1.jpg"; media_array[3]['picurlthumb']="fotos_upl/thumbs/20100905150303_Rai_condelezza_the_skeezer_photo_1.jpg"; media_array[3]['picurlsuperthumb']="fotos_upl/superthumbs/20100905150303_Rai_condelezza_the_skeezer_photo_1.jpg"; media_array[3]['myorder']="4"; media_array[3]['min']="07"; media_array[3]['sec']="07"; media_array[4]={}; media_array[4]['id']="17"; media_array[4]['datum']="06-02-11"; media_array[4]['formation']="Salah Addin And Friends"; media_array[4]['titel']="Title 2"; media_array[4]['besetzung']="Salah-Addin: guitar, vocals
Courtney Jones: drums
Tata Nourani: flute
Roman Azul: bass"; media_array[4]['technik']="Recording: Luftbad Haustechnik
Mastering: SOUNDDESIGN"; media_array[4]['url']="http://www.youtube.com/watch?v=1X4317QtlEQ"; media_array[4]['file_id']="215"; media_array[4]['picurl']="fotos_upl/20090402113420_Salah_Addin.jpg"; media_array[4]['picurlthumb']="fotos_upl/thumbs/20090402113420_Salah_Addin.jpg"; media_array[4]['picurlsuperthumb']="fotos_upl/superthumbs/20090402113420_Salah_Addin.jpg"; media_array[4]['myorder']="5"; media_array[4]['min']="04"; media_array[4]['sec']="23"; media_array[5]={}; media_array[5]['id']="14"; media_array[5]['datum']="18-01-11"; media_array[5]['formation']="Aminata And The Astronauts"; media_array[5]['titel']="You Ain't Nothing but a Hound Dog"; media_array[5]['besetzung']="Aminata - vocs
Thomas Palme - guit
Jan Fenzl - bass
Thomas Böröcz - drums
Wolfgang Schmidt - keys"; media_array[5]['technik']="Recording: Luftbad Haustechnik
Mastering: SOUNDDESIGN"; media_array[5]['url']="http://www.youtube.com/watch?v=GMg0lafDZnY"; media_array[5]['file_id']="421"; media_array[5]['picurl']="fotos_upl/20110325211500_aminata_and_the_astronauts.jpg"; media_array[5]['picurlthumb']="fotos_upl/thumbs/20110325211500_aminata_and_the_astronauts.jpg"; media_array[5]['picurlsuperthumb']="fotos_upl/superthumbs/20110325211500_aminata_and_the_astronauts.jpg"; media_array[5]['myorder']="6"; media_array[5]['min']="07"; media_array[5]['sec']="18"; media_array[6]={}; media_array[6]['id']="12"; media_array[6]['datum']="11-01-11"; media_array[6]['formation']="Global Groove LAB"; media_array[6]['titel']="Sperrstundendrama"; media_array[6]['besetzung']="vocs: Rudi Grazl (aut)
perc: Feri Bogdandi (rom)
bass: Jovan Torbica (ser)
violin: Pavel Shalman (rus)
written by: Wienerglühn"; media_array[6]['technik']="Recording: Thomas Aichinger
Mastering: SOUNDDESIGN"; media_array[6]['url']="http://www.youtube.com/watch?v=kRDySPdrOHw"; media_array[6]['file_id']="437"; media_array[6]['picurl']="fotos_upl/20110515141538_poster_small.jpg"; media_array[6]['picurlthumb']="fotos_upl/thumbs/20110515141538_poster_small.jpg"; media_array[6]['picurlsuperthumb']="fotos_upl/superthumbs/20110515141538_poster_small.jpg"; media_array[6]['myorder']="7"; media_array[6]['min']="03"; media_array[6]['sec']="42"; media_array[7]={}; media_array[7]['id']="11"; media_array[7]['datum']="06-12-10"; media_array[7]['formation']="Frenzl Experience"; media_array[7]['titel']="What would you do"; media_array[7]['besetzung']="vocs: Edi Fenzl
guit: Edi Fenzl
drum: David Fenzl
bass: Jan Fenzl"; media_array[7]['technik']="Recording: Luftbad Haustechnik
Mastering: SOUNDDESIGN"; media_array[7]['url']="http://www.youtube.com/watch?v=-0zl4l8Bx28"; media_array[7]['file_id']="370"; media_array[7]['picurl']="fotos_upl/20100926200901_FenzlExperience.jpg"; media_array[7]['picurlthumb']="fotos_upl/thumbs/20100926200901_FenzlExperience.jpg"; media_array[7]['picurlsuperthumb']="fotos_upl/superthumbs/20100926200901_FenzlExperience.jpg"; media_array[7]['myorder']="8"; media_array[7]['min']="07"; media_array[7]['sec']="03"; //recamp.js.php var IE=false; if(navigator.appName=='Microsoft Internet Explorer'){IE=true;} var DOMTeasertarget=$('#maindiv'); var mediacount=5; var myImgs=[]; var CurrStartTime=0; var CurrState; var VoidIdx=0; var OrigPanelheight; var dims; dims=get_screen_dims(); var mywidth=dims[0]; var myheight=dims[1]; var isMuted=false; myImgs['teaser']=[]; for(var i=0;i<3;i++) { myImgs['teaser'][i]=new Image; myImgs['teaser'][i].src='pix/recampmini_a'+i+'.png'; myImgs['teaser'][i].id='teaserpic'+i+''; myImgs['teaser'][i].value=i; } myImgs['main']=[]; for(var i=0;i<4;i++) { myImgs['main'][i]=new Image; myImgs['main'][i].src='pix/rea_'+i+'.png'; myImgs['main'][i].value=i; } var pause_timer; function pause_start() { //alert('ooo '+$('#recampmainpic0_3').is(':hidden')); clearTimeout(pause_timer); if(IE) { if( $('#recampmainpic0_3').is(':hidden') ) { $('#recampmainpic0_3').show(); pause_timer=window.setTimeout(function(){ pause_start(); },600); }else{ $('#recampmainpic0_3').hide(); pause_timer=window.setTimeout(function(){ pause_start(); },600); } }else{ if( $('#recampmainpic0_3').is(':hidden') ) { $('#recampmainpic0_3').fadeIn('slow',function(){ pause_timer=window.setTimeout(function(){ pause_start(); },300); }); }else{ $('#recampmainpic0_3').fadeOut('slow',function(){ pause_timer=window.setTimeout(function(){ pause_start(); },300); }); } } } var blinktimer; function pause_stop() { clearTimeout(pause_timer); clearTimeout(blinktimer); //alert('lll'); if( $('#recampmainpic0_3').is(':hidden') ) { }else{ if(IE) { $('#recampmainpic0_3').hide(); }else{ $('#recampmainpic0_3').fadeOut(); } } } function start_blinking(){ if( $('#recampteaser1').is(':hidden') ) { $('#recampteaser1').show(); blinktimer=window.setTimeout(function(){ start_blinking(); },1200); }else{ $('#recampteaser1').hide(); blinktimer=window.setTimeout(function(){ start_blinking(); },4200); } } //function loadjscssfile(filename, filetype){ // if (filetype=="js"){ //if filename is a external JavaScript file // var fileref=document.createElement('script') // fileref.setAttribute("type","text/javascript") // fileref.setAttribute("src", filename) // } // else if (filetype=="css"){ //if filename is an external CSS file // var fileref=document.createElement("link") // fileref.setAttribute("rel", "stylesheet") // fileref.setAttribute("type", "text/css") // fileref.setAttribute("href", filename) // } // if (typeof fileref!="undefined") // document.getElementsByTagName("head")[0].appendChild(fileref) //} // //loadjscssfile("recamp.css", "css"); function recamp_teaser() { var rca=new recamp; rca.mk_teaserdiv($('#maindiv')); //$('#maindiv').css('border','solid red 2px'); rca.set_mode('teaser'); } function recamp_main() { var rca=new recamp; rca.mk_maindivs(); rca.set_mode('main'); } function start_player() { // if(!CurrStartTime) // { // CurrStartTime=0; // } // if(CurrStartTime>0) // { // var CurrStartTime=Math.floor($("#bgndVideo").getYTPCurrentTime()); // } CurrStartTime=0; var t=''; // setTimeout(function(){ // alert(media_array[mediaidx]['titel']); // },2000); //return false; if($('#fullscreenVideo').width()>0) { //es spielt nochmal }else{ //t+='
'; //alert(media_array[mediaidx]['url']); t+=''; t+=''; $('#recampmainscreen0').html(t); $(".movie").mb_YTPlayer(); } update_panel(); } function update_panel() { for(var i=0;i'+media_array[mediaidx]['titel']+''; m[2]='paused'; $('#recampmainscreentext0').html('
****
'+m[state]+' '+state); //$('#panelhandle').append(state+'
'); if(state==-1) { $("#bgndVideo"+VoidIdx).playYTP(); } if(state==1) { pause_stop(); if($('#fullscreenVideo').is(':visible') ) { $('#folieupperdiv').hide(); $('#folie').hide(); } $('#superverb'+mediaidx).html('Now Playing'); $('#panelmute').css('top',90); $('#panelmute').show(); if(isMuted) { $("#bgndVideo"+VoidIdx).muteYTP(); } $('#panelmute').unbind('click'); $('#panelmute').mouseenter(function(){ $('#mute').attr('src','pix/mute.png'); }).mouseleave(function(){ $('#mute').attr('src','pix/mute_sw.png'); }); $('#panelmute').bind('click',{idx: VoidIdx},function(ev){ if($("#bgndVideo"+ev.data.idx).isMutedYTP()) { $("#bgndVideo"+ev.data.idx).unMuteYTP(); isMuted=false; $('#mute').attr('src','pix/mute_sw.png'); }else{ $("#bgndVideo"+ev.data.idx).muteYTP(); isMuted=true; $('#mute').attr('src','pix/mute.png'); $('#panelmute').unbind('mouseenter'); $('#panelmute').unbind('mouseleave'); } }); //fullscreenbutton $('#recampfullscreen').show(); //alert($('#recampfullscreen').height()); window.setTimeout(function(){ $('#recampmainscreentext0').css('font-size','0.0em'); },2000); }else{ $('#recampfullscreen').hide(); $('#recampmainscreentext0').css('font-size','1.0em'); } if(state==2) { pause_start(); } if(state==0) { $("#bgndVideo"+VoidIdx).remove(); $('#recampmainscreen0').html(''); mediaidx++; VoidIdx++; if((mediaidx)==media_array.length) { mediaidx=0; } for(var j=0;j0) { $('#foliebodydiv').css('overflow','hidden'); var dims; dims=get_screen_dims(); var mywidth=dims[0]; var myheight=dims[1]; document.getElementById("folie").style.height=myheight+"px"; document.getElementById("folie").style.width=mywidth+"px"; document.getElementById("folieupperdiv").style.overflow="hidden"; //document.getElementById("folie").style.display="inline"; var w=$('#folieupperdiv').width(); var h=$('#folieupperdiv').height(); var myx=(mywidth-w)/2; var myy=((myheight)/5)+54; //alert(myx+' '+myy); document.getElementById("folieupperdiv").style.position="absolute"; document.getElementById("folieupperdiv").style.left=myx+"px"; document.getElementById("folieupperdiv").style.top=myy+"px"; // var panelheight=$('#panelcontainer').height(); // var t=((myheight-panelheight)/2); // //var t1=t-$('#schliessen').height(); // //alert(t); $('#panel').css('top',180); $('#superinfo').css('left',myx+124); $('#superinfo').css('top',10); $('#superinfo').css('width',(document.documentElement.clientWidth/2)-63); var pmax=document.documentElement.clientHeight-158; if($('#panel').height()>pmax||OrigPanelheight>$('#panel').height()) { $('#panel').css('height',pmax); $('#panel').css('width',297); //280px +17 $('#panel').css('right',-219); }else{ $('#panel').css('right',-202); } // $('#panelhandle').css('height',panelheight+10); } } function get_screen_dims(){ var out=[]; if(document.documentElement.clientWidth>$('body').width()) { out.push(document.documentElement.clientWidth); }else{ out.push($('body').width()); } if(document.documentElement.clientHeight>$('body').height()) { out.push(document.documentElement.clientHeight); }else{ out.push($('body').height()); } return out; } function maxZ(){ var maxZ = Math.max.apply(null,$.map($('body > *'), function(e,n){ if($(e).css('position')=='absolute') return parseInt($(e).css('z-index'))||1 ; }) ); return maxZ; } //''''''''''''' // Class recamp //''''''''''''' function recamp() { this.mode=false; this.timer=false; this.set_mode=function (mode){ this.mode=mode; switch(this.mode) { case 'teaser': //lauftext: var txt='THE BEST OF RECORDING PARTIES - LISTEN TO THE GROOVIEST TUNES FILED SO FAR - CLICK HERE! - RECORDING-PARTIES@LUFTBAD *** '; var txt='The BEST OF *** LISTEN TO THE GROOVIEST TUNES *** CLICK TO LISTEN *** AUDIO RECORDED @ LUFTBAD *** CLICK TO LISTEN *** '; var lftxt=''; for(var i=0;i<3;i++) { var t=''; t+='
'; t+='
'; t+='
'; t+='
'; $('#recampdiv').prepend(t); $('#recampteaser'+i).html(myImgs[this.mode][i]); if(i<2) { $('#recampteaser'+i).fadeIn(2000); //alert($('#recampteaser'+i).html()); } var lasti=i; lftxt+=txt; } var t=''; t+='
'; t+='
'; t+=''+lftxt+'
'; t+='
'; $('#recampdiv').prepend(t); var t=''; t+='
'; t+='
'; t+='
'; t+='
'; $('#recampdiv').prepend(t); $('#recampteaser'+i).html(myImgs['teaser'][i]); $('#recampteasertxt').fadeIn(3000); $('#recampteaserpad').bind('click', {md: mode}, function(event) { //alert(event.data.md); recamp_main(); }); $('#recampteaserpad').mouseenter(function() { clearTimeout(blinktimer); $('#recampteaser2').fadeIn(); $("#recampteasertxt").removeClass("recampteasertxt_na").addClass("recampteasertxt_a"); }).mouseleave(function() { $('#recampteaser2').fadeOut(); $("#recampteasertxt").removeClass("recampteasertxt_a").addClass("recampteasertxt_na"); start_blinking(); }); start_blinking(); break; case 'main': //execute code block 2 this.mode=mode; $('#folie').css('opacity',.7); folie_on(); mk_players(0,'
Hearty Welcome!

LOGO-CLICK = START/STOP'); //$('#folieupperdiv').html(myImgs[this.mode][0]); //$('#'+myImgs[this.mode][0].id).delay(800).fadeIn('slow'); break; default: //code to be executed if n is different from case 1 and 2 } }//end this.set_mode mk_panel=function() { $('#folie').prepend('
'); $('#panel').html('
'); //$('#panel').css('opacity',0.2); $('#panelhandle').css('z-index',5000000); $('#panel').show(); $('#panelhandle').show(); $('#panelhandle').bind('mouseenter',function(event) { $('#panelhandle').removeClass('panelhandle_na'); $('#panelhandle').addClass('panelhandle_a'); $('#panelitemsuperinfo'+mediaidx).show(); }); $('#panelhandle').bind('mouseleave',function(event) { $('#panelhandle').removeClass('panelhandle_a'); $('#panelhandle').addClass('panelhandle_na'); $('#panelitemsuperinfo'+mediaidx).hide(); }); $('#panelhandle').bind('click',function(event) { $('#panel').css('opacity',1); var ofs=$('#panel').position(); var myx=document.documentElement.clientWidth-ofs.left; //alert(myx); if(myx<100){ $('#panel').animate({ right:0 },1000, function(){ }); }else{ var ri=(myx-80)*-1; $('#panel').animate({ right:ri },1000, function(){ }); } }); for(var i=0;i'); $('#superinfo').append('
'); var so=''; so+='
'; so+=''; so+=''; so+=''; so+=''; so+=''; so+=''; so+=''; so+=''; so+='
'; so+='
In Playlist
'; so+=media_array[i]['formation']+'
'; so+=''+media_array[i]['titel']+''; so+='
'; so+='
'; so+='
Besetzung
'; so+='
'+media_array[i]['besetzung']+'
'; so+='
'; so+='
Technik
'; so+='
'+media_array[i]['technik']+'
'; so+='
Dauer
'; so+='
'+media_array[i]['min']+':'+media_array[i]['sec']+'
'; so+='
Aufnahmedatum
'; so+='
'+media_array[i]['datum']+'
'; so+='
'; $('#panelitemsuperinfo'+i).append(so); var o=''; o+='
'; o+='
'; o+=media_array[i]['formation']+'
'; o+=''+media_array[i]['titel']+'
'; o+=media_array[i]['min']+':'+media_array[i]['sec']; o+='
'; o+='
'; o+='
'; $('#panelitem'+i).html(o); $('#panelitem'+i).bind('mouseenter mouseleave',{myidx : i},function(event) { //Hier wird zusatzinfo eingeblendet $('#panelitemsuperinfo'+i).toggle(); }); $('#panelitem'+i).bind('click',{myidx : i},function(event) { mediaidx=event.data.myidx; VoidIdx++; start_player(); //alert($(this).css('z-index')); }); } player_init=function() { if(IE) { $('#folie').css('opacity',1); $(this).removeClass("recampmainscreen_a").addClass("recampmainscreen_na"); $('#recampmainscreen0').html('

Starting...'); $('#recampmainpic0_2').show(); //alert(666); }else{ $('#folie').animate({ opacity: 1 }, 1400, function() { // Animation complete. $(this).removeClass("recampmainscreen_a").addClass("recampmainscreen_na"); }); $('#recampmainpic0_2').fadeIn('slow'); } // mk_panel(); start_player(); } mk_players=function (idx,lftxt){ $('#folieupperdiv').prepend('

'); for(var i=0;i<4;i++) { var t=''; t+='
'; t+='
'; t+='
'; t+='
'; $('#recampmainanchor'+idx).append(t); $('#recampmain'+idx+'_'+i).append(''); if(i==0) { $('#recampmainpic'+idx+'_'+i).fadeIn(2000*i); //alert('#recampmain'+idx+'_'+i); } var lasti=i; } var t=''; t+='
'; t+='
'; t+='
'; t+='
'; $('#recampmainanchor'+idx).append(t); var t=''; t+='
'; t+='
'; t+=''+lftxt+'
'; t+='
'; $('#recampmainanchor'+idx).append(t); // var t=''; // t+='
'; // t+='
'; // t+='
'; // t+='
'; // $('#recampmainanchor'+idx).append(t); var t=''; t+='
'; t+='
'; t+='
'; t+='
'; $('#recampmainanchor'+idx).append(t); //$('#recampmainscreen'+idx).css('opacity',0.5); resize_recamp(); $('#recampmainscreen'+idx).fadeIn(''); $('#recampfullscreen').bind('click',function() { //mk_fullscreen(); $(".recampmainscreen").css('overflow','visible'); //$("#bgndVideo"+VoidIdx).css('z-index',600000); // $("#bgndVideo"+VoidIdx).animate({ // left: 0, // top: 0, // width:mywidth, // height:myheight // // }, 5000, function() { // // Animation complete. // }); //// //// //$("#bgndVideo"+VoidIdx).css('position','absolute'); // $("#bgndVideo"+VoidIdx).css('top','200'); // $("#bgndVideo"+VoidIdx).css('left','-200px'); // // $("#bgndVideo"+VoidIdx).width(mywidth); // $("#bgndVideo"+VoidIdx).height(myheight); // alert(888); //document.getElementById("bgndVideo"+VoidIdx).pauseVideo(); }) $('#recampfullscreen').mouseenter(function() { $(this).removeClass("recampfullscreen_na").addClass("recampfullscreen_a"); }).mouseleave(function() { $(this).removeClass("recampfullscreen_a").addClass("recampfullscreen_na"); }); //alert('#recampmainpad'+idx+''); $('#recampmainpad'+idx+'').bind('click', {myidx : idx}, function(event) { if(0==event.data.myidx) { if( $('#recampmainpic0_2').is(':hidden') ) { //Start new Play //alert(i+' == '+event.data.myidx+' //Start new Play'); player_init(); $('#recampmainpad0').unbind("mouseenter"); $('#recampmainpad0').unbind("mouseleave"); }else{ //already playing or played switch($("#bgndVideo"+VoidIdx).getYTPstatus()) { case 1: //spielt - machen jetzt pause $("#bgndVideo"+VoidIdx).pauseYTP(); break; case 2: //spielt - machen jetzt pause $("#bgndVideo"+VoidIdx).playYTP(); break; default: //alert('was?'); $("#bgndVideo"+VoidIdx).pauseYTP(); break; } // } }else{ if( $('#recampmainpic0_2').is(':hidden') ) { //passt }else{ $('#recampmainpic0_2').fadeOut('fast'); $('#recampmainpic0_1').fadeOut(1200); mk_mouseover(0); } } }); mk_mouseover(idx); } mk_mouseover=function(idx){ $("#recampmainscreentext"+idx).removeClass("recampmainscreen_a").addClass("recampmainscreen_na"); $('#recampmainpad'+idx+'').bind('mouseenter',{myidx : idx},function(event) { //clearTimeout(blinktimer); $('#recampmainpic'+event.data.myidx+'_1').fadeIn(); //$("#recampteasertxt").removeClass("recampteasertxt_na").addClass("recampteasertxt_a"); $("#recampmainscreentext"+idx).removeClass("recampmainscreen_na").addClass("recampmainscreen_a"); }); $('#recampmainpad'+idx+'').bind('mouseleave',{myidx : idx},function(event) { $('#recampmainpic'+event.data.myidx+'_1').fadeOut(); $("#recampmainscreentext"+idx).removeClass("recampmainscreen_a").addClass("recampmainscreen_na"); //$("#recampteasertxt").removeClass("recampteasertxt_a").addClass("recampteasertxt_na"); //start_blinking(); }); } folie_off=function(){ $('body').css('overflow','visible'); $('body').width(bodywidth); $('body').height(bodyheight); if(IE) { $('#folie').hide().html(''); $('#folieupperdiv').hide().html(''); }else{ $('#folie').fadeOut('slow').html(''); $('#folieupperdiv').fadeOut('fast').html(''); } $('#panel').remove(); $('#panelexit').remove(); $('#panelmute').remove(); } stop_fullscreen=function(){ } next_fullscreen=function(){ $('#fullscreenVideo').remove(); $('#fullscreenVideoContainer').remove(); $('body').append(''); $('#fullscreenVideo').height(myheight); $('#fullscreenVideo').width(mywidth); $('#fullscreenVideoContainer').prepend(''); //$(".movie").mb_YTPlayer(); } mk_fullscreen=function(){ //get time of player if(CurrState==1) { var CurrStartTime=Math.floor($("#bgndVideo"+VoidIdx).getYTPCurrentTime()); //kill video in player $('#recampmainscreen0').html(''); $('#recampmainscreentext0').html('
****
Switching To Fullscreen... '); $('#recampmainscreentext0').show(); $('#panel').hide(); $('#panelexit').hide(); }else{ CurrStartTime=0; } //alert(CurrStartTime); //var z=maxZ()+1; $('body').append(''); $('#fullscreenVideo').height(myheight); $('#fullscreenVideo').width(mywidth); $('#fullscreenVideoContainer').prepend('Schliessen'); $(".movie").mb_YTPlayer(); } var bodywidth=$('body').width(); var bodyheight=$('body').height(); folie_on=function(){ // document.getElementById("folie").style.position="absolute"; document.getElementById("folie").style.left="0px"; document.getElementById("folie").style.top="0px"; document.getElementById("folie").style.width=document.documentElement.clientWidth+"px"; $("#folie").css('cursor','default'); var dims; dims=get_screen_dims(); var mywidth=dims[0]; var myheight=dims[1]; document.getElementById("folie").style.height=myheight+"px"; document.getElementById("folieupperdiv").style.overflow="hidden"; //document.getElementById("folie").style.display="inline"; var w=$('#folieupperdiv').width(); var h=$('#folieupperdiv').height(); var myx=(mywidth-w)/2; var myy=(myheight-h)/5; //alert(myx+' '+myy); document.getElementById("folieupperdiv").style.position="absolute"; document.getElementById("folieupperdiv").style.left=myx+"px"; document.getElementById("folieupperdiv").style.top=myy+"px"; $('body').css('overflow','hidden'); //$('body').width(600); //$('body').height(400); //('Schliessen'); $('#panelexit').css('top',10); $('#panelexit').delay(1200).fadeIn('slow'); $('#panelexit').bind('click',function(ev){ folie_off(); }); $('#folieupperdiv').delay(1000).fadeIn('slow'); $('#folie').slideDown(); } this.mk_teaserdiv=function (DOMTeasertarget){ DOMTeasertarget.prepend('
'); } this.mk_maindivs=function (DOMTeasertarget){ var m=''; m+='
'; m+='
'; m+=''; m+=''; $('body').append(m); } }//end function recamp()