$('ads_content').innerHTML = ''; $('prom_content').innerHTML = '
Nasza Mandriva.pl
Forum programistów
OSNews.pl
Thecamels.org
Dobryhosting
Dragonia Magazine
Łukasiak
'; rrr = $('act'); var myEffect = new Fx.Morph('ads_content', {duration: 'long', transition: 'bounce:out'}); rrr.onmouseover = function(){ if(myEffect) myEffect.cancel(); myEffect.start({ 'height': [100], //Morphs the 'height' style from 10px to 100px. }); } rrr.onmouseout = function(){if(myEffect) myEffect.cancel(); myEffect.start({ 'height': [0], //Morphs the 'height' style from 10px to 100px. }); } t = $('prom'); var myEffect2 = new Fx.Morph('prom_content', {duration: 'long', transition: 'bounce:out'}); t.onmouseover = function(){ if(myEffect2) myEffect2.cancel(); myEffect2.start({ 'height': [170], //Morphs the 'height' style from 10px to 100px. }); } t.onmouseout = function(){if(myEffect2) myEffect2.cancel(); myEffect2.start({ 'height': [0], //Morphs the 'height' style from 10px to 100px. }); } var kier = -1, num = 1,bizuteria= new Fx.Morph('bizshow', {duration: 'long', transition: Fx.Transitions.Sine.easeOut}); function moveBiz(){ bizuteria.start({ 'top': [-num*200], //Morphs the 'height' style from 10px to 100px. }); num -= kier; if(num == 4 || num == 0){ kier *= -1; } } var bpid; function startbiz(){ bpid = setInterval('moveBiz()',10000); } function pausebiz(){ clearInterval(bpid); } startbiz();