Code : Tout sélectionner
<head>
<script type="text/javascript">
<!--// [CDATA[
function divaffiche(){
document.getElementById("popup").style.display = "block";
document.getElementById("cache").style.display = "inline";
document.getElementById("voir").style.display = "none";
}
function divcache(){
document.getElementById("popup").style.display = "none";
document.getElementById("cache").style.display = "none";
document.getElementById("voir").style.display = "inline";
}
// ]] -->
</script>
</head>
<body>
<p style="text-align:center;">
<input type="button" id="voir" value="Afficher" onClick="divaffiche()" style="display:inline;"/>
<input type="button" id="cache" value="Cacher" onClick="divcache()" style="display:none;"/><br /><br />
<div id="popup" style="display:none;width:100%;margin:auto;border:0;text-align:left;">
</p>
<span class="code">
<div id="Top" class="block">
<h2><span>Top</span></h2>
<div class="box">
<div class="inbox">
<div><html>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="content-type">
<title>Top</title>
<table align="center" border="0" cellpadding="1"
cellspacing="1" width="50%">
<tbody>
<tr>
<td>
<marquee>
<a href="/forum/viewtopic.php?id=642"><img
style="border: 0px solid ; width: 120px; height: 160px;" alt=""
src="http://www.hobby57.com/photos/ITAL0163.jpg"></a><a
href="/forum/viewtopic.php?id=472"><img
style="border: 0px solid ; width: 120px; height: 160px;" alt=""
src="http://web.tiscali.it/antoniolabate/images/tomcat1gr.jpg"></a></a></marquee>
</td>
</tr>
</tbody>
</table>
</body>
</html></div>
</div>
</div>
</div>
</span></div> Voila, enfaite le probleme c'est que quand la page n'ai pas encore totalement chargée et que je décide d'afficher le top, il n'initialise et se met a défiler, tandis que quand la page est chargée et que j'affiche le top, il reste fix !
Merci de votre aide.
qui s'affiche en haut à gauche de ce sujet