<script type="text/javascript" >
var tmjmosmsg,fx;
function pload(){
tmjmosmsg=$$('div.message');
if($type(tmjmosmsg[0])=='element'){
var el=tmjmosmsg[0];
el.setStyle('overflow','hidden');
var h=el.getSize().size.y;
fx = new Fx.Styles(el, {duration:900, wait:false});
//scrol to message
winScroller = new Fx.Scroll(window);
winScroller.toElement($('header'));//name of header div
//delayed start, then remove the html element upon completion
(function(){
fx.start({
'margin-top':-1*h.toInt(),
opacity:0
}).chain(function(){el.remove();});
}).delay(2500);
}
};
window.addEvent('load',function(){
pload();
}
);
</script>
js
1
<scripttype="text/javascript">vartmjmosmsg,fx;functionpload(){tmjmosmsg=$$('div.message');if($type(tmjmosmsg[0])=='element'){varel=tmjmosmsg[0];el.setStyle('overflow','hidden');varh=el.getSize().size.y;fx=newFx.Styles(el,{duration:900,wait:false});//scrol to messagewinScroller=newFx.Scroll(window);winScroller.toElement($('header'));//name of header div//delayed start, then remove the html element upon completion(function(){fx.start({'margin-top':-1*h.toInt(),opacity:0}).chain(function(){el.remove();});}).delay(2500);}};window.addEvent('load',function(){pload();});</script>
Hey there! I see you're running Internet Explorer 6.
That's neat. This reminds me of my grandpa. He had this old car that he kept having to fix. He spent so much money on it that he didn't want to get rid of it (even when it stopped running).
0 Comments