Re: Menu déroulant vertical - Rarissime ou impossible - Urgent | Titre du sujet : Re: Menu déroulant vertical - Rarissime ou impossible - Urgent par radiator sur 03/10/2005 18:56:08
Merci. Je viens de piger l'histoire du bloc central. Je vais voir si j'y arrive sinonje reviens :p.
Pour informations
Voici le site. http://www.destinationsdumonde.fr/xoops/index.php
Voici le code du theme.html :
"<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<{$xoops_langcode}>" lang="<{$xoops_langcode}>"> <head> <meta http-equiv="content-type" content="text/html; charset=<{$xoops_charset}>" /> <meta http-equiv="content-language" content="<{$xoops_langcode}>" /> <meta name="robots" content="<{$xoops_meta_robots}>" /> <meta name="keywords" content="<{$xoops_meta_keywords}>" /> <meta name="description" content="<{$xoops_meta_description}>" /> <meta name="rating" content="<{$xoops_meta_rating}>" /> <meta name="author" content="<{$xoops_meta_author}>" /> <meta name="copyright" content="<{$xoops_meta_copyright}>" /> <meta name="generator" content="XOOPS" /> <title><{$xoops_sitename}> - <{$xoops_pagetitle}></title> <link href="<{$xoops_url}>/favicon.ico" rel="SHORTCUT ICON" /> <link rel="stylesheet" type="text/css" media="all" href="<{$xoops_url}>/xoops.css" /> <link rel="stylesheet" type="text/css" media="all" href="<{$xoops_themecss}>" /> <!-- RMV: added module header --> <{$xoops_module_header}> <script type="text/javascript"> <!-- <{$xoops_js}> //--> </script> </head> <body> <table border="0" align="center" cellpadding="0" cellspacing="0" class="okvir_main"> <tr> <td> <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td width="21"><img src="<{$xoops_imageurl}>images/top_tab_left.gif" border="0" /></td> <td align="middle" width="100%" background="<{$xoops_imageurl}>images/top_tab_bg.gif"></td> <td width="21"><img src="<{$xoops_imageurl}>images/top_tab_right.gif" border="0" /></td></tr></table> <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" id="okvir"> <tr> <td> <table width="100%" border="0" cellpadding="0" cellspacing="0" id="header"> <tr> <td id="headerlogo"><div align="center"> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/sh ... ash/swflash.cab#version=6,0,29,0" width="550" height="100"> <param name="movie" value="../../../flash/banniere_DM_dev.swf" /> <param name="quality" value="high" /> <embed src="../../../flash/banniere_DM_dev.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="550" height="100"></embed> </object> </div></td> </tr> </table> <table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td> <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0 BOTTOMMARGIN="0"> <tr align="center"> <td colspan="6" bgcolor="#A9ABA7" class="sat"><span id="clock"></span> <script language="JavaScript" type="text/javascript" src="<{$xoops_imageurl}>images/clock.js" > </script> <span id="clock2"></span> </td> <td width="0%" id="headmenu"> </td> <td width="0%" id="headmenu"> </td> </tr> <TR> <TD width="29%" height="19" class="subnavigate" > <DIV width="100%"; padding-left:15px; id=describe onmouseover=clear_delayhide() onmouseout=resetit(event)></DIV> <SCRIPT language=JavaScript1.2> var submenu=new Array() submenu[1]='' submenu[2]='<{$promo}>' submenu[3]='<{$liens2}>' submenu[4]='<{$contact}>' submenu[5]=' <a href="<{$xoops_url}>/modules/mydownloads/submit.php">SUBMIT DOWNLOAD</a> | <a href="<{$xoops_url}>/modules/mydownloads/topten.php?hit=1">POPULAR</a> | <a href="<{$xoops_url}>/modules/mydownloads/topten.php?rate=1">TOP RATED</a> ' submenu[6]='' submenu[7]=' <a href="<{$xoops_url}>/modules/contact/">CONTACT US</a> | <a href="mailto:your@email.com?subject=Contact%20from%20web%20site">SEND EMAIL</a>' var delay_hide=750 var menuobj=document.getElementById? document.getElementById("describe") : document.all? document.all.describe : document.layers? document.dep1.document.dep2 : "" function showit(which){ clear_delayhide() thecontent=(which==-1)? "" : submenu[which] if (document.getElementById||document.all) menuobj.innerHTML=thecontent else if (document.layers){ menuobj.document.write("<font color='#000000'>"+thecontent+"</font>") menuobj.document.close() } } function resetit(e){ if (document.all&&!menuobj.contains(e.toElement)) delayhide=setTimeout("showit(-1)",delay_hide) else if (document.getElementById&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget)) delayhide=setTimeout("showit(-1)",delay_hide) } function clear_delayhide(){ if (window.delayhide) clearTimeout(delayhide) } function contains_ns6(a, b) { while (b.parentNode) if ((b = b.parentNode) == a) return true; return false; } </SCRIPT> </TD> <td width="19%" align="center" id="headmenu"><a onmouseover="showit(1)" class="menuHead" href="<{$xoops_url}>/index.php"><{$accueil}></a></td> <td width="24%" align="center" id="headmenu"><a onmouseover="showit(2)" class="menuHead" href="<{$xoops_url}>/modules/tinycontent\index.php?id=4">Promotion</a></td> <td width="14%" align="center" id="headmenu"><a onmouseover="showit(3)" class="menuHead" href="<{$xoops_url}>/modules/tinycontent\index.php?id=8"><{$liens}></a></td> <td width="14%" align="center" id="headmenu"><a onmouseover="showit(4)" class="menuHead" href="<{$xoops_url}>/modules/contact/">Contact</a></td> </TR> <TR> <TD height="2" colspan="6" class="subnavigate" ><img src="../../../images/ligne_head_02.gif" width="800" height="5" /></TD> </TR> </table> </td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="180" class="headerprvi"> </td> <td><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td class="pozdrav" align="right"> <{if $xoops_isuser}> <{$bonjour}> <a href="<{$xoops_url}>/user.php"><{$xoops_uname}></a> <a href="<{$xoops_url}>/user.php"><{$compte}></a> <{else}> <a href="<{$xoops_url}>/register.php"><{$enregistrer}> </a> <{/if}> <span class="right"> <{if $xoops_isuser}> <a href="<{$xoops_url}>/user.php?op=logout"><{$deconnexion}></a> <{else}> <a href="<{$xoops_url}>/user.php"><{$Connexion}></a> <{/if}> </span> </td> </tr> </table></td> </tr> </table> <table border="0" cellpadding="0" cellspacing="0" id="glavna"> <td id="leftcolumn"> <a href="index.php"><img src="../../../images/logo_gris_theme_DM.gif" alt="" border="0" /></a> <!-- Start left blocks loop --> <{foreach item=block from=$xoops_lblocks}> <div class="<{cycle values="blockTitle"}>"><{$block.title}></div> <div class="blockContent"><{$block.content}> <p><img src="<{$xoops_imageurl}>images/160.gif" width="150" height="1" alt="" /></p> <{/foreach}> <!-- End left blocks loop --> </div> <div align="center"></div> <table width="187" border="0"> <tr> <td width="167"><div align="center">Distributeur exclusif </div></td> </tr> <tr> <td><div align="center"><a href="http://www.directours.com" target="_blank"><img src="../../../images/logo_directours.jpg" alt="Site Directours" width="102" height="33" border="0" /></a></div></td> </tr> <tr> <td><div align="center">Région PACA </div></td> </tr> <tr> <td><p> </p> <p align="center"><img src="../../../images/FEUIL_FOND_TRANSPARENT.gif" width="158" height="27" /></p> </td> </tr> </table> <p><br /> </p></td> <td id="centercolumn">
<!-- Display center blocks if any --> <{if $xoops_showcblock == 1}> <table class="sadrzaj" cellspacing="0"> <tr> <td id="centerCcolumn" colspan="2"> <!-- Start center-center blocks loop --> <{foreach item=block from=$xoops_ccblocks}> <table align="center" cellpadding="0" cellspacing="2"> <tr> <td> <div class="blockTitle"><{$block.title}></div> <div class="blockContent"><{$block.content}></div></td> </tr> </table> <{/foreach}> <!-- End center-center blocks loop --> </td> </tr> <tr> <td id="centerLcolumn"> <!-- Start center-left blocks loop --> <{foreach item=block from=$xoops_clblocks}> <table class="blok" align="center" cellpadding="3" cellspacing="2"> <tr> <td> <div class="blockTitle"><{$block.title}></div> <div class="blockContent"><{$block.content}></div></td> </tr> </table> <{/foreach}> <!-- End center-left blocks loop --> </td> <td id="centerRcolumn"> <!-- Start center-right blocks loop --> <{foreach item=block from=$xoops_crblocks}> <table class="blok" align="center" cellpadding="3" cellspacing="2"> <tr> <td> <div class="blockTitle"><{$block.title}></div> <div class="blockContent"><{$block.content}></div></td> </tr> </table> <{/foreach}> <!-- End center-right blocks loop --> </td> </tr> </table> <{/if}> <!-- End display center blocks --> <div id="content"> <{$xoops_contents}> </div> <br /> <br /> <br /> </td> <{if $xoops_showrblock == 1}> <td id="rightcolumn"> <!-- Start right blocks loop --> <{foreach item=block from=$xoops_rblocks}> <div class="<{cycle values="blockTitle"}>"><{$block.title}></div> <div class="blockContent"><{$block.content}></div> <img src="<{$xoops_imageurl}>images/160.gif" width="150" height="1" alt="" /> <{/foreach}> <!-- End right blocks loop --> <br /> <br /> </td> <{/if}> </tr> <tr> <td colspan="3" class="line_main"><div class="privatnost"> <div align="center"><br /> <{$xoops_footer}><br /> <br /> </div> </div></td> </tr> </table></td> </tr> </table> <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td width="21"><img src="<{$xoops_imageurl}>images/bot_cat_left.gif" border="0" /></td> <td align="middle" width="100%" background="<{$xoops_imageurl}>images/bot_cat_bg.gif"></td> <td width="21"><img src="<{$xoops_imageurl}>images/bot_cat_right.gif" border="0" /></td> </tr> </table> </td> </tr> </table><br /> </body> </html> " J'aimerai un menu déroulant pour les boutons "promotions", "liens" ,etc...
|
|