buzuc
12-08-2005, 02:16 PM
Script :Ultimate Fade-in slideshow (v1.5)
http://www.dynamicdrive.com/dynamicindex14/fadeinslideshow.htm
Hi there, I just installed The "Ultimate Fade-in slideshow (v1.5)" on my test site and it works great :)
My problem is that I have also a CSS generated menu on my page and it don't work anymore.
Here is the HTML code of the menu :
<td id="Collection" width=100>
<ul id="nav">
<li><span id="Collection"> </span>
<ul>
<li id="necklaces"><a class="necklaces" href="necklaces.php"><span>Necklaces</a></span></li>
<li id="earrings"><a class="earrings" href="earrings.php"><span>Earrings</a></span></li>
<li id="bracelets"><a class="bracelets" href="bracelets.php"><span>Bracelets</a></span></li>
<li id="rings"><a href="rings.php"><span>Rings</a></span></li>
</ul>
</li>
</ul></td>
and here is the CSS definition :
#nav, #nav ul { /* toutes les listes */
padding: 0;
margin: 0;
list-style: none;
line-height: 1;
}
#nav a {
display: block;
width: 100px;
height: 28px;
margin: 0;
padding: 0;
text-decoration: none;
/*display: block;
width: 10em;*/
}
#nav li { /* tous les items de liste */
float: left;
width: 100px; /* largeur obligatoire, sinon opera devient fou */
}
#nav li ul { /* listes de deuxième niveau */
position: absolute;
background: black;
width: 100px;
left: -999em; /* on met left plutôt que display pour cacher les menus parce que display: none n'est pas lu par les lecteurs d'écran */
}
#nav li:hover ul, #nav li.sfhover ul { /* listes imbriquées sous les items de listes survolés */
left: auto;
}
/*RINGS*/
#rings a{
display: block;
width: 100px;
height: 28px;
margin: 0;
padding: 0;
background: url("images/menu/Menu_rings.gif") no-repeat 0 0;
text-decoration: none;
}
#rings a:hover{
background: url("images/menu/Menu_rings.gif") no-repeat 0 -28px;
}
#rings a span{
display:none;
}
/*NECKLACES*/
#necklaces a{
display: block;
width: 100px;
height: 28px;
margin: 0;
padding: 0;
background: url("images/menu/Menu_necklaces.gif") no-repeat 0 0;
text-decoration: none;
}
#necklaces a:hover{
background: url("images/menu/Menu_necklaces.gif") no-repeat 0 -28px;
}
#necklaces a span{
display:none;
}
/*EARRINGS*/
#earrings a{
display: block;
width: 100px;
height: 28px;
margin: 0;
padding: 0;
background: url("images/menu/Menu_earrings.gif") no-repeat 0 0;
text-decoration: none;
}
#earrings a:hover{
background: url("images/menu/Menu_earrings.gif") no-repeat 0 -28px;
}
#earrings a span{
display:none;
}
/*BRACELETS*/
#bracelets a{
display: block;
width: 100px;
height: 28px;
margin: 0;
padding: 0;
background: url("images/menu/Menu_bracelets.gif") no-repeat 0 0;
text-decoration: none;
}
#bracelets a:hover{
background: url("images/menu/Menu_bracelets.gif") no-repeat 0 -28px;
}
#bracelets a span{
display:none;
}
the test page is here if you want to throw an eye :
test page (http://becaer.free.fr/newsite/ourbelief.php)
My question : is it possible to make both working together ?
http://www.dynamicdrive.com/dynamicindex14/fadeinslideshow.htm
Hi there, I just installed The "Ultimate Fade-in slideshow (v1.5)" on my test site and it works great :)
My problem is that I have also a CSS generated menu on my page and it don't work anymore.
Here is the HTML code of the menu :
<td id="Collection" width=100>
<ul id="nav">
<li><span id="Collection"> </span>
<ul>
<li id="necklaces"><a class="necklaces" href="necklaces.php"><span>Necklaces</a></span></li>
<li id="earrings"><a class="earrings" href="earrings.php"><span>Earrings</a></span></li>
<li id="bracelets"><a class="bracelets" href="bracelets.php"><span>Bracelets</a></span></li>
<li id="rings"><a href="rings.php"><span>Rings</a></span></li>
</ul>
</li>
</ul></td>
and here is the CSS definition :
#nav, #nav ul { /* toutes les listes */
padding: 0;
margin: 0;
list-style: none;
line-height: 1;
}
#nav a {
display: block;
width: 100px;
height: 28px;
margin: 0;
padding: 0;
text-decoration: none;
/*display: block;
width: 10em;*/
}
#nav li { /* tous les items de liste */
float: left;
width: 100px; /* largeur obligatoire, sinon opera devient fou */
}
#nav li ul { /* listes de deuxième niveau */
position: absolute;
background: black;
width: 100px;
left: -999em; /* on met left plutôt que display pour cacher les menus parce que display: none n'est pas lu par les lecteurs d'écran */
}
#nav li:hover ul, #nav li.sfhover ul { /* listes imbriquées sous les items de listes survolés */
left: auto;
}
/*RINGS*/
#rings a{
display: block;
width: 100px;
height: 28px;
margin: 0;
padding: 0;
background: url("images/menu/Menu_rings.gif") no-repeat 0 0;
text-decoration: none;
}
#rings a:hover{
background: url("images/menu/Menu_rings.gif") no-repeat 0 -28px;
}
#rings a span{
display:none;
}
/*NECKLACES*/
#necklaces a{
display: block;
width: 100px;
height: 28px;
margin: 0;
padding: 0;
background: url("images/menu/Menu_necklaces.gif") no-repeat 0 0;
text-decoration: none;
}
#necklaces a:hover{
background: url("images/menu/Menu_necklaces.gif") no-repeat 0 -28px;
}
#necklaces a span{
display:none;
}
/*EARRINGS*/
#earrings a{
display: block;
width: 100px;
height: 28px;
margin: 0;
padding: 0;
background: url("images/menu/Menu_earrings.gif") no-repeat 0 0;
text-decoration: none;
}
#earrings a:hover{
background: url("images/menu/Menu_earrings.gif") no-repeat 0 -28px;
}
#earrings a span{
display:none;
}
/*BRACELETS*/
#bracelets a{
display: block;
width: 100px;
height: 28px;
margin: 0;
padding: 0;
background: url("images/menu/Menu_bracelets.gif") no-repeat 0 0;
text-decoration: none;
}
#bracelets a:hover{
background: url("images/menu/Menu_bracelets.gif") no-repeat 0 -28px;
}
#bracelets a span{
display:none;
}
the test page is here if you want to throw an eye :
test page (http://becaer.free.fr/newsite/ourbelief.php)
My question : is it possible to make both working together ?