Deutsch
Webseiten-Spezialeffektcode, ein weiterer einfacher Bildwechsel-Spezialeffekt für Website-Nachrichtenkanäle
<STYLE type=text/css> /* Number button box style*/ #imgTitle {FILTER:ALPHA(opacity=70);position:relative;left:0px ;text-align:left;overflow: versteckt;} #imgTitle_up {left:0px;text-align: left; height:1px; } #imgTitle_down {left:0px;text-align: right; ; } /* Bildfeldstil*/ .imgClass {border: 0px solid #000;} /* Bildtextfeldstil*/ #txtFrom {text-align: center;vertikal-align: middle:#333333} /* Nummernschaltflächenstil*/ .button {text-decoration: none; float:left; line-height:12px;padding-right:6px;background: #7B7B63;font : fett 9px serifenlos; border-left:#fff 1px einfarbig;} a.button, a.button:link, a.button:visited {font-family: sans-serif;text-decoration: none;color:# FFFFFF;Hintergrundfarbe: #000000;} a.button:hover {Schriftfamilie: serifenlos;Textdekoration: keine;Farbe:#fff;Hintergrund:#fff; } .buttonDiv {Hintergrund: #000000;Höhe : 1px;width: 21px;float: left;vertikal-align: middle;} /*gradient*/ .trans { width:88px; overflow:hidden} </STYLE> <SCRIPT language=JavaScript type=text/javascript> var imgWidth=165; //Bildbreite var imgHeight=200; //Fokus-Textfeldhöhe (Einheit: px) var textStyle="bt_link"; //Wortklassenstil fokussieren (nicht Verbindungsklasse) var textLinkStyle="FONT"; //Wortverbindungsstil fokussieren var buttonLineOn="#ce0609" //Farbe der Schaltflächenunterstreichung var buttonLineOff="#000"; Farbe der Schaltflächenunterstreichung aus var TimeOut=5000; //Jede Bildwechselzeit (Einheit Millisekunde); var imgLink=new Array(); var imgAlt=new Array (); var adNum=0; var tt=1; //Fokus-Textfeldhöhen-Stylesheet('<style type="text/css">'); #focuseFrom{width:'+(imgWidth+2)+';margin: 0px; padding:0px;height:'+(imgHeight+textFromHeight)+'px; overflow:hidden;}'); txtFrom{height:'+textFromHeight+'px;line-height:'+textFromHeight+'px;width:'+imgWidth+'px;overflow:hidden;}'); document.write('#imgTitle{width:'+imgWidth+ ' ;top:-'+(textFromHeight+12)+'px;height:18px}'); document.write('</style>'); document.write('<div id="focuseFrom">') ; //Ende des Fokus-Textfelds, Stylesheet tt=1; imgUrl[tt]=' 07/08 Cashmere Sweater Design Forecast'; .downcodes.com'; imgAlt[tt]='07/08 Cashmere Sweater Design Forecast'; imgUrl[tt]=' Color Art of Cashmere Sweater'; tt]='http://www.downcodes.com'; imgAlt[tt]='Die Farbkunst der Kaschmirpullover'; Pullover Die neue Ästhetik der Kaschmirpullover'; imgLink[tt]='http://www.downcodes.com'; imgAlt[tt]='Die neue Ästhetik der Kaschmirpullover'; '; imgtext [tt]=' 07/08 Kaschmirpullover für Damen'; imgLink[tt]='http://www.downcodes.com'; Damen-Kaschmirpullover-Trend'; var intPage =0; for (var i=1;i<=imgUrl.length;i++) { if (imgUrl[i]!="!!!") { intPage++; n) { adNum=n; window.clearInterval(theTimer); adNum=adNum-1; nextAd(); function goUrl(){ window.open(imgLink[adNum],'_blank'); (navigator.appName == " Netscape") { document.write('<style type="text/css">'); document.write('.buttonDiv{height:4px;width:21px;}'); .write('</style >'); function nextAd(){ if(adNum<(intPage-1))adNum=1; theTimer=setTimeout("nextAd()", TimeOut); imgInit.src=imgUrl[adNum]; document.images.imgInit.alt=imgAlt[adNum]; document.getElementById('focustext').innerHTML=imgtext[adNum]; .background=buttonLineOn; document. getElementById('imgLink').href=imgLink[adNum]; for (var i=1;i<=intPage;i++) { if (i!=adNum){document.getElementById('link '+i).style.background=buttonLineOff;} } } document.write('<a id="imgLink" href="'+imgLink[1]+'" target=_blank class="p1"><img src ="imgUrl[1]" name="imgInit" border=1 alt="'+imgAlt[1]+'" class="imgClass"></a><div id="txtFrom"><span id=" focustext" class="'+ textStyle+'">'+imgtext[1]+'</span></div>') document.write('<div id="imgTitle">'); document.write(' <div id="imgTitle_down" >'); //Der Nummernschaltflächencode beginnt for(var i=1;i<intPage;i++){document.write('<a href="javascript:changeimg('+i+' )" class="button" style ="cursor:hand" title="'+imgAlt[i]+'">'+i+'</a>');} //Nummernschaltflächencode beendet document.write(' </div>'); document.write('</div>'); ; for (i=1;i <intPage;i++) { if( (imgUrl[i]!="") && (imgLink[i]!="")&&(imgtext[i]!="")&&( imgAlt[i]!="" ) ) { count++; } else { break; ; function nextAd(){ if( adNum<count)adNum++ ; if( key==0 ){ } else if (document.all){ //imgInit.filters.revealTransition= 6; document.images.imgInit. filter.BlendTrans.apply(); } document.images.imgInit.alt=imgAlt[adNum]; ('link'+adNum).style.background=buttonLineOn; for (var i=1;i<=count;i++) { if (i!=adNum){document.getElementById('link'+i).style. background=buttonLineOff;} } focustext.innerHTML=imgtext[adNum]; //links_ie_font.links=imglink[adNum]; } document.write('<a target=_self href="javascript:goUrl() "><img style="FILTER: BlendTrans ( duration=1 );" src="javascript:nextAd()" border=0 vspace="0" name=imgInit class="imgClass" ></a>'); document.write('<div id="txtFrom"><a target=_self href="javascript:goUrl()"><span id="focustext" class="'+textStyle+' "></span></ a></div>'); document.write('<div id="imgTitle">'); document.write(' <div id="imgTitle_down"> <a class= "trans"" style="float :left"><img src="" border=0></a>'); //Der Zahlentastencode beginnt for(var i=1;i<intPage;i++){ document.write('<a id= "link'+i+'" href="javascript:changeimg('+i+')" class="button" style="cursor:hand" title="'+imgAlt[i] +'" onFocus="this.blur ()">'+i+'</a>');} //Ende des Zahlenschaltflächencodes document.write('</div>'); document.write('< /div>'); document.write( '</div>'); changeimg(1); } //IE endet</SCRIPT>