n snippet aus ner alten Seite von mir
habs nicht in allen Browsern getestet.
Code:
<script language=JavaScript>
<!--
var hinweis = 'Erläuterung';
function Anzeigen()
{
var coll = document.all.tags("SPAN");
if (coll != null)
{
if (rescheckbox.checked)
var newstate = ""
else
var newstate = "none";
for (i=0; i<coll.length; i++)
if (coll[i].id == "mehr_info")
coll[i].style.display = newstate;
}
}
//-->
</script>
</HEAD>
<BODY Onload=Anzeigen();>
<div id="Layer1" style="position:absolute; left:180px; top:20px; width:550px; height:420px; z-index:1; overflow: visible">
<h3><font face="Verdana,Helvetica,Tahoma,Arial,Swiss">Referenzen <SCRIPT LANGUAGE=JavaScript>
<!--
var MSIEIndex = navigator.userAgent.indexOf("MSIE");
if (navigator.userAgent.indexOf("MSIE") != -1 && navigator.userAgent.indexOf("Windows") != -1 &&
navigator.userAgent.substring((MSIEIndex + 5),(MSIEIndex + 6)) > 3)
{
document.write('<font style=font-size:10pt;><INPUT STYLE="font-size:4px;" TYPE=CHECKBOX CHECKED id=rescheckbox onclick="Anzeigen()" STYLE="cursor:hand;background-color:#999900;"><font face="Verdana"><label for="rescheckbox" STYLE="cursor:hand; text-decoration:none;">' + hinweis + '</LABEL></font>');
// if (!rescheckbox.checked)
// rescheckbox.checked = true;
}
//-->
</SCRIPT></font>
<hr size=1 width=100% NOSHADE></h3>
<span id="mehr_info">
<font face="Verdana,Helvetica,Tahoma,Arial,Swiss" size="2">Klick mal auf das Häkchen bei Erläuterung
<hr style=color:#000099; size=1 width=100% NOSHADE></span>
Jetzt steht hier nur noch das
<hr style=color:#000099; size=1 width=100% NOSHADE>