En poursuivant votre navigation sur notre site, vous acceptez l’utilisation de cookies afin d’améliorer votre navigation. En savoir plus Réduire
Plan du site  ·  Mentions Légales  ·  Statistiques  ·  Contact PatMax Web ·  PatMax Annuaire · 
FAQ
Connexion · M’enregistrer
Afin de bénéficier de l'intégralité des fonctions de ce forum il est conseillé de vous connecter
PatMax Scripts va fermer définitivement au mois d'avril 2024

Index du forum » ENTRAIDE » XOOIT » Apparence

 
Poster un nouveau sujet Répondre au sujet
Message Auteur
 Sujet du message:
Message Posté: Dim 5 Oct 2008 14:31 

Bonjour, j'aimerais changer la couleur de plusieurs police a différent endroit du site, j'ai déja commencé un par un, mais je voulais connaitre le moyen pour modifier d'un coup la couleur des polices que j'ai entouré en vert:

Image


Image

dans le template view topicbody, j'ai ça :

[hide]<table width="90%" border="0" align="center">
<tr>
<td align="left" valign="bottom" colspan="2"><a class="maintitle" href="{U_VIEW_TOPIC}">{TOPIC_TITLE}</a><br />
<span class="gensmall"><b>{PAGINATION}</b><br />
&nbsp; </span></td>
</tr>
</table>

<table width="90%" border="0" align="center" cellpadding="2" cellspacing="2">
<tr>
</tr></table>
<table width="100%" border="0" cellpadding="2" cellspacing="1" class="forumline">
<tr>
<td class="row1">
<p><font size="2" face="Verdana">&nbsp;<a href="{U_INDEX}" class="nav">{L_INDEX}</a>
»&nbsp;<a href="{U_VIEW_FORUM}" class="nav">{FORUM_NAME}</a>
»&nbsp;<a href="{U_VIEW_TOPIC}" class="nav">{TOPIC_TITLE}</a></font></p>
</td>
</tr>
</table><br />
<table width="90%" border="0" align="center" cellpadding="0" cellspacing="0" background="http://img2.xooimage.com/files/a/q/aquatbm-311c1.gif">
<tr align="center" background="http://img2.xooimage.com/files/a/q/aquatbm-311c1.gif">
<td width="33%" height="22" align="left"><img src="http://img4.xooimage.com/files/2/1/1/aquatbl-311c3-perso--3b2526.gif" width="22" height="22"></td>
<td width="33%" height="22" align="center"></td>
<td width="33%" height="22" align="right"><img src="http://img7.xooimage.com/files/a/q/aquatbr1-311df.gif" width="79" height="22"></td>
</tr>
</table>
<table width="90%" border="0" align="center" cellpadding="3" cellspacing="0" class="forumline">
<tr align="right">
<td class="catHead" colspan="2" height="28"><span class="nav"><a href="{U_VIEW_OLDER_TOPIC}" class="nav">{L_VIEW_PREVIOUS_TOPIC}</a> :: <a href="{U_VIEW_NEWER_TOPIC}" class="nav">{L_VIEW_NEXT_TOPIC}</a> &nbsp;</span></td>
</tr>
{POLL_DISPLAY}
</table>
<!-- BEGIN postrow -->
<table width="90%" border="0" align="center" cellpadding="3" cellspacing="0" class="forumline">
<tr>
<th class="thLeft" width="150" height="26" nowrap="nowrap">{L_AUTHOR}</th>
<th class="thRight" nowrap="nowrap">{L_MESSAGE}</th>
</tr>
<tr>
<td width="150" align="left" valign="top" class="{postrow.ROW_CLASS}"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="9" height="9"><img src="http://img5.xooimage.com/files/p/r/profileul-311e0.gif" width="9" height="9"></td>
<td height="9" background="http://img9.xooimage.com/files/p/r/profileum-311e1.gif"></td>
<td width="9" height="9"><img src="http://img8.xooimage.com/files/p/r/profileur-311e2.gif" width="9" height="9"></td>
</tr>
<tr>
<td width="9" background="http://img7.xooimage.com/files/p/r/profileml-311e3.gif"></td>
<td background="http://img4.xooimage.com/files/p/r/profilemm-311e4.gif"><span class="name"><a name="{postrow.U_POST_ID}"></a><b>{postrow.POSTER_NAME}</b></span><br /><span class="postdetails">{postrow.POSTER_RANK}<br />{postrow.RANK_IMAGE}{postrow.POSTER_AVATAR}<br /><br />{postrow.POSTER_JOINED}<br />{postrow.POSTER_POSTS}<br />{postrow.POSTER_FROM}</span><br /></td>
<td width="9" background="http://img2.xooimage.com/files/p/r/profilemr-311e5.gif"></td>
</tr>
<tr>
<td width="9" height="9"><img src="http://img9.xooimage.com/files/p/r/profiledl-311e6.gif" width="9" height="9"></td>
<td height="9" background="http://img2.xooimage.com/files/p/r/profiledm-311e7.gif"></td>
<td width="9" height="9"><img src="http://img2.xooimage.com/files/p/r/profiledr-311e8.gif" width="9" height="9"></td>
</tr>
</table></td>
<td class="{postrow.ROW_CLASS}" width="100%" height="28" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="100%"><a href="{postrow.U_MINI_POST}"><img src="{postrow.MINI_POST_IMG}" width="12" height="9" alt="{postrow.L_MINI_POST_ALT}" title="{postrow.L_MINI_POST_ALT}" border="0" /></a><span class="postdetails">{L_POSTED}: {postrow.POST_DATE}<span class="gen">&nbsp;</span>&nbsp; &nbsp;{L_POST_SUBJECT}: {postrow.POST_SUBJECT}</span></td>
<td valign="top" nowrap="nowrap">{postrow.QUOTE_IMG} {postrow.EDIT_IMG} {postrow.DELETE_IMG} {postrow.IP_IMG}</td>
</tr>
<tr>
<td colspan="2"><hr /></td>
</tr>
<tr>
<td colspan="2"><span class="postbody">{postrow.MESSAGE}{postrow.SIGNATURE}</span><span class="gensmall">{postrow.EDITED_MESSAGE}</span></td>
</tr>
</table></td>
</tr>
<tr>
<td class="{postrow.ROW_CLASS}" width="150" align="left" valign="middle"><a href="#top" class="nav"><img src="http://img7.xooimage.com/files/t/o/top-311e9.gif" alt="{L_BACK_TO_TOP}" border="0"></a></td>
<td class="{postrow.ROW_CLASS}" width="100%" height="28" valign="bottom" nowrap="nowrap"><table cellspacing="0" cellpadding="0" border="0" height="18" width="18">
<tr>
<td valign="middle" nowrap="nowrap">{postrow.PROFILE_IMG} {postrow.PM_IMG} {postrow.EMAIL_IMG} {postrow.WWW_IMG} {postrow.AIM_IMG} {postrow.YIM_IMG} {postrow.MSN_IMG}
<script language="JavaScript" type="text/javascript"><!--

