It is currently Tue 27 Sep 2016 - 10:41 - créer un forum

[tuto]séparateur d'annonce et post-it

Skip to content

Post new topic Reply to topic Goto page: <  1, 2, 311, 12, 1335, 36, 37  >

[tuto]séparateur d'annonce et post-it
Author Message
Enix





PostPosted: Tue 20 Nov 2007 - 17:00    Post subject: [tuto]séparateur d'annonce et post-it Reply with quote

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

Quote:
enix ça marche bien chez toi ou est le problème


Bah tu vois pas la grosse bande noir et le texte qui est écrasé ??
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: Tue 20 Nov 2007 - 18:35    Post subject: [tuto]séparateur d'annonce et post-it Reply with quote

sous ie je ne vois pas ça tu peux faire un screen de ce que tu as toi
_______________________


Forum
Author Message
Enix


Offline
Guest




PostPosted: Tue 20 Nov 2007 - 19:19    Post subject: [tuto]séparateur d'annonce et post-it Reply with quote

Voila par contre moi j'utilise Firefox ça vient peut etre du navigateur :s :



Edit : sous IE7 aussi, j'ai le même résultat quand même.


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: Wed 21 Nov 2007 - 10:37    Post subject: [tuto]séparateur d'annonce et post-it Reply with quote

tu obtiens bien l'effet recherché mais avec l'image de sujet ça déforme un peu
_______________________


Forum
Author Message
Enix


Offline
Guest




PostPosted: Wed 21 Nov 2007 - 16:35    Post subject: [tuto]séparateur d'annonce et post-it Reply with quote

Le truc c'est qu'il n'y a pas d'images de sujet....et la bande noir est beaucoup trop grande. Y'a pas un truc a faire pour réduire cette bande ? Au pire je vais me débrouiller. Merci encore.

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: Wed 21 Nov 2007 - 17:26    Post subject: [tuto]séparateur d'annonce et post-it Reply with quote

supprimes le br qu'il y a dans le premier code
_______________________


Forum
Author Message
Enix


Offline
Guest




PostPosted: Wed 21 Nov 2007 - 20:03    Post subject: [tuto]séparateur d'annonce et post-it Reply with quote

Non j'ai essayé, ça ne réduit pas la bande noir, bon c'est pas grave merci de ta patience.

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 22 Nov 2007 - 11:52    Post subject: [tuto]séparateur d'annonce et post-it Reply with quote

ici

