Deutsch
Werbe-Spezialeffekte im Vollbildmodus mit Gleiteigenschaften, die nach einer bestimmten Zeitspanne automatisch ausgeschaltet werden können.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http ://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312" /> <title>Sliding-Downcodes für Vollbildanzeigen. com </title> <script type="text/javascript" language="javascript"> var IntervalId = null; function slideAd(id,nStayTime,sState,nMaxHth,nMinHth){ this.stayTime=nStayTime*1000 ||. this.maxHeigth=nMaxHth ||. //Maximale Werbehöhe this.minHeigth=nMinHth 1; var obj = document.getElementById ) window.clearInterval(intervalId); function openBox(){ var h = obj.offsetHeight = ((this.state == "down") ? (h +5 ) : (h - 5)) + "px"; if(obj.offsetHeight>this.maxHeigth){ window.clearInterval(intervalId); IntervalId=window.setInterval(closeBox,this.stayTime); } if (obj.offsetHeight<this.minHeigth){ window. clearInterval (intervalId); obj.style.display="none"; } function closeBox(){ slideAd(id,this.stayTime,"up",nMaxHth,nMinHth } interruptId = window.setInterval(openBox,2) ; } </script> </head> <body> <div id="slideAD" style="overflow: versteckt; height: 0"> <div align="center"><a href="#"><img name = „AD“ src = „“ width = „778“ height = „300“ alt = „Anzeigeninhalt downcodes.com“ style = „background-color: #FF6600; border:0;“ /></a>< / div> </div> <script type="text/javascript"> slideAd('slideAD',5); </script> <div style="background-color:#0CF; border-top:2px #3399CC solid ; font-size:12px; text-align:center; padding:3px;">Sliding full screen ad downcodes.com</div> </body> </html>