It is currently Sun 25 Sep 2016 - 07:26 - créer un forum

Une bannière aléatoire

Skip to content

Post new topic Reply to topic Goto page: <  1, 2, 37, 8, 913, 14, 15  >

Une bannière aléatoire
Author Message
kondor





PostPosted: Wed 12 Mar 2008 - 22:07    Post subject: Une bannière aléatoire Reply with quote

PublicitéSupprimer les publicités ?
Previous post review:

Bonjour ,
j'ai bien suivis le tutorial et ca ne marche pas chez moi...

Voici mon code :

Code: Sélectionner - Agrandir
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html dir="{S_CONTENT_DIRECTION}">
<head>
<meta http-equiv="Content-Type" content="text/html; charset={S_CONTENT_ENCODING}">
<meta http-equiv="Content-Style-Type" content="text/css">
{META}
{NAV_LINKS}
<title>{SITENAME} :: {PAGE_TITLE}</title>
<!-- link rel="stylesheet" href="http://img3.xooimage.com/files/7/e/d/subsilver-293406.css" type="text/css" -->
<style type="text/css">
<!--
/*
  The original subSilver Theme for phpBB version 2+
  Created by subBlue design
  http://www.subBlue.com

  NOTE: These CSS definitions are stored within the main page body so that you can use the phpBB2
  theme administration centre. When you have finalised your style you could cut the final CSS code
  and place it in an external file, deleting this section to save bandwidth.
*/

/* General page style. The scroll bar colours only visible in IE5.5+ */
body {
   background-color: {T_BODY_BGCOLOR};
   scrollbar-face-color: {T_TR_COLOR2};
   scrollbar-highlight-color: {T_TD_COLOR2};
   scrollbar-shadow-color: {T_TR_COLOR2};
   scrollbar-3dlight-color: {T_TR_COLOR3};
   scrollbar-arrow-color:  {T_BODY_LINK};
   scrollbar-track-color: {T_TR_COLOR1};
   scrollbar-darkshadow-color: {T_TH_COLOR1};
}

/* General font families for common tags */
font,th,td,p { font-family: {T_FONTFACE1} }
a:link,a:active,a:visited { color : {T_BODY_LINK}; }
a:hover      { text-decoration: underline; color : {T_BODY_HLINK}; }
hr   { height: 0px; border: solid {T_TR_COLOR3} 0px; border-top-width: 1px;}

/* This is the border line & background colour round the entire page */
.bodyline   { background-color: {T_TD_COLOR2}; border: 1px {T_TH_COLOR1} solid; }

/* This is the outline round the main forum tables */
.forumline   { background-color: {T_TD_COLOR2}; border:0; }

/* Main table cell colours and backgrounds */
td.row1   { background-color: {T_TR_COLOR1}; }
td.row2   { background-color: {T_TR_COLOR2}; }
td.row3   { background-color: {T_TR_COLOR3}; }