document.write('<tr><td class="row3" align="center" valign="middle" colspan="7">

</td></tr>');


tu remplaces bien par


document.write('<tr><td class="row3" align="center" valign="middle" colspan="7"></td></tr>');
_______________________


Forum
Author Message
Enix


Offline
Guest




PostPosted: Fri 23 Nov 2007 - 01:02    Post subject: [tuto]séparateur d'annonce et post-it Reply with quote

Oui ça réduit l'espace entre la bande grise qui sépare les messages normaux des post-its, mais la bande noir est toujours aussi grande et écrase toujours le Texte des sujets postés.

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 23 Nov 2007 - 10:49    Post subject: [tuto]séparateur d'annonce et post-it Reply with quote

dans ton thème de test avec lme même thème qu'en normal essayes avec ce template


Code: Sélectionner - Agrandir

<script language="Javascript" type="text/javascript">
<!--
imprim = 0;
-->
</script>
<script language="Javascript" type="text/javascript">
<!--
function teststicky(annonce){
var elems=document.getElementsByTagName('img');
var issticky=false;
for(var i=0;i<elems.length;i++){
if(elems[i].src.search(/(announce|sticky)/g) < 0) continue;
issticky=true;
break;
}
if (issticky == true) {
document.write('<tr><td class="row3" align="center" valign="middle" colspan="7"><br><br></td></tr>');
imprim = 1;
}
}
-->
</script>
<form method="post" action="{S_POST_DAYS_ACTION}">
  <table width="100%" cellspacing="2" cellpadding="2" border="0" align="center">
 <tr>
   <td align="left" valign="bottom" colspan="2"><a class="maintitle" href="{U_VIEW_FORUM}"><img src="http://img7.xooimage.com/files/i/c/icon_nav-3118c.gif" border="0" align="absmiddle">{FORUM_NAME}</a><br /><span class="gensmall"><b>{L_MODERATOR}: {MODERATORS}<br /><br />{LOGGED_IN_USER_LIST}</b></span></td>
   <td align="right" valign="bottom" nowrap="nowrap"><span class="gensmall"><b>{PAGINATION}</b></span></td>
 </tr>
 <tr>
   <td align="left" valign="middle" width="50"><a href="{U_POST_NEW_TOPIC}"><img src="{POST_IMG}" border="0" alt="{L_POST_NEW_TOPIC}" /></a></td>
   <td align="left" valign="middle" class="nav" width="100%"><span class="nav">&nbsp;&nbsp;&nbsp;<a href="{U_INDEX}" class="nav">{L_INDEX}</a> -> <a class="nav" href="{U_VIEW_FORUM}">{FORUM_NAME}</a></span></td>
   <td align="right" valign="bottom" class="nav" nowrap="nowrap"><span class="gensmall"><a href="{U_MARK_READ}">{L_MARK_TOPICS_READ}</a></span></td>
 </tr>
  </table>
<!-- BEGIN catrow -->
<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
  <tr>
   <th colspan="2" class="thCornerL" height="25" nowrap="nowrap">&nbsp;{L_FORUM}&nbsp;</th>
   <th width="50" class="thTop" nowrap="nowrap">&nbsp;{L_TOPICS}&nbsp;</th>
   <th width="50" class="thTop" nowrap="nowrap">&nbsp;{L_POSTS}&nbsp;</th>
   <th class="thCornerR" nowrap="nowrap">&nbsp;{L_LASTPOST}&nbsp;</th>
  </tr>
  <!-- BEGIN forumrow -->
  <tr>
   <td class="row1" align="center" valign="middle" height="50"><img src="{catrow.forumrow.FORUM_FOLDER_IMG}"  alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" /></td>
   <td class="row1" width="100%" height="50">
         <!-- BEGIN switch_ficons -->
         <table style="padding:0;margin:0;" cellspacing="0" cellpadding="0"><tr><td style="width:{FICONSW}px;padding:3px">{catrow.forumrow.FORUM_ICON}</td><td>
         <!-- END switch_ficons -->
         <span class="forumlink"> <a href="{catrow.forumrow.U_VIEWFORUM}" class="forumlink">{catrow.forumrow.FORUM_NAME}</a><br />
     </span> <span class="genmed">{catrow.forumrow.FORUM_DESC}
          <!-- BEGIN switch_has_subforums -->
          <br />
          <!-- END switch_has_subforums -->
          <!-- BEGIN subforumrow -->
          <img src="{catrow.forumrow.subforumrow.FORUM_FOLDER_IMG}" alt="{catrow.forumrow.subforumrow.L_FORUM_FOLDER_ALT}" /><b><a href="{catrow.forumrow.subforumrow.U_VIEWFORUM}" class="postlink">{catrow.forumrow.subforumrow.FORUM_NAME}</a></b>
          <!-- END subforumrow -->
          <br />
     </span><span class="gensmall">{catrow.forumrow.L_MODERATOR} {catrow.forumrow.MODERATORS}</span>
          <!-- BEGIN switch_ficons -->
          </td></tr></table>
          <!-- END switch_ficons -->
</td>
   <td class="row2" align="center" valign="middle" height="50"><span class="gensmall">{catrow.forumrow.TOPICS}</span></td>
   <td class="row2" align="center" valign="middle" height="50"><span class="gensmall">{catrow.forumrow.POSTS}</span></td>
   <td class="row2" align="center" valign="middle" height="50" nowrap="nowrap"> <span class="gensmall">{catrow.forumrow.LAST_POST}</span></td>
  </tr>
  <!-- END forumrow -->
</table>
<br />
<!-- END catrow -->
<table border="3" cellpadding="4" cellspacing="1" width="100%" class="forumline" bgcolor="red">
 <tr>
   <th colspan="2" align="center" height="25" class="thCornerL" nowrap="nowrap">&nbsp;{L_TOPICS}&nbsp;</th>
   <th width="50" align="center" class="thTop" nowrap="nowrap">&nbsp;{L_REPLIES}&nbsp;</th>
   <th width="100" align="center" class="thTop" nowrap="nowrap">&nbsp;{L_AUTHOR}&nbsp;</th>
   <th width="50" align="center" class="thTop" nowrap="nowrap">&nbsp;{L_VIEWS}&nbsp;</th>
   <th align="center" class="thCornerR" nowrap="nowrap">&nbsp;{L_LASTPOST}&nbsp;</th>
 </tr>
   <!-- BEGIN topicrow -->
<script language="Javascript" type="text/javascript">
<!--
annonce = 0;
monreg = /(folder-|folder_n|folder_h|folder_l)/g;
zone = "{topicrow.TOPIC_FOLDER_IMG}";
if (monreg.test(zone)) {
annonce = 1;
}
if (imprim == 0 && annonce == 1) {
teststicky(annonce);
}
-->
</script>
<tr>
   <td class="row1" align="center" valign="middle" width="20"><img src="{topicrow.TOPIC_FOLDER_IMG}" width="19" height="18" alt="{topicrow.L_TOPIC_FOLDER_ALT}" title="{topicrow.L_TOPIC_FOLDER_ALT}" /></td>
<td class="row1" width="100%"><!-- BEGIN switch_ficons -->
                 <!-- END switch_ficons --><span class="topictitle">{topicrow.NEWEST_POST_IMG}{topicrow.TOPIC_TYPE}<a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a></span></td>
   <td class="row2" align="center" valign="middle"><span class="postdetails">{topicrow.REPLIES}</span></td>
   <td class="row3" align="center" valign="middle"><span class="name">{topicrow.TOPIC_AUTHOR}</span></td>
   <td class="row2" align="center" valign="middle"><span class="postdetails">{topicrow.VIEWS}</span></td>
   <td class="row3" align="center" valign="middle" nowrap="nowrap"><span class="postdetails">{topicrow.LAST_POST_TIME}<br />{topicrow.LAST_POST_AUTHOR} {topicrow.LAST_POST_IMG}</span></td>
 
 <!-- END topicrow -->
 <!-- BEGIN switch_no_topics -->
 <tr>
   <td class="row1" colspan="6" height="30" align="center" valign="middle"><span class="gen">{L_NO_TOPICS}</span></td>
 </tr>
 <!-- END switch_no_topics -->
 <tr>
   <td class="catBottom" align="center" valign="middle" colspan="6" height="28"><span class="genmed">{L_DISPLAY_TOPICS}:&nbsp;{S_SELECT_TOPIC_DAYS}&nbsp;
  <input type="submit" class="liteoption" value="{L_GO}" name="submit" />
  </span></td>
 </tr>
  </table>
  <table width="100%" cellspacing="2" border="0" align="center" cellpadding="2">
 <tr>
   <td align="left" valign="middle" width="50"><a href="{U_POST_NEW_TOPIC}"><img src="{POST_IMG}" border="0" alt="{L_POST_NEW_TOPIC}" /></a></td>
   <td align="left" valign="middle" width="100%"><span class="nav">&nbsp;&nbsp;&nbsp;<a href="{U_INDEX}" class="nav">{L_INDEX}</a> -> <a class="nav" href="{U_VIEW_FORUM}">{FORUM_NAME}</a></span></td>
   <td align="right" valign="middle" 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">{PAGE_NUMBER}</span></td>
 </tr>
  </table>
</form>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
 <td align="right">{JUMPBOX}</td>
  </tr>
</table>
<table width="100%" cellspacing="0" border="0" align="center" cellpadding="0">
 <tr>
  <td align="left" valign="top"><table cellspacing="3" cellpadding="0" border="0">
   <tr>
    <td width="20" align="left"><img src="{FOLDER_NEW_IMG}" alt="{L_NEW_POSTS}" width="19" height="18" /></td>
    <td class="gensmall">{L_NEW_POSTS}</td>
    <td>&nbsp;&nbsp;</td>
    <td width="20" align="center"><img src="{FOLDER_IMG}" alt="{L_NO_NEW_POSTS}" width="19" height="18" /></td>
    <td class="gensmall">{L_NO_NEW_POSTS}</td>
    <td>&nbsp;&nbsp;</td>
    <td width="20" align="center"><img src="{FOLDER_ANNOUNCE_IMG}" alt="{L_ANNOUNCEMENT}" width="19" height="18" /></td>
    <td class="gensmall">{L_ANNOUNCEMENT}</td>
   </tr>
   <tr>
    <td width="20" align="center"><img src="{FOLDER_HOT_NEW_IMG}" alt="{L_NEW_POSTS_HOT}" width="19" height="18" /></td>
    <td class="gensmall">{L_NEW_POSTS_HOT}</td>
    <td>&nbsp;&nbsp;</td>
    <td width="20" align="center"><img src="{FOLDER_HOT_IMG}" alt="{L_NO_NEW_POSTS_HOT}" width="19" height="18" /></td>
    <td class="gensmall">{L_NO_NEW_POSTS_HOT}</td>
    <td>&nbsp;&nbsp;</td>
    <td width="20" align="center"><img src="{FOLDER_STICKY_IMG}" alt="{L_STICKY}" width="19" height="18" /></td>
    <td class="gensmall">{L_STICKY}</td>
   </tr>
   <tr>
    <td class="gensmall"><img src="{FOLDER_LOCKED_NEW_IMG}" alt="{L_NEW_POSTS_LOCKED}" width="19" height="18" /></td>
    <td class="gensmall">{L_NEW_POSTS_LOCKED}</td>
    <td>&nbsp;&nbsp;</td>
    <td class="gensmall"><img src="{FOLDER_LOCKED_IMG}" alt="{L_NO_NEW_POSTS_LOCKED}" width="19" height="18" /></td>
    <td class="gensmall">{L_NO_NEW_POSTS_LOCKED}</td>
   </tr>
  </table></td>
  <td align="right"><span class="gensmall">{S_AUTH_LIST}</span></td>
 </tr>
</table>

_______________________


Forum
Author Message
Enix


Offline
Guest




PostPosted: Fri 23 Nov 2007 - 13:54    Post subject: [tuto]séparateur d'annonce et post-it Reply with quote

Donc la ça me grossis juste les lignes qui sépare les sujets ça met pas de séparations entre les annonces et sujets normaux.

Vois par toi-même : http://psp-axe-v.2.xooit.fr/f1-PSP-AXE.htm


Author Message
benjymanson


Offline
Guest




PostPosted: Sat 1 Dec 2007 - 17:43    Post subject: [tuto]séparateur d'annonce et post-it Reply with quote

Merci ! J'essai et je vous dit quoi Wink

EDIT : Chez moi, tout fonctionne correctement Wink sauf un tout petit défaut :
http://img240.imageshack.us/img240/8186/sanstitrehz2.jpg


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 1 Dec 2007 - 19:26    Post subject: [tuto]séparateur d'annonce et post-it Reply with quote

bonjour

c'est normal chez certain thème cette partie n'apparait plus correctement après avoir fais les modifs
_______________________


Forum
Author Message
Gabranth


Offline
Guest




PostPosted: Fri 4 Jan 2008 - 20:33    Post subject: [tuto]séparateur d'annonce et post-it Reply with quote

A la suite de ta demande:

Code: Sélectionner - Agrandir
<form method="post" action="{S_POST_DAYS_ACTION}">
  <table width="100%" cellspacing="2" cellpadding="2" border="0" align="center">
    <tr>
      <td align="left" valign="bottom" colspan="2"><a class="maintitle" href="{U_VIEW_FORUM}">{FORUM_NAME}</a><br /><span class="gensmall"><b>{L_MODERATOR}: {MODERATORS}<br /><br />{LOGGED_IN_USER_LIST}</b></span></td>
      <td align="right" valign="bottom" nowrap="nowrap"><span class="gensmall"><b>{PAGINATION}</b></span></td>
    </tr>
    <tr>
      <td align="left" valign="middle" width="50"><a href="{U_POST_NEW_TOPIC}"><img src="{POST_IMG}" border="0" alt="{L_POST_NEW_TOPIC}" /></a></td>
      <td align="left" valign="middle" class="nav" width="100%"><span class="nav">&nbsp;&nbsp;&nbsp;<a href="{U_INDEX}" class="nav">{L_INDEX}</a> -> <a class="nav" href="{U_VIEW_FORUM}">{FORUM_NAME}</a></span></td>
      <td align="right" valign="bottom" class="nav" nowrap="nowrap"><span class="gensmall"><a href="{U_MARK_READ}">{L_MARK_TOPICS_READ}</a></span></td>
    </tr>
  </table>

<table width="100%" cellpadding="0" cellspacing="0" border="0" class="">

<tr>
<td width="11" height="9" background="http://img1.xooimage.com/files/b/d/bd_lt-d9e4.jpg"></td>
<td width="100%" height="9" background="http://img1.xooimage.com/files/b/d/bd_t-d9e8.jpg"><img src="http://img1.xooimage.com/files/_/ti/_-2f2a.gif" alt="" width="1" height="9" /></td>
<td width="11" height="9" background="http://img1.xooimage.com/files/b/d/bd_rt-d9ea.jpg"></td>
</tr>
<tr>
<td width="11" background="http://img1.xooimage.com/files/b/d/bd_l-d9e9.jpg"><img src="http://img1.xooimage.com/files/_/ti/_-2f2a.gif" alt="" width="11" height="1" /></td>
<td>
<table width="100%" cellpadding="0" cellspacing="1" border="0" class="forumline">

    <tr>
      <th colspan="2" align="center" height="25" class="thCornerL" nowrap="nowrap">&nbsp;{L_TOPICS}&nbsp;</th>
      <th width="50" align="center" class="thTop" nowrap="nowrap">&nbsp;{L_REPLIES}&nbsp;</th>
      <th width="100" align="center" class="thTop" nowrap="nowrap">&nbsp;{L_AUTHOR}&nbsp;</th>
      <th width="50" align="center" class="thTop" nowrap="nowrap">&nbsp;{L_VIEWS}&nbsp;</th>
      <th align="center" class="thCornerR" nowrap="nowrap">&nbsp;{L_LASTPOST}&nbsp;</th>
    </tr>
    <!-- BEGIN topicrow -->
    <tr>
      <td class="row1" align="center" valign="middle" width="20"><img src="{topicrow.TOPIC_FOLDER_IMG}" width="42" height="42" alt="{topicrow.L_TOPIC_FOLDER_ALT}" title="{topicrow.L_TOPIC_FOLDER_ALT}" /></td>
      <td class="row1" width="100%"><span class="topictitle">&nbsp;{topicrow.NEWEST_POST_IMG}{topicrow.TOPIC_TYPE}<a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a></span><span class="gensmall"><br />
        {topicrow.GOTO_PAGE}</span></td>
      <td class="row2" align="center" valign="middle"><span class="postdetails">{topicrow.REPLIES}</span></td>
      <td class="row3" align="center" valign="middle"><span class="name">{topicrow.TOPIC_AUTHOR}</span></td>
      <td class="row2" align="center" valign="middle"><span class="postdetails">{topicrow.VIEWS}</span></td>
      <td class="row3Right" align="center" valign="middle" nowrap="nowrap"><span class="postdetails">{topicrow.LAST_POST_TIME}<br />{topicrow.LAST_POST_AUTHOR} {topicrow.LAST_POST_IMG}</span></td>
    </tr>
    <!-- END topicrow -->
    <!-- BEGIN switch_no_topics -->
    <tr>
      <td class="row1" colspan="6" height="30" align="center" valign="middle"><span class="gen">{L_NO_TOPICS}</span></td>
    </tr>
    <!-- END switch_no_topics -->
    <tr>
      <td class="catBottom" align="center" valign="middle" colspan="6" height="28"><span class="genmed">{L_DISPLAY_TOPICS}:&nbsp;{S_SELECT_TOPIC_DAYS}&nbsp;
        <input type="submit" class="liteoption" value="{L_GO}" name="submit" />
        </span></td>
    </tr>
  </table>
 
</td>
<td width="11" background="http://img1.xooimage.com/files/b/d/bd_r-d9e6.jpg"><img src="http://img1.xooimage.com/files/_/ti/_-2f2a.gif" alt="" width="11" height="1" /></td>
</tr>
<tr>
<td width="11" height="12" background="http://img1.xooimage.com/files/b/d/bd_ld-d9e3.jpg"></td>
<td width="100%" height="12" background="http://img1.xooimage.com/files/b/d/bd_d-d9e5.jpg"><img src="http://img1.xooimage.com/files/_/ti/_-2f2a.gif" alt="" width="1" height="12" /></td>
<td width="11" height="12" background="http://img1.xooimage.com/files/b/d/bd_rd-d9e7.jpg"></td>
</tr>
</table>

  <table width="100%" cellspacing="2" border="0" align="center" cellpadding="2">
    <tr>
      <td align="left" valign="middle" width="50"><a href="{U_POST_NEW_TOPIC}"><img src="{POST_IMG}" border="0" alt="{L_POST_NEW_TOPIC}" /></a></td>
      <td align="left" valign="middle" width="100%"><span class="nav">&nbsp;&nbsp;&nbsp;<a href="{U_INDEX}" class="nav">{L_INDEX}</a> -> <a class="nav" href="{U_VIEW_FORUM}">{FORUM_NAME}</a></span></td>
      <td align="right" valign="middle" 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">{PAGE_NUMBER}</span></td>
    </tr>
  </table>
</form>

<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td align="right">{JUMPBOX}</td>
  </tr>
</table>

<table width="100%" cellspacing="0" border="0" align="center" cellpadding="0">
    <tr>
        <td align="left" valign="top"><table cellspacing="3" cellpadding="0" border="0">
            <tr>
                <td width="20" align="left"><img src="http://img1.xooimage.com/files/f/o/folder_new_legd-da0a.jpg" alt="{L_NEW_POSTS}" width="32" height="32" /></td>
                <td class="gensmall">{L_NEW_POSTS}</td>
                <td>&nbsp;&nbsp;</td>
                <td width="20" align="center"><img src="http://img1.xooimage.com/files/f/o/folder_legd-d9f9.jpg" alt="{L_NO_NEW_POSTS}" width="32" height="32" /></td>
                <td class="gensmall">{L_NO_NEW_POSTS}</td>
                <td>&nbsp;&nbsp;</td>
                <td width="20" align="center"><img src="http://img1.xooimage.com/files/f/o/folder_announce_legd-d9f4.jpg" alt="{L_ANNOUNCEMENT}" width="32" height="32" /></td>
                <td class="gensmall">{L_ANNOUNCEMENT}</td>
            </tr>
            <tr>
                <td width="20" align="center"><img src="http://img1.xooimage.com/files/f/o/folder_new_hot_legd-da0c.jpg" alt="{L_NEW_POSTS_HOT}" width="32" height="32" /></td>
                <td class="gensmall">{L_NEW_POSTS_HOT}</td>
                <td>&nbsp;&nbsp;</td>
                <td width="20" align="center"><img src="http://img1.xooimage.com/files/f/o/folder_hot_legd-d9fd.jpg" alt="{L_NO_NEW_POSTS_HOT}" width="32" height="32" /></td>
                <td class="gensmall">{L_NO_NEW_POSTS_HOT}</td>
                <td>&nbsp;&nbsp;</td>
                <td width="20" align="center"><img src="http://img1.xooimage.com/files/f/o/folder_sticky_legd-da16.jpg" alt="{L_STICKY}" width="32" height="32" /></td>
                <td class="gensmall">{L_STICKY}</td>
            </tr>
            <tr>
                <td class="gensmall"><img src="http://img1.xooimage.com/files/f/o/folder_locked_hot_legd-d9fe.jpg" alt="{L_NEW_POSTS_LOCKED}" width="32" height="32" /></td>
                <td class="gensmall">{L_NEW_POSTS_LOCKED}</td>
                <td>&nbsp;&nbsp;</td>
                <td class="gensmall"><img src="http://img1.xooimage.com/files/f/o/folder_locked_legd-da01.jpg" alt="{L_NO_NEW_POSTS_LOCKED}" width="32" height="32" /></td>
                <td class="gensmall">{L_NO_NEW_POSTS_LOCKED}</td>
            </tr>
        </table></td>
        <td align="right"><span class="gensmall">{S_AUTH_LIST}</span></td>
    </tr>
</table>


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 4 Jan 2008 - 20:42    Post subject: [tuto]séparateur d'annonce et post-it Reply with quote

 
Code: Sélectionner - Agrandir
<script language="Javascript" type="text/javascript"> 
<!-- 
imprim = 0; 
--> 
</script> 
<script language="Javascript" type="text/javascript"> 
<!-- 
function teststicky(annonce){ 
var elems=document.getElementsByTagName('img'); 
var issticky=false; 
for(var i=0;i<elems.length;i++){ 
if(elems[i].src.search(/(announce|sticky)/g) < 0) continue; 
issticky=true; 
break; 

if (issticky == true) { 
document.write('<tr><td class="row3" align="center" valign="middle" colspan="7"></td></tr>'); 
imprim = 1; 


--> 
</script>

<form method="post" action="{S_POST_DAYS_ACTION}">
  <table width="100%" cellspacing="2" cellpadding="2" border="0" align="center">
    <tr>
      <td align="left" valign="bottom" colspan="2"><a class="maintitle" href="{U_VIEW_FORUM}">{FORUM_NAME}</a><br /><span class="gensmall"><b>{L_MODERATOR}: {MODERATORS}<br /><br />{LOGGED_IN_USER_LIST}</b></span></td>
      <td align="right" valign="bottom" nowrap="nowrap"><span class="gensmall"><b>{PAGINATION}</b></span></td>
    </tr>
    <tr>
      <td align="left" valign="middle" width="50"><a href="{U_POST_NEW_TOPIC}"><img src="{POST_IMG}" border="0" alt="{L_POST_NEW_TOPIC}" /></a></td>
      <td align="left" valign="middle" class="nav" width="100%"><span class="nav">&nbsp;&nbsp;&nbsp;<a href="{U_INDEX}" class="nav">{L_INDEX}</a> -> <a class="nav" href="{U_VIEW_FORUM}">{FORUM_NAME}</a></span></td>
      <td align="right" valign="bottom" class="nav" nowrap="nowrap"><span class="gensmall"><a href="{U_MARK_READ}">{L_MARK_TOPICS_READ}</a></span></td>
    </tr>
  </table>

<table width="100%" cellpadding="0" cellspacing="0" border="0" class="">

<tr>
<td width="11" height="9" background="http://img1.xooimage.com/files/b/d/bd_lt-d9e4.jpg"></td>
<td width="100%" height="9" background="http://img1.xooimage.com/files/b/d/bd_t-d9e8.jpg"><img src="http://img1.xooimage.com/files/_/ti/_-2f2a.gif" alt="" width="1" height="9" /></td>
<td width="11" height="9" background="http://img1.xooimage.com/files/b/d/bd_rt-d9ea.jpg"></td>
</tr>
<tr>
<td width="11" background="http://img1.xooimage.com/files/b/d/bd_l-d9e9.jpg"><img src="http://img1.xooimage.com/files/_/ti/_-2f2a.gif" alt="" width="11" height="1" /></td>
<td>
<table width="100%" cellpadding="0" cellspacing="1" border="0" class="forumline">

    <tr>
      <th colspan="2" align="center" height="25" class="thCornerL" nowrap="nowrap">&nbsp;{L_TOPICS}&nbsp;</th>
      <th width="50" align="center" class="thTop" nowrap="nowrap">&nbsp;{L_REPLIES}&nbsp;</th>
      <th width="100" align="center" class="thTop" nowrap="nowrap">&nbsp;{L_AUTHOR}&nbsp;</th>
      <th width="50" align="center" class="thTop" nowrap="nowrap">&nbsp;{L_VIEWS}&nbsp;</th>
      <th align="center" class="thCornerR" nowrap="nowrap">&nbsp;{L_LASTPOST}&nbsp;</th>
    </tr>
    <!-- BEGIN topicrow -->
<script language="Javascript" type="text/javascript"> 
<!-- 
annonce = 0; 
monreg = /(folder-|folder_n|folder_h|folder_l)/g; 
zone = "{topicrow.TOPIC_FOLDER_IMG}"; 
if (monreg.test(zone)) { 
annonce = 1; 

if (imprim == 0 && annonce == 1) { 
teststicky(annonce); 

--> 
</script>
    <tr>
      <td class="row1" align="center" valign="middle" width="20"><img src="{topicrow.TOPIC_FOLDER_IMG}" width="42" height="42" alt="{topicrow.L_TOPIC_FOLDER_ALT}" title="{topicrow.L_TOPIC_FOLDER_ALT}" /></td>
      <td class="row1" width="100%"><span class="topictitle">&nbsp;{topicrow.NEWEST_POST_IMG}{topicrow.TOPIC_TYPE}<a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a></span><span class="gensmall"><br />
        {topicrow.GOTO_PAGE}</span></td>
      <td class="row2" align="center" valign="middle"><span class="postdetails">{topicrow.REPLIES}</span></td>
      <td class="row3" align="center" valign="middle"><span class="name">{topicrow.TOPIC_AUTHOR}</span></td>
      <td class="row2" align="center" valign="middle"><span class="postdetails">{topicrow.VIEWS}</span></td>
      <td class="row3Right" align="center" valign="middle" nowrap="nowrap"><span class="postdetails">{topicrow.LAST_POST_TIME}<br />{topicrow.LAST_POST_AUTHOR} {topicrow.LAST_POST_IMG}</span></td>
    </tr>
    <!-- END topicrow -->
    <!-- BEGIN switch_no_topics -->
    <tr>
      <td class="row1" colspan="6" height="30" align="center" valign="middle"><span class="gen">{L_NO_TOPICS}</span></td>
    </tr>
    <!-- END switch_no_topics -->
    <tr>
      <td class="catBottom" align="center" valign="middle" colspan="6" height="28"><span class="genmed">{L_DISPLAY_TOPICS}:&nbsp;{S_SELECT_TOPIC_DAYS}&nbsp;
        <input type="submit" class="liteoption" value="{L_GO}" name="submit" />
        </span></td>
    </tr>
  </table>
 
</td>
<td width="11" background="http://img1.xooimage.com/files/b/d/bd_r-d9e6.jpg"><img src="http://img1.xooimage.com/files/_/ti/_-2f2a.gif" alt="" width="11" height="1" /></td>
</tr>
<tr>
<td width="11" height="12" background="http://img1.xooimage.com/files/b/d/bd_ld-d9e3.jpg"></td>
<td width="100%" height="12" background="http://img1.xooimage.com/files/b/d/bd_d-d9e5.jpg"><img src="http://img1.xooimage.com/files/_/ti/_-2f2a.gif" alt="" width="1" height="12" /></td>
<td width="11" height="12" background="http://img1.xooimage.com/files/b/d/bd_rd-d9e7.jpg"></td>
</tr>
</table>

  <table width="100%" cellspacing="2" border="0" align="center" cellpadding="2">
    <tr>
      <td align="left" valign="middle" width="50"><a href="{U_POST_NEW_TOPIC}"><img src="{POST_IMG}" border="0" alt="{L_POST_NEW_TOPIC}" /></a></td>
      <td align="left" valign="middle" width="100%"><span class="nav">&nbsp;&nbsp;&nbsp;<a href="{U_INDEX}" class="nav">{L_INDEX}</a> -> <a class="nav" href="{U_VIEW_FORUM}">{FORUM_NAME}</a></span></td>
      <td align="right" valign="middle" 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">{PAGE_NUMBER}</span></td>
    </tr>
  </table>
</form>

<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td align="right">{JUMPBOX}</td>
  </tr>
</table>

<table width="100%" cellspacing="0" border="0" align="center" cellpadding="0">
    <tr>
        <td align="left" valign="top"><table cellspacing="3" cellpadding="0" border="0">
            <tr>
                <td width="20" align="left"><img src="http://img1.xooimage.com/files/f/o/folder_new_legd-da0a.jpg" alt="{L_NEW_POSTS}" width="32" height="32" /></td>
                <td class="gensmall">{L_NEW_POSTS}</td>
                <td>&nbsp;&nbsp;</td>
                <td width="20" align="center"><img src="http://img1.xooimage.com/files/f/o/folder_legd-d9f9.jpg" alt="{L_NO_NEW_POSTS}" width="32" height="32" /></td>
                <td class="gensmall">{L_NO_NEW_POSTS}</td>
                <td>&nbsp;&nbsp;</td>
                <td width="20" align="center"><img src="http://img1.xooimage.com/files/f/o/folder_announce_legd-d9f4.jpg" alt="{L_ANNOUNCEMENT}" width="32" height="32" /></td>
                <td class="gensmall">{L_ANNOUNCEMENT}</td>
            </tr>
            <tr>
                <td width="20" align="center"><img src="http://img1.xooimage.com/files/f/o/folder_new_hot_legd-da0c.jpg" alt="{L_NEW_POSTS_HOT}" width="32" height="32" /></td>
                <td class="gensmall">{L_NEW_POSTS_HOT}</td>
                <td>&nbsp;&nbsp;</td>
                <td width="20" align="center"><img src="http://img1.xooimage.com/files/f/o/folder_hot_legd-d9fd.jpg" alt="{L_NO_NEW_POSTS_HOT}" width="32" height="32" /></td>
                <td class="gensmall">{L_NO_NEW_POSTS_HOT}</td>
                <td>&nbsp;&nbsp;</td>
                <td width="20" align="center"><img src="http://img1.xooimage.com/files/f/o/folder_sticky_legd-da16.jpg" alt="{L_STICKY}" width="32" height="32" /></td>
                <td class="gensmall">{L_STICKY}</td>
            </tr>
            <tr>
                <td class="gensmall"><img src="http://img1.xooimage.com/files/f/o/folder_locked_hot_legd-d9fe.jpg" alt="{L_NEW_POSTS_LOCKED}" width="32" height="32" /></td>
                <td class="gensmall">{L_NEW_POSTS_LOCKED}</td>
                <td>&nbsp;&nbsp;</td>
                <td class="gensmall"><img src="http://img1.xooimage.com/files/f/o/folder_locked_legd-da01.jpg" alt="{L_NO_NEW_POSTS_LOCKED}" width="32" height="32" /></td>
                <td class="gensmall">{L_NO_NEW_POSTS_LOCKED}</td>
            </tr>
        </table></td>
        <td align="right"><span class="gensmall">{S_AUTH_LIST}</span></td>
    </tr>
</table> 

_______________________


Forum
Author Message
Gabranth


Offline
Guest




PostPosted: Fri 4 Jan 2008 - 20:44    Post subject: [tuto]séparateur d'annonce et post-it Reply with quote

Et j'en fais quoi?

Re-PS: Je débute ^^


Author Message
Contenu Sponsorisé





PostPosted: Today at 10:41    Post subject: [tuto]séparateur d'annonce et post-it

Display posts from previous:   
Reply to topic Page 12 of 37 Goto page: <  1, 2, 311, 12, 1335, 36, 37  >




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