Bonjour,

J'ai un problème avec un élément qui disparait après avoir été rendu visible.

Voilà le code incriminé :

Code HTML : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<div id="subscribe" onMouseOut="makeInvisible();"> 
<a rel="nofollow" id="feedrss" title="Subscribe to this blog..." href="http://www.baptiste-wicht.com/feed/" onmouseover="makeVisible();"><abbr title="Really Simple Syndication">RSS</abbr> feed</a> 
<ul id="feed_readers" style="display: block; visibility: hidden;"> 
<li id="google_reader"><a rel="external nofollow" class="reader" title="Subscribe with Google" href="http://fusion.google.com/add?feedurl=http://www.baptiste-wicht.com/feed/"><span>Google</span></a></li> 
<li id="youdao_reader"><a rel="external nofollow" class="reader" title="Subscribe with Youdao" href="http://reader.youdao.com/#url=http://www.baptiste-wicht.com/feed/"><span>Youdao</span></a></li> 
<li id="xianguo_reader"><a rel="external nofollow" class="reader" title="Subscribe with Xian Guo" href="http://www.xianguo.com/subscribe.php?url=http://www.baptiste-wicht.com/feed/"><span>Xian Guo</span></a></li> 
<li id="zhuaxia_reader"><a rel="external nofollow" class="reader" title="Subscribe with Zhua Xia" href="http://www.zhuaxia.com/add_channel.php?url=http://www.baptiste-wicht.com/feed/"><span>Zhua Xia</span></a></li> 
<li id="yahoo_reader"><a rel="external nofollow" class="reader" title="Subscribe with My Yahoo!" href="http://add.my.yahoo.com/rss?url=http://www.baptiste-wicht.com/feed/"><span>My Yahoo!</span></a></li> 
<li id="newsgator_reader"><a rel="external nofollow" class="reader" title="Subscribe with newsgator" href="http://www.newsgator.com/ngs/subscriber/subfext.aspx?url=http://www.baptiste-wicht.com/feed/"><span>newsgator</span></a></li> 
<li id="bloglines_reader"><a rel="external nofollow" class="reader" title="Subscribe with Bloglines" href="http://www.bloglines.com/sub/http://www.baptiste-wicht.com/feed/"><span>Bloglines</span></a></li> 
<li id="inezha_reader"><a rel="external nofollow" class="reader last" title="Subscribe with iNezha" href="http://inezha.com/add?url=http://www.baptiste-wicht.com/feed/"><span>iNezha</span></a></li> 
</ul> 
</div> 
 
<script type="text/javascript"> 
 function makeVisible(){
   elem = document.getElementById("feed_readers");
   elem.style.visibility = "visible";
 }
 
 function makeInvisible(){
   elem = document.getElementById("feed_readers");
   elem.style.visibility = "hidden";
 }
</script>

J'aimerais que la liste des liens (<ul>) reste visible alors que maintenant elle disparait tout de suite. IL me semble pourtant que le onMouseOut est correctement configuré, non ?

Si quelqu'un pouvait me dire ce que je fais de faux, ca m'aiderait beaucoup

Vous pouvez avoir un exemple ici en haut à droite.

Merci d'avance