if ( navigator.userAgent.toLowerCase().indexOf('mozilla') != -1 && navigator.userAgent.indexOf('5.') == -1 && navigator.userAgent.indexOf('6.') == -1 )
document.write(' {postrow.ICQ_IMG}');
else
document.write('</td><td>&nbsp;</td><td valign="top" nowrap="nowrap"><div style="position:relative"><div style="position:absolute">{postrow.ICQ_IMG}</div><div style="position:absolute;left:5px;top:1px">{postrow.ICQ_STATUS_IMG}</div></div>');

//--></script><noscript>{postrow.ICQ_IMG}</noscript></td>
</tr>
</table></td>
</tr>
<!-- END postrow -->
</table>
<table width="90%" border="0" align="center" cellpadding="3" cellspacing="0" class="forumline">
<tr align="center">
<td class="catBottom" colspan="2" height="28"><table cellspacing="0" cellpadding="0" border="0">
<tr><form method="post" action="{S_POST_DAYS_ACTION}">
<td align="center"><span class="gensmall">{L_DISPLAY_POSTS}: {S_SELECT_POST_DAYS}&nbsp;{S_SELECT_POST_ORDER}&nbsp;<input type="submit" value="{L_GO}" class="liteoption" name="submit" /></span></td>
</form></tr>
</table></td>
</tr>
</table>
<table width="90%" height="22" border="0" align="center" cellpadding="0" cellspacing="0" background="http://img3.xooimage.com/files/a/q/aquatbdm-311c5.gif">
<tr>
<td><img src="http://img10.xooimage.com/files/d/c/f/aquatbdl-311c6-perso--3b2586.gif"></td>
<td align="right"><img src="http://img3.xooimage.com/files/3/9/9/aquatbdr-311c7-perso--3b2550.gif"></td>
</tr>
</table>
<table width="90%" border="0" align="center">
<tr>
<td align="left" valign="middle" nowrap="nowrap"><span class="nav"><a href="{U_POST_REPLY_TOPIC}"><img src="{REPLY_IMG}" border="0" alt="{L_POST_REPLY_TOPIC}" align="middle" /></a></span></td>
</tr></table>
<table width="100%" border="0" cellpadding="2" cellspacing="1" class="forumline">
<tr>
<td class="row1">
<p><font size="2" face="Verdana">&nbsp;<a href="{U_INDEX}" class="nav">{L_INDEX}</a>
»&nbsp;<a href="{U_VIEW_FORUM}" class="nav">{FORUM_NAME}</a>
»&nbsp;<a href="{U_VIEW_TOPIC}" class="nav">{TOPIC_TITLE}</a></font></p>
</td>
</tr>
</table><br />
<table width="100%" cellspacing="2" cellpadding="2" border="0" align="center">
<tr>
<td align="right" valign="top" nowrap="nowrap"><span class="gensmall">{S_TIMEZONE}</span><br /><span class="nav">{PAGINATION}</span>
</td>
</tr>
<tr>

<td align="left" colspan="3"><span class="nav" style="color: #FE7904;">{PAGE_NUMBER}</span></td>
</tr>
</table>



<table width="90%" cellspacing="2" border="0" align="center">
<tr>
<td width="40%" valign="top" nowrap="nowrap" align="left"><span class="gensmall">{S_WATCH_TOPIC}</span><br />
&nbsp;<br />
{S_TOPIC_ADMIN}</td>
<td align="right" valign="top" nowrap="nowrap">{JUMPBOX}<span class="gensmall">{S_AUTH_LIST}</span></td>
</tr>
</table>[/hide]



pour exemple j'ai pris ça:

[hide]<td align="left" colspan="3"><span class="nav" style="color: #FE7904;">{PAGE_NUMBER}</span></td>
</tr>
</table>
[/hide]

mais sa marche pas, j'ai aussi essayé avec

[hide]<td align="left" colspan="3"><span class="nav"><font color="#FE871E">{PAGE_NUMBER}</font></span></td>
</tr>
</table> [/hide]

merci d'avance


Hors ligne

Enregistré le:
Mar 2 Sep 2008 17:53
Messages: 142
Répondre en citant le message  
Haut  
 Sujet du message:
Message Posté: Dim 5 Oct 2008 14:45 

Je ne te conseille pas de procéder ainsi, mais de modifier le fichier CSS.
Pour cela il faut trouver le fichier CSS qui porte le nom de ton thème dans le répertoire templates/TON THEME/TON THEME.css

Dans ce fichier il faut trouver les class correpondantes au changement que tu veux effectuer.
Si je prends tes deux derniers exemple, il s'agit de la class nav.
Celle-ci doit ressembler à cela:
.nav {
   margin: 0;
   color: black;
   font-weight: bold;
}


A toi de modifier la variable color :

_________________
Ma satisfaction, que vous soyez satisfait.


Avatar de l’utilisateur
<font color=#AA0000><b>Fondateur</b></font>
Fondateur
Hors ligne

Enregistré le:
Mar 1 Nov 2005 19:45
Messages: 5117
Localisation: Centre France

Profil  Site Internet Voir la position géographique du membre
Répondre en citant le message  
Haut  
 Sujet du message:
Message Posté: Dim 5 Oct 2008 15:29 

pour le template css, j'en ai 3 qui porte le meme nom aqua,( le nom de mon thème) voici celui ou j'ai trouvé "nav"

[hide]/* The original aqua Theme Created by Arthur Chen design. http://bbs.arthur.com.tw */

