Passer au contenu principal

www.sodis.fr

Lancer la recherche
  
www.sodis.fr > Modeles > modele.MenuSodis  

Modeles: modele.MenuSodis

Titre

modele.MenuSodis 

CodeHtml

{debut_modele}
<table border="0" cellspacing="0" width="955px" cellpadding="0">
<tr style="height: 10px; width: 150px">
<td colspan="4"></td>
<td style="width: 201px; background-repeat: no-repeat ;background-image : url('/Images%20Techniques/bandJaune2.png');">
</td>
<td></td>
</tr>
<tr>
<td></td>
<td style="height:25px  ;width: 11px;background-image:url('/Images%20Techniques/brOrange3.jpg')">

</td>
<td>
<div class="menu">
<ul>
<li id="m{ID}" style="background-image: url('{ImageFond}'); background-repeat: repeat-x; ">
<a href="{Redirection==null}
#/{Titre}!/Pages/contenuSodis.aspx?Pere={ID}&amp;Fils=&amp;SFils=/#
{/Redirection}
{Redirection!=null}
{force==null} 
#/{Titre}!{Redirection}?Pere={ID}&amp;Fils=&amp;SFils=/#
{/force}
{force!=null}
#/{Titre}!{Redirection}/#
{/force}
{/Redirection}" >
<b>{Titre}</b>
<!--[if IE 7]><!--></a><!--<![endif]-->
<!--[if lte IE 6]><table ><tr><td><![endif]-->
{aw listeContenus='' listeModeles='' itemModele='13' listeRequetes='' itemRequete='3'}
<!--[if lte IE 6]></td></tr></table></a><![endif]-->
</li>
{debut_liste}
{rep}
<li id="m{ID}" style="background-image: url('{ImageFond}'); background-repeat: repeat-x; ">
<a href="{Redirection==null}
#/{Titre}!/Pages/contenuSodis.aspx?Pere={ID}&amp;Fils=&amp;SFils=/#
{/Redirection}
{Redirection!=null}
{force==null} 
#/{Titre}!{Redirection}?Pere={ID}&amp;Fils=&amp;SFils=/#
{/force}
{force!=null}
#/{Titre}!{Redirection}/#
{/force}
{/Redirection}
" ><b>{Titre}</b>
<!--[if IE 7]><!--></a><!--<![endif]-->
<!--[if lte IE 6]><table ><tr><td><![endif]-->
{aw listeContenus='' listeModeles='' itemModele='4' listeRequetes='' itemRequete='3'}
<!--[if lte IE 6]></td></tr></table></a><![endif]-->
</li>

{/rep}

{fin_liste}
<li id="m{ID}" style="background-image: url('{ImageFond}'); background-repeat: repeat-x;width:128px ">
<a href="
{Redirection==null}
/Pages/contenuSodis.aspx?Pere={ID}&amp;Fils=&amp;SFils=
{/Redirection}
{Redirection!=null}

{force==null} 
#/{Titre}!{Redirection}?Pere={ID}&amp;Fils=&amp;SFils=/#
{/force}
{force!=null}
#/{Titre}!{Redirection}/#

{/force}
 
{/Redirection}
" ><b>{Titre}</b>
<!--[if IE 7]><!--></a><!--<![endif]-->
<!--[if lte IE 6]><table ><tr><td><![endif]-->
{aw listeContenus='' listeModeles='' itemModele='4' listeRequetes='' itemRequete='3'}
<!--[if lte IE 6]></td></tr></table></a><![endif]-->
</li>
</ul>
</div>

</td>
<td style="width: 34px; background-repeat:repeat-x; background-image: url('/Images%20Techniques/orangeMenu00.jpg');">&nbsp;</td>
<td style="padding-left: 8px; background-repeat:repeat-x;background-image: url('/Images%20Techniques/jaune2Menu.jpg'); border-right-color: white;">
<input id='123' value=" Rechercher" name="Rechercher" type="text" style="font-weight: bold; width:160px;height: 20px; border: 0px; color: orange; font-family: Calibri" onkeypress="javascript:kpressrecherche(event);" onclick="if (document.getElementById('123').value==' Rechercher')document.getElementById('123').value=''; "/>
<img src="/Images%20Techniques/loupe3.gif" width="13" height="19" style="vertical-align: bottom" onclick="javascript:rechercher();" /></td>
<td />
</tr>
<tr>
<td style="width: 10px; background-image: url('/Images%20Techniques/RbordoContour2.jpg'); height: 29px;">
</td>
<td align="left" colspan="4" style="padding-left: 15px; height: 29px; color: #FFFFFF; font-size: small; font-family: Arial, Helvetica, sans-serif; background-image: url('/Images%20Techniques/Rbordo2.jpg');">
<span>&nbsp;

{aw listeContenus='' listeModeles='' itemModele='9' listeRequetes='' itemRequete='6'}

</span> </td>
<td style="width: 13px; background-position: right; background-image: url('/Images%20Techniques/RbordoContourDr.jpg'); height: 29px;">
</td>
</tr>
</table>

<script language='javascript' type='text/javascript'>
function rechercher() {
window.open('/Pages/recherche.aspx?MotsCles=' + window.document.getElementById('123').value,'_self');return null;

}
function kpressrecherche(event) {
if (event.keyCode == 13) {
event.keyCode = null;
   rechercher();
//event.returnValue = false;
}
return null;
}

function selectMenu() {

//var fullURL = window.location.toString();
var theme = "m{QS_Pere}";
//alert('toto');
var lesMenus = document.getElementsByTagName('li');
    for(var l = 0; l < lesMenus .length; l++)  {
//alert(lesMenus[l].id);
if(lesMenus[l].id==theme)
{
lesMenus [l].style.backgroundImage= 'none';

}
}

}
</script>

{fin_modele}
Pièces jointes
Créé le 06/05/2009 19:30  par p003s003 
Dernière modification le 16/10/2009 11:08  par Valerie LAVATINE