Fork me on GitHub


 Bas   Précédent   Suivant

« 1 2 (3) 4 »


Re: Menu déroulant vertical - Rarissime ou impossible - Urgent
Aspirant
Inscrit: 06/06/2005 18:35
De Dans le coin en bas í Â  droite
Messages: 34
Je vais voir ce que je peux faire. Mais le fait est que le theme de christian modifié qui a l'apparence que je veux n'a pas la même chez moi. Je suis pas un pro des themes xoops mais je suis pas un neuneu non plus :p.

Si ça marche bien chez christian c'est que les parametres sont bon, et si j'utilise le même theme ça devrait être pareil chez moi mais non :p

Posté le : 04/10/2005 18:50
_________________
http://www.coach-dazur.com
Transférer la contribution vers d'autres applications Transférer


Re: Menu déroulant vertical - Rarissime ou impossible - Urgent
Aspirant
Inscrit: 06/06/2005 18:35
De Dans le coin en bas í Â  droite
Messages: 34
Bon c'est de la folie je vais péter un cable, pourquoi ça marche chez vous et pas chez moi ?

Posté le : 04/10/2005 15:26
_________________
http://www.coach-dazur.com
Transférer la contribution vers d'autres applications Transférer


Re: Menu déroulant vertical - Rarissime ou impossible - Urgent
Aspirant
Inscrit: 06/06/2005 18:35
De Dans le coin en bas í Â  droite
Messages: 34
Christian,

Je joins une capture d'écran.
http://www.destinationsdumonde.com/images/capture_menu.gif

J'ai tout bonnement mis le theme comme n'importe quel autre sur le serveur. Pourquoi je ne vois pas la même chose que vous ?

Posté le : 04/10/2005 13:57
_________________
http://www.coach-dazur.com
Transférer la contribution vers d'autres applications Transférer


Re: Menu déroulant vertical - Rarissime ou impossible - Urgent
Aspirant
Inscrit: 06/06/2005 18:35
De Dans le coin en bas í Â  droite
Messages: 34
Je ne pense pas. Le menu fonctionne bien mais ne passe pas par dessus le reste comme je voudrais. Le décalage du à l'apparition des sous menus ne sont pas du plus bel effet :p

Pourtant quand je regarde le screenshot je vois bien que le sous menu passe par dessus l'image. Pas chez moi pourtant j'ai mis tout les fichiers sur le serveur.

Posté le : 04/10/2005 11:01

Edité par radiator sur 04/10/2005 11:21:59
Edité par radiator sur 04/10/2005 12:38:35
Transférer la contribution vers d'autres applications Transférer


Re: Menu déroulant vertical - Rarissime ou impossible - Urgent
Aspirant
Inscrit: 06/06/2005 18:35
De Dans le coin en bas í Â  droite
Messages: 34
Salut,

J'ai bien vu ton menu en effet ça marche. J'ai encore des progres à faire au niveau de la construction des themes mais j'ai pas trop le temps. Alors là le nouveau probleme c'est que le sous menu qui s'ouvre décale le contenu du bloc central vers le bas, alors qu moi je voudrais qu'il s'ouvre par dessus comme sur ce site : http://www.voyageursdumonde.com/vdm/index.asp mais c'est peut être pas faisable, pourtant je vois pas pourquoi.

Posté le : 04/10/2005 10:09
Transférer la contribution vers d'autres applications Transférer


Re: Menu déroulant vertical - Rarissime ou impossible - Urgent
Aspirant
Inscrit: 06/06/2005 18:35
De Dans le coin en bas í Â  droite
Messages: 34
Arff !!

Je n'y arrive pas. Je fais bien un bloc mais le html n'est pas lu.
Donc voila, point de départ.

Posté le : 03/10/2005 22:37
Transférer la contribution vers d'autres applications Transférer


