Danke an alle die mir mir Tips geben können.
Hier das script_
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Div ein- und ausblenden</title>
<script type="text/javascript">
function einaus (obj) {
with(obj)
if(checked)
with(nextSibling) {
data = ' ' + value + ' ausblenden';
nextSibling.style.display = '';
}
else
with(nextSibling) {
data = ' ' + value + ' einblenden';
nextSibling.style.display = 'none'; }
}
</script>
</head>
<body>
<form action="">
<input type="checkbox" name="animation" value="Div-01" onClick="einaus(this)">Div-01 einblenden
<div style="display:none;">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase= "http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="350" height="350">
<param name="movie" value="flash-01.swf">
<param name="quality" value="high">
<embed src="flash-01.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="350" height="350"></embed>
</object>
</div>
</form>
</body>
</html>

Hilfe
Neues Thema
Antworten


Nach oben



