Hallo ich habe eine Tabelle und diese möchte ich gerne nach 5 sek. ausblenden
kann mir bitte jemand helfen so etwas zu realisieren Danke
HTML:
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_changeProp(objName,x,theProp,theValue) { //v6.0
var obj = MM_findObj(objName);
if (obj && (theProp.indexOf("style.")==-1 || obj.style)){
if (theValue == true || theValue == false)
eval("obj."+theProp+"="+theValue);
else eval("obj."+theProp+"='"+theValue+"'");
}
}
//-->
</script>
<style type="text/css">
<!--
.Stil2 {color: #FFFFFF}
a:link {
color: #FFFFFF;
}
a:visited {
color: #FFFFFF;
}
a:hover {
color: #FFFFFF;
}
a:active {
color: #FFFFFF;
}
-->
</style>
<table width="900" border="1" align="center" cellpadding="0" cellspacing="0" background="www.greenbay.cc/boerse/templates/Standard/images/tabbg.jpg">
<tr bgcolor="#9d080a">
<td width="20%"><p align="left" class="Stil2"> Wilkommen... (<a href="#" style="color:white" onClick="MM_changeProp('erstens','','style.display','block','DIV')">einblenden</a> / <a href="#" style="color:white" onClick="MM_changeProp('erstens','','style.display','none','DIV')">ausblenden</a>)</p> </td>
</tr>
<tr>
<td><div id="erstens">
<table width="800" border="0" align="center" cellpadding="0" cellspacing="0">
<tr valign="top">
<td class="quote" style="padding:10px;padding-top:0px;" valign="top"><span class="title3">{LANG_WELCTO} {USITE_TITLE}!</span>
<p align="justify"> {LANG_WELCOMETEXT} </p></td>
<td valign="top"><table width="250" height="320" cellpadding="0" cellspacing="0" border="0" class="thinborder">
<tr>
<td class="normal" valign="top" align="center" style="padding:10px;"> </td>
</tr>
<tr>
<td class="normal" valign="top" style="padding:10px;"><p align="justify">{}</p></td>
</tr>
<tr>
<td colspan="2"><table border="0" align="center" cellpadding="0" cellspacing="0" width="80%">
<tr>
<td> </td>
<td> </td>
</tr>
</table>
</td>
</tr>
</table></td>
<td width="10"> </td>
<td><table width="250" height="320" cellpadding="0" cellspacing="0" border="0" class="thinborder">
<tr class="normal">
<td style="padding:10px;" align="center"> </td>
</tr>
<tr class="normal">
<td style="padding:10px;"><p align="justify">{}</p></td>
</tr>
<tr>
<td><table border="0" align="center" cellpadding="0" cellspacing="0" width="80%">
<tr>
<td height="24"> </td>
<td> </td>
</tr>
</table>
<br /></td>
</tr>
</table></td>
</tr>
</table>
</div></td>
</tr>
</table>
kann mir bitte jemand helfen so etwas zu realisieren Danke