Re: Menu déroulant vertical - Rarissime ou impossible - Urgent
Aspirant
Inscrit: 06/06/2005 18:35
De Dans le coin en bas í Â  droite
Messages: 34
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>
&nbsp;</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">&nbsp;</td>
<td width="0%" id="headmenu">&nbsp;</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]='&nbsp;<a href="<{$xoops_url}>/modules/mydownloads/submit.php">SUBMIT DOWNLOAD</a>&nbsp;|&nbsp;<a href="<{$xoops_url}>/modules/mydownloads/topten.php?hit=1">POPULAR</a>&nbsp;|&nbsp;<a href="<{$xoops_url}>/modules/mydownloads/topten.php?rate=1">TOP RATED</a>&nbsp;'
submenu[6]=''
submenu[7]='&nbsp;<a href="<{$xoops_url}>/modules/contact/">CONTACT US</a>&nbsp;|&nbsp;<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">&nbsp; </td>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="pozdrav" align="right"> &nbsp;&nbsp;<{if $xoops_isuser}> <{$bonjour}> <a href="<{$xoops_url}>/user.php"><{$xoops_uname}></a>&nbsp;&nbsp;&nbsp;<a href="<{$xoops_url}>/user.php"><{$compte}></a>&nbsp; <{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}> &nbsp;&nbsp;&nbsp;<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>&nbsp;</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...

Posté le : 03/10/2005 18:56

Edité par radiator sur 03/10/2005 19:47:34
Transférer la contribution vers d'autres applications Transférer


Menu déroulant vertical - Rarissime ou impossible - Urgent
Aspirant
Inscrit: 06/06/2005 18:35
De Dans le coin en bas í Â  droite
Messages: 34
Bonjour,

Je suis parti d'un theme 7dana-soft. Au niveau de la barre verticale ou se trouve des boutons j'aimerai que :

- Le passage de la souris déploie un menu vertical (sur plusieurs niveaux).

J'ai bien tenté avec un JS mais impossible de le faire apparaitre dans ce theme il me semble avoir des lacune au niveau de l'enchevetrement des tableaux html. Et quand j'y arrive il y a un autre probleme c'est que le menu ne déroule pas au delà du bord inférieur de la table, donc en gros il sert à rien.

Ca doit pas être sorcier mais je n'y arrive pas.

Merci.

Posté le : 03/10/2005 16:36

Edité par radiator sur 03/10/2005 17:27:03
Transférer la contribution vers d'autres applications Transférer


Re: SmartLanguage
Aspirant
Inscrit: 06/06/2005 18:35
De Dans le coin en bas í Â  droite
Messages: 34
Bon je crois avoir trouvé une solution.

A priori les smarty tags ne sont pas géré par une page html externe, mais pour le theme.html oui alors faudra quand même m'expliquer un jour comment on fait !

Moi je fais ma page html, ensuite je copie le code entier, je vais dans tinycontent / ajouter nouveau texte / copier le code dans le champs "contenu" / cocher la case "Disable Linebreak Conversion (Activate when using HTML)".
Vous n'avez plus qu'à utiliser vos smartys tags dans ce contenu et ça roule.

++

Radiator

Posté le : 24/08/2005 10:00
Transférer la contribution vers d'autres applications Transférer


Re: SmartLanguage
Aspirant
Inscrit: 06/06/2005 18:35
De Dans le coin en bas í Â  droite
Messages: 34
Je ne connaissais pas Xlanguage, mais je note.

Sinon ma question demandait si c'est faisable de mettre des smarty tags dans une page html gérée par tinycontent ?

++

Radiator

Posté le : 23/08/2005 19:01
Transférer la contribution vers d'autres applications Transférer



 Haut
« 1 2 (3) 4 »




Propulsé avec XOOPS | Graphisme adapté par Tatane, Grosdunord, Montuy337513

54 Personne(s) en ligne (43 Personne(s) connectée(s) sur Forum) | Utilisateur(s): 0 | Invité(s): 54 | Plus ...