body {
background-color: #FFFFFF;
background-attachment : fixed;
scrollbar-3dlight-color:#cccccc;
scrollbar-arrow-color:#000000;
scrollbar-base-color:#cccccc;
scrollbar-darkshadow-color:#2f4f4f;
scrollbar-face-color:#cccccc;
scrollbar-highlight-color:#cccccc;
scrollbar-shadow-color:#cccccc;
scrollbar-track-color:#f1f1f1;
margin: 0px
}

font,th,td,p { font-family: Verdana, Arial, Helvetica, sans-serif }
a:link,a:active,a:visited { color : #3B678D; }
a:hover { text-decoration: underline; color : #9C9E9C; }
hr { height: 0px; border: solid #000000 0px; border-top-width: 1px;}


.bodyline { background-color: #FFFFFF; 2px double #82915A;
-moz-border-radius:12px;

.forumline2 { background-color: #FFFFFF;2px double #82915A;
-moz-border-radius:12px;}

.forumline { background-color: #FFFFFF; border: 1px #BEBEBE solid; }

td.row1 { background-color: #F8F8F8; }
td.row2 { background-color: #F8F8F8; }
td.row3 { background-color: #BEBEBE; }
td.aqua { background-image: url('http://img9.xooimage.com/files/c/e/cellpic3-311bf.gif'); }
td.aqua1 { background-color: #EDF3FE; }
td.aqua2 { background-image: url('http://img3.xooimage.com/files/c/e/cellpic0-311c0.gif'); }

td.rowpic {
background-color: #FFFFFF;
background-image: url('http://img5.xooimage.com/files/d/e/b/cellpic2-30da7.jpg');
background-repeat: repeat-y;
}

th {
color: #63605E; font-size: 13px; font-weight : bold;
background-color: #333333; height: 25px;
background-image: url('http://img9.xooimage.com/files/c/e/cellpic3-311bf.gif');
}

td.cat,td.catHead,td.catSides,td.catLeft,td.catRight,td.catBottom {
background-image: url('http://img2.xooimage.com/files/a/q/aquatbm-311c1.gif');
background-color:#C0C0C0; border: #FFFFFF; border-style: solid; height: 22px;
}

td.cat,td.catHead,td.catBottom {
height: 25px;
border-width: 0px 0px 0px 0px;
}

th.thHead,th.thSides,th.thTop,th.thLeft,th.thRight,th.thBottom,th.thCornerL,th.thCornerR {
font-weight: bold; border: #FFFFFF; border-style: solid; height: 28px; }
td.row3Right,td.spaceRow {
background-color: #555555; border: #FFFFFF; border-style: solid; }

th.thHead,td.catHead { font-size: 13px; border-width: 0px 0px 0px 0px; }
th.thSides,td.catSides,td.spaceRow { border-width: 0px 0px 0px 0px; }
th.thRight,td.catRight,td.row3Right { border-width: 0px 0px 0px 0px; }
th.thLeft,td.catLeft { border-width: 0px 0px 0px 0px; }
th.thBottom,td.catBottom { border-width: 0px 0px 0px 0px; }
th.thTop { border-width: 0px 0px 0px 0px; }
th.thCornerL { border-width: 0px 0px 0px 0px; }
th.thCornerR { border-width: 0px 0px 0px 0px; }

.maintitle,h1,h2 {
font-weight: bold; font-size: 22px; font-family: "Arial Black",Verdana, Arial, Helvetica, sans-serif;
text-decoration: none; line-height : 120%; color : #333333;
}

.loslogos {
font-weight: bold; font-size: 10px; font-family: "Arial",Verdana, Arial, Helvetica, sans-serif;
text-decoration: none; line-height : 120%; color : #FFFFFF;
}

.loslogosbig {
font-weight: bold; font-size: 22px; font-family: "Arial Black",Verdana, Arial, Helvetica, sans-serif;
text-decoration: none; line-height : 120%; color : #FFFFFF;
}

.gen { font-size : 13px; }
.genmed { font-size : 12px; }
.gensmall { font-size : 11px; }
.gen,.genmed,.gensmall { color : #333333; }
a.gen,a.genmed,a.gensmall { color: #333333; text-decoration: none; }
a.gen:hover,a.genmed:hover,a.gensmall:hover { color: #446D8C; text-decoration: underline; }

.mainmenu { font-size : 12px; color : #333333 }
a.mainmenu { text-decoration: none; color : #006699; }
a.mainmenu:hover{ text-decoration: underline; color : #333333; }

.aquamenu { font-size : 10px; color : #000000 }
a.aquamenu { text-decoration: none; color : #000000; }
a.aquamenu:visited { text-decoration: none; color : #000000; }
a.aquamenu:hover{ text-decoration: none; color : #333333; }

.cattitle { font-weight: bold; font-size: 13px ; letter-spacing: 1px; color : #333333}
a.cattitle { text-decoration: none; color : #333333; }
a.cattitle:hover{ text-decoration: underline; }

.forumlink { font-weight: bold; font-size: 13px; color : #006699; }
a.forumlink { text-decoration: none; color : #333333; }
a.forumlink:hover{ text-decoration: underline; color : #DDE4EC; }

.nav { font-weight: bold; font-size: 12px; color : #FAAF18;}
a.nav { text-decoration: none; color : #FAAF18; }
a.nav:hover { text-decoration: underline; }

.topictitle { font-weight: bold; font-size: 12px; color : #333333; }
a.topictitle:link { text-decoration: none; color : #333333; }
a.topictitle:visited { text-decoration: none; color : #559EE2; }
a.topictitle:hover { text-decoration: underline; color : #DDE4EC; }

.name { font-size : 12px; color : #333333;}

.postdetails { font-size : 11px; color : #333333; }

.postbody { font-size : 13px;}
a.postlink:link { text-decoration: none; color : #333333 }
a.postlink:visited { text-decoration: none; color : #559EE2; }
a.postlink:hover { text-decoration: underline; color : #DDE4EC}

.code {
font-family: Courier, 'Courier New', sans-serif; font-size: 12px; color: #006600;
background-color: #FFFFFF; border: #555555; border-style: solid;
border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px
}

.quote {
font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color: #444444; line-height: 125%;
background-color: #FFFFFF; border: #555555; border-style: solid;
border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px
}

.copyright { font-size: 11px; font-family: Verdana, Arial, Helvetica, sans-serif; color: #444444; letter-spacing: -1px;}
a.copyright { color: #444444; text-decoration: none;}
a.copyright:hover { color: #333333; text-decoration: underline;}

input,textarea, select {
color : #333333;
font: normal 12px Verdana, Arial, Helvetica, sans-serif;
border-color : #333333;
}

input.post, textarea.post, select {
background-color : #FFFFFF;
}

input { text-indent : 2px; }

input.button {
background-color : #FFFFFF;
color : #333333;
font-size: 12px; font-family: Verdana, Arial, Helvetica, sans-serif;
}

input.mainoption {
background-color : #FFFFFF;
font-weight : bold;
}

input.liteoption {
background-color : #FFFFFF;
font-weight : normal;
}

.helpline { background-color: #FFFFFF; border-style: none; }
.aquawords { color: #63605E; font-size: 13px; font-weight : bold; }

@import url('http://img4.xooimage.com/files/f/o/formie-311c2.css');[/hide]


J'ai modifié le code couleur j'ai mis "#FAAF18" mais ça n'a pas marché


Hors ligne

Enregistré le:
Mar 2 Sep 2008 17:53
Messages: 142
Répondre en citant le message  
Haut  
 Sujet du message:
Message Posté: Dim 5 Oct 2008 15:51 

enfaite faudrais changer de couleur ce que j'ai entouré en vert:

http://img399.imageshack.us/img399/9461/policejz4.jpg

L'image qu'on voit c'est lorsque on post un message, donc je sais pas si c'est aqua ou autre template qu'il faut regarder ?


Hors ligne

Enregistré le:
Mar 2 Sep 2008 17:53
Messages: 142
Répondre en citant le message  
Haut  
 Sujet du message:
Message Posté: Dim 5 Oct 2008 16:19 

Bon je viens de faire des tests de changements dans les CSS de Xooit et apparemment cela ne change rien.
Etrange, bizarre mais bref disait Pépin.

Alors pour modifié comme tu le faisat au départ, cela pouvait fonctionner, mais il fallait supprimer la balise <class=***)

Pour ta dernière image cela doit être dans le fichier posting.tpl dans les templates de ton thème.

_________________
Ma satisfaction, que vous soyez satisfait.


Avatar de l’utilisateur
<font color=#AA0000><b>Fondateur</b></font>
Fondateur
Hors ligne

Enregistré le:
Mar 1 Nov 2005 19:45
Messages: 5117
Localisation: Centre France

Profil  Site Internet Voir la position géographique du membre
Répondre en citant le message  
Haut  
 Sujet du message:
Message Posté: Dim 5 Oct 2008 17:16 

pour "posting tpl" je n'ai pas trouvé l'endroit pour changer la couleur :

voici le template :

[hide]<script language="JavaScript" type="text/javascript">
<!--
// Startup variables
var imageTag = false;
var theSelection = false;

var clientPC = navigator.userAgent.toLowerCase(); // Get client info
var clientVer = parseInt(navigator.appVersion); // Get browser version

var is_ie = ((clientPC.indexOf("msie") != -1) && (clientPC.indexOf("opera") == -1));
var is_nav = ((clientPC.indexOf('mozilla')!=-1) && (clientPC.indexOf('spoofer')==-1)
&& (clientPC.indexOf('compatible') == -1) && (clientPC.indexOf('opera')==-1)
&& (clientPC.indexOf('webtv')==-1) && (clientPC.indexOf('hotjava')==-1));
var is_moz = 0;

var is_win = ((clientPC.indexOf("win")!=-1) || (clientPC.indexOf("16bit") != -1));
var is_mac = (clientPC.indexOf("mac")!=-1);

// Helpline messages
b_help = "{L_BBCODE_B_HELP}";
i_help = "{L_BBCODE_I_HELP}";
u_help = "{L_BBCODE_U_HELP}";
q_help = "{L_BBCODE_Q_HELP}";
c_help = "{L_BBCODE_C_HELP}";
l_help = "{L_BBCODE_L_HELP}";
o_help = "{L_BBCODE_O_HELP}";
p_help = "{L_BBCODE_P_HELP}";
w_help = "{L_BBCODE_W_HELP}";
a_help = "{L_BBCODE_A_HELP}";
s_help = "{L_BBCODE_S_HELP}";
f_help = "{L_BBCODE_F_HELP}";

// Define the bbCode tags
bbcode = new Array();
bbtags = new Array('','','','','','','
Citation:
','
','','
    ','
','[list=]','[/list]','[img]','[/img]','[url]','[/url]');
imageTag = false;

// Shows the help messages in the helpline window
function helpline(help) {
document.post.helpbox.value = eval(help + "_help");
}


// Replacement for arrayname.length property
function getarraysize(thearray) {
for (i = 0; i < thearray.length; i++) {
if ((thearray[i] == "undefined") || (thearray[i] == "") || (thearray[i] == null))
return i;
}
return thearray.length;
}

// Replacement for arrayname.push(value) not implemented in IE until version 5.5
// Appends element to the array
function arraypush(thearray,value) {
thearray[ getarraysize(thearray) ] = value;
}

// Replacement for arrayname.pop() not implemented in IE until version 5.5
// Removes and returns the last element of an array
function arraypop(thearray) {
thearraysize = getarraysize(thearray);
retval = thearray[thearraysize - 1];
delete thearray[thearraysize - 1];
return retval;
}


function checkForm() {

formErrors = false;

if (document.post.message.value.length < 2) {
formErrors = "{L_EMPTY_MESSAGE}";
}

if (formErrors) {
alert(formErrors);
return false;
} else {
bbstyle(-1);
//formObj.preview.disabled = true;
//formObj.submit.disabled = true;
return true;
}
}

function emoticon(text) {
var txtarea = document.post.message;
text = ' ' + text + ' ';
if (txtarea.createTextRange && txtarea.caretPos) {
var caretPos = txtarea.caretPos;
caretPos.text = caretPos.text.charAt(caretPos.text.length - 1) == ' ' ? caretPos.text + text + ' ' : caretPos.text + text;
txtarea.focus();
} else {
txtarea.value += text;
txtarea.focus();
}
}

function bbfontstyle(bbopen, bbclose) {
var txtarea = document.post.message;

if ((clientVer >= 4) && is_ie && is_win) {
theSelection = document.selection.createRange().text;
if (!theSelection) {
txtarea.value += bbopen + bbclose;
txtarea.focus();
return;
}
document.selection.createRange().text = bbopen + theSelection + bbclose;
txtarea.focus();
return;
}
else if (txtarea.selectionEnd && (txtarea.selectionEnd - txtarea.selectionStart > 0))
{
mozWrap(txtarea, bbopen, bbclose);
return;
}
else
{
txtarea.value += bbopen + bbclose;
txtarea.focus();
}
storeCaret(txtarea);
}


function bbstyle(bbnumber) {
var txtarea = document.post.message;

txtarea.focus();
donotinsert = false;
theSelection = false;
bblast = 0;

if (bbnumber == -1) { // Close all open tags & default button names
while (bbcode[0]) {
butnumber = arraypop(bbcode) - 1;
txtarea.value += bbtags[butnumber + 1];
buttext = eval('document.post.addbbcode' + butnumber + '.value');
eval('document.post.addbbcode' + butnumber + '.value ="' + buttext.substr(0,(buttext.length - 1)) + '"');
}
imageTag = false; // All tags are closed including image tags :D
txtarea.focus();
return;
}

if ((clientVer >= 4) && is_ie && is_win)
{
theSelection = document.selection.createRange().text; // Get text selection
if (theSelection) {
// Add tags around selection
document.selection.createRange().text = bbtags[bbnumber] + theSelection + bbtags[bbnumber+1];
txtarea.focus();
theSelection = '';
return;
}
}
else if (txtarea.selectionEnd && (txtarea.selectionEnd - txtarea.selectionStart > 0))
{
mozWrap(txtarea, bbtags[bbnumber], bbtags[bbnumber+1]);
return;
}

// Find last occurance of an open tag the same as the one just clicked
for (i = 0; i < bbcode.length; i++) {
if (bbcode[i] == bbnumber+1) {
bblast = i;
donotinsert = true;
}
}

if (donotinsert) {// Close all open tags up to the one just clicked & default button names
while (bbcode[bblast]) {
butnumber = arraypop(bbcode) - 1;
txtarea.value += bbtags[butnumber + 1];
buttext = eval('document.post.addbbcode' + butnumber + '.value');
eval('document.post.addbbcode' + butnumber + '.value ="' + buttext.substr(0,(buttext.length - 1)) + '"');
imageTag = false;
}
txtarea.focus();
return;
} else { // Open tags

if (imageTag && (bbnumber != 14)) {// Close image tag before adding another
txtarea.value += bbtags[15];
lastValue = arraypop(bbcode) - 1;// Remove the close image tag from the list
document.post.addbbcode14.value = "Img";// Return button back to normal state
imageTag = false;
}

// Open tag
txtarea.value += bbtags[bbnumber];
if ((bbnumber == 14) && (imageTag == false)) imageTag = 1; // Check to stop additional tags after an unclosed image tag
arraypush(bbcode,bbnumber+1);
eval('document.post.addbbcode'+bbnumber+'.value += "*"');
txtarea.focus();
return;
}
storeCaret(txtarea);
}

// From http://www.massless.org/mozedit/
function mozWrap(txtarea, open, close)
{
var selLength = txtarea.textLength;
var selStart = txtarea.selectionStart;
var selEnd = txtarea.selectionEnd;
if (selEnd == 1 || selEnd == 2)
selEnd = selLength;

var s1 = (txtarea.value).substring(0,selStart);
var s2 = (txtarea.value).substring(selStart, selEnd)
var s3 = (txtarea.value).substring(selEnd, selLength);
txtarea.value = s1 + open + s2 + close + s3;
return;
}

// Insert at Claret position. Code from
// http://www.faqts.com/knowledge_base/vie ... 52/fid/130
function storeCaret(textEl) {
if (textEl.createTextRange) textEl.caretPos = document.selection.createRange().duplicate();
}

//-->
</script>

<!-- BEGIN privmsg_extensions -->
<table border="0" cellspacing="0" cellpadding="0" align="center" width="90%">
<tr>
<td valign="top" align="center" width="100%">
<table height="40" cellspacing="2" cellpadding="2" border="0">
<tr valign="middle">
<td>{INBOX_IMG}</td>
<td><span class="cattitle">{INBOX_LINK}&nbsp;&nbsp;</span></td>
<td>{SENTBOX_IMG}</td>
<td><span class="cattitle">{SENTBOX_LINK}&nbsp;&nbsp;</span></td>
<td>{OUTBOX_IMG}</td>
<td><span class="cattitle">{OUTBOX_LINK}&nbsp;&nbsp;</span></td>
<td>{SAVEBOX_IMG}</td>
<td><span class="cattitle">{SAVEBOX_LINK}&nbsp;&nbsp;</span></td>
</tr>
</table>
</td>
</tr>
</table>

<br clear="all" />
<!-- END privmsg_extensions -->

<form action="{S_POST_ACTION}" method="post" name="post" onsubmit="return checkForm(this)">

{POST_PREVIEW_BOX}
{ERROR_BOX}

<table width="90%" cellspacing="2" cellpadding="2" border="0" align="center">
<tr>
<td align="left"><span class="nav"><a href="{U_INDEX}" class="nav">{L_INDEX}</a>
<!-- BEGIN switch_not_privmsg -->
-> <a href="{U_VIEW_FORUM}" class="nav">{FORUM_NAME}</a></span></td>
<!-- END switch_not_privmsg -->
</tr>
</table>
<table width="90%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr align="center">
<td width="129" height="35" align="left"><img src="http://img10.xooimage.com/files/a/q/aquaxul-311d9.gif" width="129" height="35"></td>
<td height="35" align="center" valign="bottom" background="http://img7.xooimage.com/files/a/q/aquaxum-311da.gif"><span class="aquawords">{L_POST_A}</span></td>
<td width="3" height="35" align="right"><img src="http://img9.xooimage.com/files/a/q/aquaxur-311db.gif" width="3" height="35"></td>
</tr>
</table>
<table width="90%" border="0" align="center" cellpadding="4" cellspacing="0" class="forumline">
<!-- BEGIN switch_username_select -->
<tr>
<td class="row1"><span class="gen"><b>{L_USERNAME}</b></span></td>
<td class="row2"><span class="genmed"><input type="text" class="post" tabindex="1" name="username" size="25" maxlength="25" value="{USERNAME}" /></span></td>
</tr>
<!-- END switch_username_select -->
<!-- BEGIN switch_privmsg -->
<tr>
<td class="row1"><span class="gen"><b>{L_USERNAME}</b></span></td>
<td class="row2"><span class="genmed"><input type="text" class="post" name="username" maxlength="25" size="25" tabindex="1" value="{USERNAME}" />&nbsp;<input type="submit" name="usersubmit" value="{L_FIND_USERNAME}" class="liteoption" onClick="window.open('{U_SEARCH_USER}', '_phpbbsearch', 'HEIGHT=250,resizable=yes,WIDTH=400');return false;" /></span></td>
</tr>
<!-- END switch_privmsg -->
<tr>
<td class="row1" width="22%"><span class="gen"><b>{L_SUBJECT}</b></span></td>
<td class="row2" width="78%"> <span class="gen">
<input type="text" name="subject" size="45" maxlength="60" style="width:450px" tabindex="2" class="post" value="{SUBJECT}" />
</span> </td>
</tr>
<tr>
<td class="row1" valign="top">
<table width="100%" border="0" cellspacing="0" cellpadding="1">
<tr>
<td><span class="gen"><b>{L_MESSAGE_BODY}</b></span> </td>
</tr>
<tr>
<td valign="middle" align="center"> <br />
<table width="100" border="0" cellspacing="0" cellpadding="5">
<tr align="center">
<td colspan="{S_SMILIES_COLSPAN}" class="gensmall"><b>{L_EMOTICONS}</b></td>
</tr>
<!-- BEGIN smilies_row -->
<tr align="center" valign="middle">
<!-- BEGIN smilies_col -->
<td><a href="javascript:emoticon('{smilies_row.smilies_col.SMILEY_CODE}')"><img src="{smilies_row.smilies_col.SMILEY_IMG}" border="0" alt="{smilies_row.smilies_col.SMILEY_DESC}" title="{smilies_row.smilies_col.SMILEY_DESC}" /></a></td>
<!-- END smilies_col -->
</tr>
<!-- END smilies_row -->
<!-- BEGIN switch_smilies_extra -->
<tr align="center">
<td colspan="{S_SMILIES_COLSPAN}"><span class="nav"><a href="{U_MORE_SMILIES}" onclick="window.open('{U_MORE_SMILIES}', '_phpbbsmilies', 'HEIGHT=300,resizable=yes,scrollbars=yes,WIDTH=250');return false;" target="_phpbbsmilies" class="nav">{L_MORE_SMILIES}</a></span></td>
</tr>
<!-- END switch_smilies_extra -->
</table>
</td>
</tr>
</table>
</td>
<td class="row2" valign="top"><span class="gen"> <span class="genmed"> </span>
<table width="450" border="0" cellspacing="0" cellpadding="2">
<tr align="center" valign="middle">
<td><span class="genmed">
<input type="button" class="button" accesskey="b" name="addbbcode0" value=" B " style="font-weight:bold; width: 30px" onClick="bbstyle(0)" onMouseOver="helpline('b')" />
</span></td>
<td><span class="genmed">
<input type="button" class="button" accesskey="i" name="addbbcode2" value=" i " style="font-style:italic; width: 30px" onClick="bbstyle(2)" onMouseOver="helpline('i')" />
</span></td>
<td><span class="genmed">
<input type="button" class="button" accesskey="u" name="addbbcode4" value=" u " style="text-decoration: underline; width: 30px" onClick="bbstyle(4)" onMouseOver="helpline('u')" />
</span></td>
<td><span class="genmed">
<input type="button" class="button" accesskey="q" name="addbbcode6" value="Quote" style="width: 50px" onClick="bbstyle(6)" onMouseOver="helpline('q')" />
</span></td>
<td><span class="genmed">
<input type="button" class="button" accesskey="c" name="addbbcode8" value="Code" style="width: 40px" onClick="bbstyle(8)" onMouseOver="helpline('c')" />
</span></td>
<td><span class="genmed">
<input type="button" class="button" accesskey="l" name="addbbcode10" value="List" style="width: 40px" onClick="bbstyle(10)" onMouseOver="helpline('l')" />
</span></td>
<td><span class="genmed">
<input type="button" class="button" accesskey="o" name="addbbcode12" value="List=" style="width: 40px" onClick="bbstyle(12)" onMouseOver="helpline('o')" />
</span></td>
<td><span class="genmed">
<input type="button" class="button" accesskey="p" name="addbbcode14" value="Img" style="width: 40px" onClick="bbstyle(14)" onMouseOver="helpline('p')" />
</span></td>
<td><span class="genmed">
<input type="button" class="button" accesskey="w" name="addbbcode16" value="URL" style="text-decoration: underline; width: 40px" onClick="bbstyle(16)" onMouseOver="helpline('w')" />
</span></td>
</tr>
<tr>
<td colspan="9">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><span class="genmed"> &nbsp;{L_FONT_COLOR}:
<select name="addbbcode18" onChange="bbfontstyle('[color=' + this.form.addbbcode18.options[this.form.addbbcode18.selectedIndex].value + ']', '[/color]');this.selectedIndex=0;" onMouseOver="helpline('s')">
<option style="color:black" value="{T_FONTCOLOR1}" class="genmed">{L_COLOR_DEFAULT}</option>
<option style="color:darkred" value="darkred" class="genmed">{L_COLOR_DARK_RED}</option>
<option style="color:red" value="red" class="genmed">{L_COLOR_RED}</option>
<option style="color:orange" value="orange" class="genmed">{L_COLOR_ORANGE}</option>
<option style="color:brown" value="brown" class="genmed">{L_COLOR_BROWN}</option>
<option style="color:yellow" value="yellow" class="genmed">{L_COLOR_YELLOW}</option>
<option style="color:green" value="green" class="genmed">{L_COLOR_GREEN}</option>
<option style="color:olive" value="olive" class="genmed">{L_COLOR_OLIVE}</option>
<option style="color:cyan" value="cyan" class="genmed">{L_COLOR_CYAN}</option>
<option style="color:blue" value="blue" class="genmed">{L_COLOR_BLUE}</option>
<option style="color:darkblue" value="darkblue" class="genmed">{L_COLOR_DARK_BLUE}</option>
<option style="color:indigo" value="indigo" class="genmed">{L_COLOR_INDIGO}</option>
<option style="color:violet" value="violet" class="genmed">{L_COLOR_VIOLET}</option>
<option style="color:white; background-color: black" value="white" class="genmed">{L_COLOR_WHITE}</option>
<option style="color:black" value="black" class="genmed">{L_COLOR_BLACK}</option>
</select> &nbsp;{L_FONT_SIZE}:<select name="addbbcode20" onChange="bbfontstyle('[size=' + this.form.addbbcode20.options[this.form.addbbcode20.selectedIndex].value + ']', '[/size]')" onMouseOver="helpline('f')">
<option value="7" class="genmed">{L_FONT_TINY}</option>
<option value="9" class="genmed">{L_FONT_SMALL}</option>
<option value="12" selected class="genmed">{L_FONT_NORMAL}</option>
<option value="18" class="genmed">{L_FONT_LARGE}</option>
<option value="24" class="genmed">{L_FONT_HUGE}</option>
</select>
</span></td>
<td nowrap="nowrap" align="right"><span class="gensmall"><a href="javascript:bbstyle(-1)" class="genmed" onMouseOver="helpline('a')">{L_BBCODE_CLOSE_TAGS}</a></span></td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan="9"> <span class="gensmall">
<input type="text" name="helpbox" size="45" maxlength="100" style="width:450px; font-size:10px" class="helpline" value="{L_STYLES_TIP}" />
</span></td>
</tr>
<tr>
<td colspan="9"><span class="gen">
<textarea name="message" rows="15" cols="35" wrap="virtual" style="width:450px" tabindex="3" class="post" onselect="storeCaret(this);" onclick="storeCaret(this);" onkeyup="storeCaret(this);">{MESSAGE}</textarea>
</span></td>
</tr>
</table>
</span></td>
</tr>
<tr>
<td class="row1" valign="top"><span class="gen"><b>{L_OPTIONS}</b></span><br /><span class="gensmall">{HTML_STATUS}<br />{BBCODE_STATUS}<br />{SMILIES_STATUS}</span></td>
<td class="row2"><span class="gen"> </span>
<table cellspacing="0" cellpadding="1" border="0">
<!-- BEGIN switch_html_checkbox -->
<tr>
<td>
<input type="checkbox" name="disable_html" {S_HTML_CHECKED} />
</td>
<td><span class="gen">{L_DISABLE_HTML}</span></td>
</tr>
<!-- END switch_html_checkbox -->
<!-- BEGIN switch_bbcode_checkbox -->
<tr>
<td>
<input type="checkbox" name="disable_bbcode" {S_BBCODE_CHECKED} />
</td>
<td><span class="gen">{L_DISABLE_BBCODE}</span></td>
</tr>
<!-- END switch_bbcode_checkbox -->
<!-- BEGIN switch_smilies_checkbox -->
<tr>
<td>
<input type="checkbox" name="disable_smilies" {S_SMILIES_CHECKED} />
</td>
<td><span class="gen">{L_DISABLE_SMILIES}</span></td>
</tr>
<!-- END switch_smilies_checkbox -->
<!-- BEGIN switch_signature_checkbox -->
<tr>
<td>
<input type="checkbox" name="attach_sig" {S_SIGNATURE_CHECKED} />

</td>
<td><span class="gen">{L_ATTACH_SIGNATURE}</span></td>
</tr>
<!-- END switch_signature_checkbox -->
<!-- BEGIN switch_notify_checkbox -->
<tr>
<td>
<input type="checkbox" name="notify" {S_NOTIFY_CHECKED} />
</td>
<td><span class="gen">{L_NOTIFY_ON_REPLY}</span></td>
</tr>
<!-- END switch_notify_checkbox -->
<!-- BEGIN switch_delete_checkbox -->
<tr>
<td>
<input type="checkbox" name="delete" />
</td>
<td><span class="gen">{L_DELETE_POST}</span></td>
</tr>
<!-- END switch_delete_checkbox -->
<!-- BEGIN switch_type_toggle -->
<tr>
<td></td>
<td><span class="gen">{S_TYPE_TOGGLE}</span></td>
</tr>
<!-- END switch_type_toggle -->
</table>
</td>
</tr>
{POLLBOX}
<tr>
<td class="row1" colspan="2" align="center" height="25"> {S_HIDDEN_FORM_FIELDS}<input type="submit" tabindex="5" name="preview" class="mainoption" value="{L_PREVIEW}" />&nbsp;<input type="submit" accesskey="s" tabindex="6" name="post" class="mainoption" value="{L_SUBMIT}" /></td>
</tr>
</table>
<table width="90%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="3" height="24" align="left"><img src="http://img5.xooimage.com/files/a/q/aquaxdl-311dc.gif" width="3" height="24"></td>
<td height="24" background="http://img9.xooimage.com/files/a/q/aquaxdm-311dd.gif"><span class="gensmall">{S_TIMEZONE}</span></td>
<td width="61" height="24" align="right"><img src="http://img2.xooimage.com/files/a/q/aquaxdr-311de.gif" width="61" height="24"></td>
</tr>
</table>
</form>

<table width="90%" border="0" align="center">
<tr>
<td valign="top" align="right">{JUMPBOX}</td>
</tr>
</table>
{TOPIC_REVIEW_BOX}[/hide]


Hors ligne

Enregistré le:
Mar 2 Sep 2008 17:53
Messages: 142
Répondre en citant le message  
Haut  
 Sujet du message:
Message Posté: Dim 5 Oct 2008 19:12 

C'est cette partie:

<td align="left"><span class="nav"><a href="{U_INDEX}" class="nav">{L_INDEX}</a>
<!-- BEGIN switch_not_privmsg -->
-> <a href="{U_VIEW_FORUM}" class="nav">{FORUM_NAME}</a></span></td>
<!-- END switch_not_privmsg -->


Remplacer le <span class="nav"> par <span style="font-size: 12px; color: CODE COULEUR">

_________________
Ma satisfaction, que vous soyez satisfait.


Avatar de l’utilisateur
<font color=#AA0000><b>Fondateur</b></font>
Fondateur
Hors ligne

Enregistré le:
Mar 1 Nov 2005 19:45
Messages: 5117
Localisation: Centre France

Profil  Site Internet Voir la position géographique du membre
Répondre en citant le message  
Haut  
 Sujet du message:
Message Posté: Dim 5 Oct 2008 20:16 

j'ai mis comme ça, ça n'a rien changé non plus:

[hide]
<td align="left"><span style="font-size: 12px; color:#E90000"><a href="{U_INDEX}" class="nav">{L_INDEX}</a>
<!-- BEGIN switch_not_privmsg -->
-> <a href="{U_VIEW_FORUM}" class="nav">{FORUM_NAME}</a></span></td>
<!-- END switch_not_privmsg -->
[/hide]


Hors ligne

Enregistré le:
Mar 2 Sep 2008 17:53
Messages: 142
Répondre en citant le message  
Haut  
 Sujet du message:
Message Posté: Dim 5 Oct 2008 20:24 

et après j'ai essayé comme ça

<td align="left"><span class="nav" style="color: #E90000;"><a href="{U_INDEX}" class="nav">{L_INDEX}</a>
<!-- BEGIN switch_not_privmsg -->
-> <a href="{U_VIEW_FORUM}" class="nav">{FORUM_NAME}</a></span></td>
<!-- END switch_not_privmsg -->


mais ça m'a changé de couleur que la flèche et pas le texte:

Image


Hors ligne

Enregistré le:
Mar 2 Sep 2008 17:53
Messages: 142
Répondre en citant le message  
Haut  
 Sujet du message:
Message Posté: Dim 5 Oct 2008 20:44 

Voilà ce qu'il te faut:

<td align="left"><a href="{U_INDEX}"><span style="font-size: 12px; color:#E90000">{L_INDEX}</a>
<!-- BEGIN switch_not_privmsg -->
-> <a href="{U_VIEW_FORUM}"><span style="font-size: 12px; color:#E90000">{FORUM_NAME}</a></span></td>
<!-- END switch_not_privmsg -->

_________________
Ma satisfaction, que vous soyez satisfait.


Avatar de l’utilisateur
<font color=#AA0000><b>Fondateur</b></font>
Fondateur
Hors ligne

Enregistré le:
Mar 1 Nov 2005 19:45
Messages: 5117
Localisation: Centre France

Profil  Site Internet Voir la position géographique du membre
Répondre en citant le message  
Haut  
 Sujet du message:
Message Posté: Dim 5 Oct 2008 21:21 

trop fort, ça à marché, parcontre pourquoi la flèche ne change pas aussi de la meme couleur que le le texte ?

http://img171.imageshack.us/img171/4568/pamarchebm2.jpg


Hors ligne

Enregistré le:
Mar 2 Sep 2008 17:53
Messages: 142
Répondre en citant le message  
Haut  
 Sujet du message:
Message Posté: Dim 5 Oct 2008 21:28 

En réfléchissant un peu tu aurais compris qu'il suffit de rajouter
<span style="font-size: 12px; color:#E90000">

juste devant la flèche

Je ne veux pas être vexant avec toi, mais si je donne les infos par petits bouts c'est justement pour que vous tentiez de comprendre ce que je vous fait faire.
Si je vous fait tout, vous ne saurez jamais faire les modifications vous mêmes.

_________________
Ma satisfaction, que vous soyez satisfait.


Avatar de l’utilisateur
<font color=#AA0000><b>Fondateur</b></font>
Fondateur
Hors ligne

Enregistré le:
Mar 1 Nov 2005 19:45
Messages: 5117
Localisation: Centre France

Profil  Site Internet Voir la position géographique du membre
Répondre en citant le message  
Haut  
 Sujet du message:
Message Posté: Lun 6 Oct 2008 11:32 

merci :wink:


Hors ligne

Enregistré le:
Mar 2 Sep 2008 17:53
Messages: 142
Répondre en citant le message  
Haut  
 Sujet du message:
Message Posté: Lun 6 Oct 2008 11:33 

Je cherche un site ou on peut télécharger les cellpic des catégorie du forum:

http://img98.imageshack.us/img98/9677/cadremb9.jpg


Hors ligne

Enregistré le:
Mar 2 Sep 2008 17:53
Messages: 142
Répondre en citant le message  
Haut  
 Sujet du message:
Message Posté: Lun 6 Oct 2008 12:48 

Personellement je ne connais pas de site spécialisé en la matière, mais je suppose qu'un site de graphisme doit pouvoir répondre à une demande éventuelle.

Consultes nos partenaires et éventuellement dans la barre publicitaire en bas de ce forum, je pense que tu devrais y trouver chaussure à ton pied.

_________________
Ma satisfaction, que vous soyez satisfait.


Avatar de l’utilisateur
<font color=#AA0000><b>Fondateur</b></font>
Fondateur
Hors ligne

Enregistré le:
Mar 1 Nov 2005 19:45
Messages: 5117
Localisation: Centre France

Profil  Site Internet Voir la position géographique du membre
Répondre en citant le message  
Haut  
 
Poster un nouveau sujet Répondre au sujet



Qui est en ligne

Utilisateurs parcourant ce forum : Aucun utilisateur enregistré et 4 invités


Afficher les messages postés depuis:   Trier par  
Aller à:  

Vous ne pouvez pas poster de nouveaux sujets
Vous ne pouvez pas répondre aux sujets
Vous ne pouvez pas modifier vos messages
Vous ne pouvez pas supprimer vos messages
Vous ne pouvez pas joindre des fichiers

Index du forum » ENTRAIDE » XOOIT » Apparence

cron

Votre site ici

Inscrire votre site        Voir plus de boutons
 

Reproduction strictement interdite sans l'autorisation de l'administrateur.

PatMax © 2006 - 2008
Développé par phpBB® Forum Software © phpBB Group    
Traduit par phpBB-fr.com
Thème graphique par PatMax ©