/*
  This is for the table cell above the Topics, Post & Last posts on the index.php page
  By default this is the fading out gradiated silver background.
  However, you could replace this with a bitmap specific for each forum
*/
td.rowpic {
      background-color: {T_TD_COLOR2};
      background-image: url(http://img5.xooimage.com/files/d/1/c/cellpic2--noirev3-293405.gif);
      background-repeat: repeat-y;
}

/* Header cells - the blue and silver gradient backgrounds */
th   {
   color: {T_FONTCOLOR3}; font-size: {T_FONTSIZE2}px; font-weight : bold;
   background-color: {T_BODY_LINK}; height: 25px;
   background-image: url(http://img7.xooimage.com/files/8/8/5/bg_mnu-290575.gif);
}

td.cat,td.catHead,td.catSides,td.catLeft,td.catRight,td.catBottom {
         background-image: url(http://img3.xooimage.com/files/2/e/9/cellpic1-noire-29055b.gif);
         background-color:{T_TR_COLOR3}; border: {T_TH_COLOR3}; border-style: solid; height: 28px;
}

/*
  Setting additional nice inner borders for the main table cells.
  The names indicate which sides the border will be on.
  Don't worry if you don't understand this, just ignore it :-)
*/
td.cat,td.catHead,td.catBottom {
   height: 29px;
   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: {T_TD_COLOR2}; border-style: solid; height: 28px;
}
td.row3Right,td.spaceRow {
   background-color: {T_TR_COLOR3}; border: {T_TH_COLOR3}; border-style: solid;
}

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

/* The largest text used in the index page title and toptic title etc. */
.maintitle   {
   font-weight: bold; font-size: 22px; font-family: "{T_FONTFACE2}",{T_FONTFACE1};
   text-decoration: none; line-height : 120%; color : {T_BODY_TEXT};
}

/* General text */
.gen { font-size : {T_FONTSIZE3}px; }
.genmed { font-size : {T_FONTSIZE2}px; }
.gensmall { font-size : {T_FONTSIZE1}px; }
.gen,.genmed,.gensmall { color : {T_BODY_TEXT}; }
a.gen,a.genmed,a.gensmall { color: {T_BODY_LINK}; text-decoration: none; }
a.gen:hover,a.genmed:hover,a.gensmall:hover   { color: {T_BODY_HLINK}; text-decoration: underline; }

/* The register, login, search etc links at the top of the page */
.mainmenu      { font-size : {T_FONTSIZE2}px; color : {T_BODY_TEXT} }
a.mainmenu      { text-decoration: none; color : {T_BODY_LINK};  }
a.mainmenu:hover{ text-decoration: underline; color : {T_BODY_HLINK}; }

/* Forum category titles */
.cattitle      { font-weight: bold; font-size: {T_FONTSIZE3}px ; letter-spacing: 1px; color : {T_BODY_LINK}}
a.cattitle      { text-decoration: none; color : {T_BODY_LINK}; }
a.cattitle:hover{ text-decoration: underline; }

/* Forum title: Text and link to the forums used in: index.php */
.forumlink      { font-weight: bold; font-size: {T_FONTSIZE3}px; color : {T_BODY_LINK}; }
a.forumlink    { text-decoration: none; color : {T_BODY_LINK}; }
a.forumlink:hover{ text-decoration: underline; color : {T_BODY_HLINK}; }

/* Used for the navigation text, (Page 1,2,3 etc) and the navigation bar when in a forum */
.nav         { font-weight: bold; font-size: {T_FONTSIZE2}px; color : {T_BODY_TEXT};}
a.nav         { text-decoration: none; color : {T_BODY_LINK}; }
a.nav:hover      { text-decoration: underline; }

/* titles for the topics: could specify viewed link colour too */
.topictitle,h1,h2   { font-weight: bold; font-size: {T_FONTSIZE2}px; color : {T_BODY_TEXT}; }
a.topictitle:link   { text-decoration: none; color : {T_BODY_LINK}; }
a.topictitle:visited { text-decoration: none; color : {T_BODY_VLINK}; }
a.topictitle:hover   { text-decoration: underline; color : {T_BODY_HLINK}; }

/* Name of poster in viewmsg.php and viewtopic.php and other places */
.name         { font-size : {T_FONTSIZE2}px; color : {T_BODY_TEXT};}

/* Location, number of posts, post date etc */
.postdetails      { font-size : {T_FONTSIZE1}px; color : {T_BODY_TEXT}; }

/* The content of the posts (body of text) */
.postbody { font-size : {T_FONTSIZE3}px; line-height: 18px}
a.postlink:link   { text-decoration: none; color : {T_BODY_LINK} }
a.postlink:visited { text-decoration: none; color : {T_BODY_VLINK}; }
a.postlink:hover { text-decoration: underline; color : {T_BODY_HLINK}}

/* Quote & Code blocks */
.code {
   font-family: {T_FONTFACE3}; font-size: {T_FONTSIZE2}px; color: {T_FONTCOLOR2};
   background-color: {T_TD_COLOR1}; border: {T_TR_COLOR3}; border-style: solid;
   border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px
}

.quote {
   font-family: {T_FONTFACE1}; font-size: {T_FONTSIZE2}px; color: {T_FONTCOLOR1}; line-height: 125%;
   background-color: {T_TD_COLOR1}; border: {T_TR_COLOR3}; border-style: solid;
   border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px
}

/* Copyright and bottom info */
.copyright      { font-size: {T_FONTSIZE1}px; font-family: {T_FONTFACE1}; color: {T_FONTCOLOR1}; letter-spacing: -1px;}
a.copyright      { color: {T_FONTCOLOR1}; text-decoration: none;}
a.copyright:hover { color: {T_BODY_TEXT}; text-decoration: underline;}

/* Form elements */
input,textarea, select {
   color : {T_BODY_TEXT};
   font: normal {T_FONTSIZE2}px {T_FONTFACE1};
   border-color: {T_BODY_TEXT};
}

/* The text input fields background colour */
input.post, textarea.post, select {
   background-color : {T_TD_COLOR2};
   border-width:1px;
}

input { text-indent : 2px; }

/* The buttons used for bbCode styling in message post */
input.button {
   background-color : {T_TR_COLOR1};
   color : {T_BODY_TEXT};
   font-size: {T_FONTSIZE2}px; font-family: {T_FONTFACE1};
}

/* The main submit button option */
input.mainoption {
   background-color : {T_TD_COLOR1};
   font-weight : bold;
   border-width:1px;
}

/* None-bold submit button */
input.liteoption {
   background-color : {T_TD_COLOR1};
   font-weight : normal;
   border-width:1px;
}

/* This is the line in the posting page which shows the rollover
  help line. This is actually a text box, but if set to be the same
  colour as the background no one will know ;)
*/
.helpline { background-color: {T_TR_COLOR2}; border-style: none; }

/* Import the fancy styles for IE only (NS4.x doesn't use the @import function) */
@import url("http://img10.xooimage.com/files/f/o/formie-30d7c.css");
-->
</style>
<!-- BEGIN switch_enable_pm_popup -->
<script language="Javascript" type="text/javascript">
<!--
   if ( {PRIVATE_MESSAGE_NEW_FLAG} )
   {
      window.open('{U_PRIVATEMSGS_POPUP}', '_phpbbprivmsg', 'HEIGHT=225,resizable=yes,WIDTH=400');;
   }
//-->
</script>
<!-- END switch_enable_pm_popup -->
<script language="JavaScript">
var nb = 0;
var hasard = 0;

banniere = new Array;
banniere[1] = new Image();
banniere[1].src = "http://img505.imageshack.us/img505/9575/firett5.gif";
banniere[2] = new Image();
banniere[2].src = "http://img257.imageshack.us/img257/3173/mortvivantdd5.gif";
banniere[3] = new Image();
banniere[3].src = "http://img377.imageshack.us/img377/2024/orangeoq5.gif";
banniere[4] = new Image();
banniere[4].src = "http://img505.imageshack.us/img505/7743/serieousbusinesssg0.gif";
banniere[5] = new Image();
banniere[5].src = "http://img505.imageshack.us/img505/4778/kabooomti8.gif";

function bascule() {
var numimg = banniere.length - 1;
do {
var nombre = Math.random();
nb = Math.round((numimg - 1) * nombre) + 1;
} while (nb == hasard);
hasard = nb;
document.choix.src = banniere[hasard].src;
}
</script>
</head>
<body onload="bascule()" bgcolor="{T_BODY_BGCOLOR}" text="{T_BODY_TEXT}" link="{T_BODY_LINK}" vlink="{T_BODY_VLINK}">

<a name="top"></a>

<table width="100%" cellspacing="15" cellpadding="0" border="0" align="center">
   <tr>
      <td class="bodyline">
<div style="text-align:center"><a href="{U_INDEX}"><img src="http://img505.imageshack.us/img505/9575/firett5.gif" border="0" alt="{L_INDEX}" vspace="1" /></a><br /><br />
<span class="maintitle">{SITENAME}</span><br /><span class="gen">{SITE_DESCRIPTION}</span><br /><br /></div>

<div style="text-align:center">
            <table cellspacing="0" cellpadding="2" border="0" style="margin:auto">
               <tr>
                  <td align="center" valign="top" nowrap="nowrap"><span class="mainmenu">&nbsp;<a href="{U_FAQ}" class="mainmenu"><img src="http://img1.xooimage.com/files/b/4/9/icon_mini_faq-290b3e.gif" width="12" height="13" border="0" alt="{L_FAQ}" hspace="3" />{L_FAQ}</a></span><span class="mainmenu">&nbsp; &nbsp;<a href="{U_SEARCH}" class="mainmenu"><img src="http://img1.xooimage.com/files/d/5/1/icon_mini_search-290b3b.gif" width="12" height="13" border="0" alt="{L_SEARCH}" hspace="3" />{L_SEARCH}</a>&nbsp; &nbsp;<a href="{U_MEMBERLIST}" class="mainmenu"><img src="http://img7.xooimage.com/files/6/f/f/icon_mini_members-290b48.gif" width="12" height="13" border="0" alt="{L_MEMBERLIST}" hspace="3" />{L_MEMBERLIST}</a>&nbsp; &nbsp;<a href="{U_GROUP_CP}" class="mainmenu"><img src="http://img5.xooimage.com/files/d/2/3/icon_mini_groups-290b40.gif" width="12" height="13" border="0" alt="{L_USERGROUPS}" hspace="3" />{L_USERGROUPS}</a>&nbsp;
                  <!-- BEGIN switch_user_logged_out -->
                  &nbsp;<a href="{U_REGISTER}" class="mainmenu"><img src="http://img9.xooimage.com/files/9/0/7/icon_mini_register-290b07.gif" width="12" height="13" border="0" alt="{L_REGISTER}" hspace="3" />{L_REGISTER}</a></span>&nbsp;
                  <!-- END switch_user_logged_out -->
                  </td>
               </tr>
               <tr>
                  <td height="25" align="center" valign="top" nowrap="nowrap"><span class="mainmenu">&nbsp;<a href="{U_PROFILE}" class="mainmenu"><img src="http://img1.xooimage.com/files/a/b/1/icon_mini_profile-290b20.gif" width="12" height="13" border="0" alt="{L_PROFILE}" hspace="3" />{L_PROFILE}</a>&nbsp; &nbsp;<a href="{U_PRIVATEMSGS}" class="mainmenu"><img src="http://img3.xooimage.com/files/2/f/6/icon_mini_message-290b4c.gif" width="12" height="13" border="0" alt="{PRIVATE_MESSAGE_INFO}" hspace="3" />{PRIVATE_MESSAGE_INFO}</a>&nbsp; &nbsp;<a href="{U_LOGIN_LOGOUT}" class="mainmenu"><img src="http://img5.xooimage.com/files/2/2/f/icon_mini_login-290b44.gif" width="12" height="13" border="0" alt="{L_LOGIN_LOGOUT}" hspace="3" />{L_LOGIN_LOGOUT}</a>&nbsp;</span></td>
               </tr>
            </table>
</div>
      <br />


Là j'ai ajouté une 5° barre, mais j'ai essayé avec 4 et ca ne marchait pas non plus. Crying or Very sad
Author Message
themalin
Membre


Offline
Membre

Joined: 19 Apr 2006
Posts: 8,897
Point(s): 9,101
Moyenne: 1.02
Mac Firefox (ou l'un de ses dérivés : Minefield/Pale Moon/...)

PostPosted: Thu 13 Mar 2008 - 13:38    Post subject: Une bannière aléatoire Reply with quote

bonjour

tu as oublié de faire la seconde modification
celle qui consiste à changer le code de ton logo
lis bien le tuto
_______________________


Forum
Author Message
kondor


Offline
Guest




PostPosted: Thu 13 Mar 2008 - 19:29    Post subject: Une bannière aléatoire Reply with quote

Je viens de revérifier et il me semble que l'étape 2° est bonne.

J'ai fais un petit changement (en relisant l'étape 3°) :

Code: Sélectionner - Agrandir
<a href="{U_INDEX}"><img name="area" src="http://img505.imageshack.us/img505/9575/firett5.gif"


Author Message
kondor


Offline
Guest




PostPosted: Fri 14 Mar 2008 - 20:55    Post subject: Une bannière aléatoire Reply with quote

Personne pour m'aider ,s'il vous plait... Embarassed

Author Message
themalin
Membre


Offline
Membre

Joined: 19 Apr 2006
Posts: 8,897
Point(s): 9,101
Moyenne: 1.02
Mac Firefox (ou l'un de ses dérivés : Minefield/Pale Moon/...)

PostPosted: Fri 14 Mar 2008 - 21:08    Post subject: Une bannière aléatoire Reply with quote

tu dois mettre le même code que donné en page une pour le code de ton image
au lieu d'area tu mets choix
_______________________


Forum
Author Message
kondor


Offline
Guest




PostPosted: Fri 14 Mar 2008 - 21:16    Post subject: Une bannière aléatoire Reply with quote

A okay ,merci bien c'est fonctionnel =D

Author Message
Melgo


Offline
Guest




PostPosted: Sat 29 Mar 2008 - 17:17    Post subject: Une bannière aléatoire Reply with quote

Bonjour,

J'ai aussi un petit problème, certaines fois j'ai deux images sur la même page, j'ai pourtant copier correctement ( du moins je crois ) le srcipt
Vous pouvez jetez un coup d'œil?

 
Code: Sélectionner - Agrandir
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html dir="{S_CONTENT_DIRECTION}">
<head>
<meta http-equiv="Content-Type" content="text/html; charset={S_CONTENT_ENCODING}">
<meta http-equiv="Content-Style-Type" content="text/css">
{META}
{NAV_LINKS}
<title>{SITENAME} :: {PAGE_TITLE}</title>
<!-- link rel="stylesheet" href="http://img5.xooimage.com/files/d/a/darkages-90844.css" type="text/css" -->
<style type="text/css">
<!--
/*
  darkages Theme for phpBB version 2+
  designed by larme d'ange
  http://artlineaire.free.fr/larmestyles

  NOTE: These CSS definitions are stored within the main page body so that you can use the phpBB2
  theme administration centre. When you have finalised your style you could cut the final CSS code
  and place it in an external file, deleting this section to save bandwidth.
*/

/* General page style. The scroll bar colours only visible in IE5.5+ */
body {
        background-image:url(http://img5.xooimage.com/files/f/o/fond-90845.jpg);
        scrollbar-face-color: {T_TR_COLOR2};
        scrollbar-highlight-color: {T_TD_COLOR2};
        scrollbar-shadow-color: {T_TR_COLOR2};
        scrollbar-3dlight-color: {T_TR_COLOR3};
        scrollbar-arrow-color: {T_TH_COLOR1};
        scrollbar-track-color: {T_TR_COLOR1};
        scrollbar-darkshadow-color: {T_TH_COLOR1};
}

/* General font families for common tags */
font,th,td,p { font-family: {T_FONTFACE1} }
a:link,a:active,a:visited { color : {T_BODY_LINK}; }
a:hover                { text-decoration: none; color : {T_BODY_HLINK}; }
hr        { height: 0px; border: solid {T_TR_COLOR3} 0px; border-top-width: 1px;}

/* This is the border line & background colour round the entire page */
.bodyline        {background-color: none; border: 1px {T_TH_COLOR1} solid; }

/* This is the outline round the main forum tables */
.forumline        { background-color: {T_TD_COLOR2}; border: 2px {T_TH_COLOR2} solid; }

/* Main table cell colours and backgrounds */
td.row1        {
background-color: {T_TR_COLOR1}; }
td.row2        {
background-color: {T_TR_COLOR2}; }
td.row3        { background-color: {T_TR_COLOR3}; }

/*
  This is for the table cell above the Topics, Post & Last posts on the index.php page
  By default this is the fading out gradiated silver background.
  However, you could replace this with a bitmap specific for each forum
*/
td.rowpic {
                background-color: {T_TD_COLOR2};
                background-image: url(http://img2.xooimage.com/files/c/e/cellpic2-8c966.jpg);
                background-repeat: repeat-y;
}

/* Header cells - the blue and silver gradient backgrounds */
th        {
        color: {T_FONTCOLOR3}; font-size: {T_FONTSIZE2}px; font-weight : bold;
        background-color: {T_BODY_LINK}; height: 25px;
        background-image: url(http://img5.xooimage.com/files/c/e/cellpic3-8c96a.jpg);
}

td.cat,td.catHead,td.catSides,td.catLeft,td.catRight,td.catBottom {
                        background-image: url(http://img10.xooimage.com/files/c/e/cellpic1-8c964.jpg);
                        background-color:{T_TR_COLOR3}; border: {T_TH_COLOR3}; border-style: solid; height: 28px;
}

/*
  Setting additional nice inner borders for the main table cells.
  The names indicate which sides the border will be on.
  Don't worry if you don't understand this, just ignore it :-)
*/
td.cat,td.catHead,td.catBottom {
        height: 29px;
        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: {T_TD_COLOR2}; border-style: solid; height: 28px;
}
td.row3Right,td.spaceRow {
        background-color: {T_TR_COLOR3}; border: {T_TH_COLOR3}; border-style: solid;
}

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

/* The largest text used in the index page title and toptic title etc. */
.maintitle        {
        font-weight: bold; font-size: 22px; font-family: "{T_FONTFACE2}",{T_FONTFACE1};
        text-decoration: none; line-height : 120%; color : {T_BODY_TEXT};
}

/* General text */
.gen { font-size : {T_FONTSIZE3}px; }
.genmed { font-size : {T_FONTSIZE2}px; }
.gensmall { font-size : {T_FONTSIZE1}px; }
.gen,.genmed,.gensmall { color : {T_BODY_TEXT}; }
a.gen,a.genmed,a.gensmall { color: {T_BODY_LINK}; text-decoration: none; }
a.gen:hover,a.genmed:hover,a.gensmall:hover        { color: {T_BODY_HLINK}; text-decoration: underline; }

/* The register, login, search etc links at the top of the page */
.mainmenu                { font-size : 0px; color : {T_BODY_TEXT} }
a.mainmenu                {  color : {T_BODY_LINK};  }
a.mainmenu:hover{ text-decoration: none; color : {T_BODY_HLINK}; }

/* Forum category titles */
.cattitle                { font-weight: bold; font-size: {T_FONTSIZE3}px ; letter-spacing: 1px; color : {T_BODY_LINK}}
a.cattitle                { text-decoration: none; color : {T_BODY_LINK}; }
a.cattitle:hover{ text-decoration: none; }

/* Forum title: Text and link to the forums used in: index.php */
.forumlink                { font-weight: bold; font-size: {T_FONTSIZE3}px; color : {T_BODY_LINK}; }
a.forumlink         { text-decoration: none; color : {T_BODY_LINK}; }
a.forumlink:hover{ text-decoration: none; color : {T_BODY_HLINK}; }

/* Used for the navigation text, (Page 1,2,3 etc) and the navigation bar when in a forum */
.nav                        { font-weight: bold; font-size: {T_FONTSIZE2}px; color : {T_BODY_TEXT};}
a.nav                        { text-decoration: none; color : {T_BODY_LINK}; }
a.nav:hover                { text-decoration: none; }

/* titles for the topics: could specify viewed link colour too */
.topictitle,h1,h2        { font-weight: bold; font-size: {T_FONTSIZE2}px; color : {T_BODY_TEXT}; }
a.topictitle:link   { text-decoration: none; color : {T_BODY_LINK}; }
a.topictitle:visited { text-decoration: none; color : {T_BODY_VLINK}; }
a.topictitle:hover        { text-decoration: nonee; color : {T_BODY_HLINK}; }

/* Name of poster in viewmsg.php and viewtopic.php and other places */
.name                        { font-size : {T_FONTSIZE2}px; color : {T_BODY_TEXT};}

/* Location, number of posts, post date etc */
.postdetails                { font-size : {T_FONTSIZE1}px; color : {T_BODY_TEXT}; }

/* The content of the posts (body of text) */
.postbody { font-size : {T_FONTSIZE3}px; line-height: 18px}
a.postlink:link        { text-decoration: none; color : {T_BODY_LINK} }
a.postlink:visited { text-decoration: none; color : {T_BODY_VLINK}; }
a.postlink:hover { text-decoration: underline; color : {T_BODY_HLINK}}

/* Quote & Code blocks */
.code {
        font-family: {T_FONTFACE3}; font-size: {T_FONTSIZE2}px; color: {T_FONTCOLOR2};
        background-color: {T_TD_COLOR1}; border: {T_TR_COLOR3}; border-style: solid;
        border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px
}

.quote {
        font-family: {T_FONTFACE1}; font-size: {T_FONTSIZE2}px; color: {T_FONTCOLOR1}; line-height: 125%;
        background-color: {T_TD_COLOR1}; border: {T_TR_COLOR3}; border-style: solid;
        border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px
}

/* Copyright and bottom info */
.copyright                { font-size: {T_FONTSIZE1}px; font-family: {T_FONTFACE1}; color: {T_FONTCOLOR1}; letter-spacing: -1px;}
a.copyright                { color: {T_FONTCOLOR1}; text-decoration: none;}
a.copyright:hover { color: {T_BODY_TEXT}; text-decoration: underline;}

/* Form elements */
input,textarea, select {
        color : {T_BODY_TEXT};
        font: normal {T_FONTSIZE2}px {T_FONTFACE1};
        border-color : {T_BODY_TEXT};
}

/* The text input fields background colour */
input.post, textarea.post, select { 
        background-color : {T_TD_COLOR2};
}

input { text-indent : 2px; }

/* The buttons used for bbCode styling in message post */
input.button {
        background-color : {T_TR_COLOR1};
        color : {T_BODY_TEXT};
        font-size: {T_FONTSIZE2}px; font-family: {T_FONTFACE1};
}

/* The main submit button option */
input.mainoption {
        background-color : {T_TD_COLOR1};
        font-weight : bold;
}

/* None-bold submit button */
input.liteoption {
        background-color : {T_TD_COLOR1};
        font-weight : normal;
}

/* This is the line in the posting page which shows the rollover
  help line.
*/
.helpline { background-color: {T_TR_COLOR2}; border-style: none; }

/* Import the fancy styles for IE only (NS4.x doesn't use the @import function) */
@import url("http://img10.xooimage.com/files/f/o/formie-30d7c.css");
-->
</style>
<!-- BEGIN switch_enable_pm_popup -->
<script language="Javascript" type="text/javascript">
<!--
        if ( {PRIVATE_MESSAGE_NEW_FLAG} )
        {
                window.open('{U_PRIVATEMSGS_POPUP}', '_phpbbprivmsg', 'HEIGHT=225,resizable=yes,WIDTH=400');;
        }
//-->
</script>
<!-- END switch_enable_pm_popup -->
<script language="JavaScript">
var nb = 0;
var hasard = 0;

banniere = new Array;
banniere[1] = new Image();
banniere[1].src = "http://www.casimages.com/img.php?i=0803290110552778297.jpg";
banniere[2] = new Image();
banniere[2].src = "http://www.casimages.com/img.php?i=0803290101312778221.jpg";
banniere[3] = new Image();
banniere[3].src = "http://img216.imageshack.us/img216/426/bannire2aiy8.jpg";

function bascule() {
var numimg = banniere.length - 1;
do {
var nombre = Math.random();
nb = Math.round((numimg - 1) * nombre) + 1;
} while (nb == hasard);
hasard = nb;
document.choix.src = banniere[hasard].src;
}
</script>
</head>
<body onLoad="bascule()" bgcolor="{T_BODY_BGCOLOR}" text="{T_BODY_TEXT}" link="{T_BODY_LINK}" vlink="{T_BODY_VLINK}" />

<a name="top"></a>

<table width="100%" cellspacing="0" cellpadding="10" border="0" align="center">
        <tr>
                <td class="bodyline"><table width="100%" cellspacing="0" cellpadding="0" border="0">
                        <tr>
                                <td valign="top" align="center"><a href="{U_INDEX}"><img src="http://img9.xooimage.com/files/5/7/b/banni-re2a-2bdeb0.jpg" border="0" alt="{L_INDEX}" vspace="3" /></a></td>
                                </tr>
                                <tr>
                                <td align="center" width="100%" valign="middle">
                                <table cellspacing="0" cellpadding="0" border="0">
                                        <tr>
                                                <td align="center" valign="top" nowrap="nowrap"><span class="mainmenu">
                                                <!-- BEGIN switch_user_logged_out -->
                                                <a href="{U_INDEX}" class="mainmenu"><img src="http://img8.xooimage.com/files/h/o/home-90846.jpg" border="0" alt="{L_INDEX}" hspace="0" vspace="22" /></a><a href="{U_FAQ}" class="mainmenu"><img src="http://img8.xooimage.com/files/f/a/faq-50b59.jpg" border="0" alt="{L_FAQ}" hspace="0" vspace="22" /></a><a href="{U_SEARCH}" class="mainmenu"><img src="http://img6.xooimage.com/files/s/e/search1-50b5c.jpg" border="0" alt="{L_SEARCH}" hspace="0" vspace="22" /></a><a href="{U_REGISTER}" class="mainmenu"><img src="http://img7.xooimage.com/files/r/e/register-50b5d.gif" border="0" alt="{L_REGISTER}" hspace="0" vspace="22" /></a><a href="{U_LOGIN_LOGOUT}" class="mainmenu"><img src="http://img2.xooimage.com/files/l/o/loggin-50b5f.jpg" border="0" alt="{L_LOGIN_LOGOUT}" hspace="0" vspace="22" /></a>
                                                <!-- END switch_user_logged_out -->
                                                <!-- BEGIN switch_user_logged_in -->
<a href="{U_INDEX}"><img name="choix" src="http://www.casimages.com/img.php?i=0803290110552778297" border="0" alt="{L_INDEX}" hspace="0" vspace="22" /></a><a href="{U_FAQ}" class="mainmenu"><img src="http://img8.xooimage.com/files/f/a/faq-50b59.jpg" border="0" alt="{L_FAQ}" hspace="0" vspace="22" /></a><a href="{U_SEARCH}" class="mainmenu"><img src="http://img6.xooimage.com/files/s/e/search1-50b5c.jpg" border="0" alt="{L_SEARCH}" hspace="0" vspace="22" /></a><a href="{U_MEMBERLIST}" class="mainmenu"><img src="http://img7.xooimage.com/files/m/e/members-90847.jpg" border="0" alt="{L_MEMBERLIST}" hspace="0" vspace="22" /></a><a href="{U_GROUP_CP}" class="mainmenu"><img src="http://img8.xooimage.com/files/g/r/groups-86985.jpg" border="0" alt="{L_USERGROUPS}" hspace="0" vspace="22" /></a><a href="{U_PROFILE}" class="mainmenu"><img src="http://img3.xooimage.com/files/p/r/profile-86983.jpg" border="0" alt="{L_PROFILE}" hspace="0" vspace="22" /></a><a href="{U_PRIVATEMSGS}"><img src="{PRIVMSG_IMG}" border="0" alt="{PRIVATE_MESSAGE_INFO}" title="{PRIVATE_MESSAGE_INFO}" vspace="22" /></a><a href="{U_LOGIN_LOGOUT}" class="mainmenu"><img src="http://img8.xooimage.com/files/l/o/loggout-90848.jpg" border="0" alt="{L_LOGIN_LOGOUT}" hspace="0" vspace="22" /></a>
                                                <!-- END switch_user_logged_in -->
                                        </span></td></tr>
                                </table></td>
                        </tr>
                </table>
               

                <br />


               

Author Message
themalin
Membre


Offline
Membre

Joined: 19 Apr 2006
Posts: 8,897
Point(s): 9,101
Moyenne: 1.02
Mac Firefox (ou l'un de ses dérivés : Minefield/Pale Moon/...)

PostPosted: Sat 29 Mar 2008 - 19:30    Post subject: Une bannière aléatoire Reply with quote

bonjour

 
Code: Sélectionner - Agrandir

<td valign="top" align="center"><a href="{U_INDEX}"><img src="http://img9.xooimage.com/files/5/7/b/banni-re2a-2bdeb0.jpg" border="0" alt="{L_INDEX}" vspace="3" /></a></td>  
ici tu n'as fais la modif du tuto
_______________________


Forum
Author Message
Melgo


Offline
Guest




PostPosted: Sun 30 Mar 2008 - 18:58    Post subject: Une bannière aléatoire Reply with quote

Bonjour,

Lorsque j'ai changé la ligne que tu ma dit Themalin, j'ai carrément plus de bannière, j'y comprend plus rien


Author Message
themalin
Membre


Offline
Membre

Joined: 19 Apr 2006
Posts: 8,897
Point(s): 9,101
Moyenne: 1.02
Mac Firefox (ou l'un de ses dérivés : Minefield/Pale Moon/...)

PostPosted: Sun 30 Mar 2008 - 19:43    Post subject: Une bannière aléatoire Reply with quote

est ce que tu mets le lien de ta bannière 1    ici

img src="lien de ta bannière"
_______________________


Forum
Author Message
dimitriuss


Offline
Guest




PostPosted: Sun 30 Mar 2008 - 20:10    Post subject: Une bannière aléatoire Reply with quote

Je crois que j'ai tout foiré ! Je n'ai pas trouvé la balise <body> donc j'ai essayé untruc et regardez ce que mon forum est devenu :

http://pubcity.xooit.fr/index.php



Ya tout qui c'est mis en petit ! Oops ! on peu m'aider ?


Author Message
themalin
Membre


Offline
Membre

Joined: 19 Apr 2006
Posts: 8,897
Point(s): 9,101
Moyenne: 1.02
Mac Firefox (ou l'un de ses dérivés : Minefield/Pale Moon/...)

PostPosted: Sun 30 Mar 2008 - 20:18    Post subject: Une bannière aléatoire Reply with quote

dans ton thème de test instales le même thème et copies colle le template du test en normal
_______________________


Forum
Author Message
dimitriuss


Offline
Guest




PostPosted: Sun 30 Mar 2008 - 20:24    Post subject: Une bannière aléatoire Reply with quote

Ok voila,mais je ne trouve pas <body>

Je voulais savoir ou les bannierres s'afficherons


Author Message
themalin
Membre


Offline
Membre

Joined: 19 Apr 2006
Posts: 8,897
Point(s): 9,101
Moyenne: 1.02
Mac Firefox (ou l'un de ses dérivés : Minefield/Pale Moon/...)

PostPosted: Sun 30 Mar 2008 - 20:42    Post subject: Une bannière aléatoire Reply with quote

il doit etre ici


 
Code: Sélectionner - Agrandir
</script>
</head>
<body onLoad="bascule()" bgcolor="{T_BODY_BGCOLOR}" text="{T_BODY_TEXT}" link="{T_BODY_LINK}" vlink="{T_BODY_VLINK}" />
 
<a name="top"></a>  



si tu ne l'as pas rajoutes le au même endroit
_______________________


Forum
Author Message
dimitriuss


Offline
Guest




PostPosted: Sun 30 Mar 2008 - 21:04    Post subject: Une bannière aléatoire Reply with quote

Ok je vais essayer !


PS : voila ce que j'ai moi :



 
Quote:

 
    <link rel="shortcut icon" href="http://www.hostingpics.net/pics/327265iconeP.gif">

<head>
<meta http-equiv="Content-Type" content="text/html; charset={S_CONTENT_ENCODING}">
<meta http-equiv="Content-Style-Type" content="text/css">
{META}
{NAV_LINKS}
<title>{SITENAME} :: {PAGE_TITLE}</title>
<!-- link rel="stylesheet" href="http://img.xooimage.com/files8/s/u/subsilver-30daa.css" type="text/css" -->
<style type="text/css">



J'ai essayé le code que tu m'a donné et regarde ce que sa me fait :http://pubcity.xooit.fr/index.php


Author Message
dimitriuss


Offline
Guest




PostPosted: Sun 30 Mar 2008 - 21:30    Post subject: Une bannière aléatoire Reply with quote

Bon aps grave;je vais remettre le templates a neuf comme avant et je recommencerais les nombreuses modifcations que j'y ai faites Crying or Very sad

Author Message
Contenu Sponsorisé





PostPosted: Today at 07:26    Post subject: Une bannière aléatoire

Display posts from previous:   
Reply to topic Page 8 of 15 Goto page: <  1, 2, 37, 8, 913, 14, 15  >




Portal | Index | Administration Panel | Create a forum | Free support forum | Free forums directory | Report a violation | Conditions générales d'utilisation
Propulsé par p h p B B © 2016 p h p B B Group |
 
© 2003-2013 Xooit.com - Contact - Mentions légales - CGU - Charte - CNIL : 1381401