Change - HTML-Quelltext

Quelltext von change.html

Dies ist die Auflistung der Datei change.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="divcontent.js"></script>
<script type="text/javascript" src="change.js"></script>

<script type="text/javascript">
<!--
var Chg;
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()
{
  Chg=new Change("Chg","change");
  Chg.AddContent(text1);
  Chg.AddContent(text2);
  Chg.AddContent(text3);
  Chg.Run(3000);
}
//-->
</script>

</head>

<body onLoad="Init();">

<h4 align=center>Demo zur Verwendung von "divcontent.js" und "change.js"</h4>
<p align=center>
(c) 2002 <a href="../../tohome.html">Ulrich Kritzner</a>
<br>
die Verwendung von "divcontent.js" und "change.js" in kommerziellen Seiten ist kostenpflichtig
<br>
<a href="index.html">zur&uuml;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>
<p align=center>
<a href="javascript:Chg.Run(3000)">Run</a> &nbsp;
<a href="javascript:Chg.Stop()">Stop</a> &nbsp;
<a href="javascript:Chg.Step()">Einzelschritt</a>
</p>

</body>
</html>
Autor: Ulrich Kritzner