Combo - HTML-QuelltextQuelltext von combo.html |
![]() ![]() ![]() |
Dies ist die Auflistung der Datei combo.html.
Im folgenden Quelltext sind wichtige Bereiche rot markiert. |
![]() ![]() ![]() ![]() |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=iso-8859-1"> <meta http-equiv="content-language" content="en"> <meta http-equiv="content-script-type" content="text/javascript"> <meta http-equiv="content-style-type" content="text/css"> <meta name="author" content="Ulrich Kritzner"> <meta name="robots" content="none"> <title>JavaScript - DivContent - Demo</title> <script type="text/javascript" src="timer.js"></script> <script type="text/javascript" src="divcontent.js"></script> <script type="text/javascript" src="newsticker.js"></script> <script type="text/javascript" src="clock.js"></script> <script type="text/javascript" src="change.js"></script> <script type="text/javascript"> <!-- var Ticker,Uhr,Chg; var droeppeztext=" +++ +++ +++ Wer macht die fettesten JavaScripts?"; droeppeztext+=" Na? Na? Na? Wer isses? Hmmm?"; droeppeztext+=" +++ Ulrich Kritzner the Droeppez rockt den Scheiss"; droeppeztext+=" +++ Wickeda Programma"; var text1="<table border=\"0\" cellspacing=\"0\" cellpadding=\"10\" width=\"100%\">"; text1+="<tr><td style=\"background:#F0F0A0\" align=center><b>"; text1+="mein Tutorial gelinkt: "; text1+="<a href=\"http://www.droeppez.de/download/js-tut/index.html\""; text1+=" style=\"color:#800000; text-decoration:none\">"; text1+="Das JavaScript-Tutorial" text1+="</a></b></td></tr></table>" var text2="<table border=\"0\" cellspacing=\"0\" cellpadding=\"10\" width=\"100%\">"; text2+="<tr><td style=\"background:#00A000\" align=center><b>"; text2+="krasser link: "; text2+="<a href=\"http://de.selfhtml.org\""; text2+=" style=\"color:#FFFFFF; text-decoration:none\">"; text2+="HTML-Handbuch SELFHTML" text2+="</a></b></td></tr></table>" var text3="<table border=\"0\" cellspacing=\"0\" cellpadding=\"10\" width=\"100%\">"; text3+="<tr><td style=\"background:#A0F0F0\" align=center><b>"; text3+="krasser link: "; text3+="<a href=\"http://www.selfhtml.de\""; text3+=" style=\"color:#000080; text-decoration:none\">"; text3+="DIE blauen Netzprogrammierseiten: www.selfhtml.de (mit Foren)" text3+="</a></b></td></tr></table>" function Init() { Ticker=new NewsTicker("Ticker","ticker"); Ticker.SetContent(droeppeztext,60); Ticker.SetAttributes("<tt style=\"color:#000080; background-color:#D0F0FF\">","</tt>"); Uhr=new Clock("Uhr","uhr"); Uhr.SetAttributes("<tt style=\"color:#800000; background-color:#F0F0A0\">","</tt>"); Chg=new Change("Chg","change"); Chg.AddContent(text1); Chg.AddContent(text2); Chg.AddContent(text3); u_timer_start(100); Ticker.Run(100); Uhr.Run(500); Chg.Run(3000); } //--> </script> </head> <body onLoad="Init();"> <h4 align=center>Demo zur Verwendung von "divcontent.js", "newsticker.js", "clock.js" und "change.js"</h4> <p align=center> (c) 2002 <a href="../../tohome.html">Ulrich Kritzner</a> <br> die Verwendung von "divcontent.js", "newsticker.js", "clock.js" und "change.js" in kommerziellen Seiten ist kostenpflichtig <br> <a href="index.html">zurück zum Index</a> </p> <br> <div name="change" id="change" align=center> <b><tt style="color:#800000; background-color:#F0F0A0"> JavaScript angeschaltet? </tt></b> </div> <br> <div name="ticker" id="ticker" align=center> <b><tt style="color:#800000; background-color:#F0F0A0"> JavaScript angeschaltet? </tt></b> </div> <br> <div name="uhr" id="uhr" align=center> <b><tt style="color:#800000; background-color:#F0F0A0"> JavaScript angeschaltet? </tt></b> </div> </body> </html> |
![]() ![]() ![]() |
Autor: Ulrich Kritzner |