Salut!
On va à présent voir le volet pour la CB!
Tu vas dans le templates overall_header_new et dans le head, n'importe ou (la fin, c'est mieux^^)tu place ça:
- Code:
-
<table id="lnrbox"><tr><td>
<iframe src="/[b]chatbox[/b]/[b]chatbox[/b].forum?page=front&" id="chatboxpop" scrolling="no" style="width: 800px; height: 400px;
display:
none;" marginwidth="0" marginheight="0"
frameborder="0"
/iframe></td><td
style="vertical-align: bottom;">
<img src="LIEN IMAGE POUR OUVRIR LA CB" onClick="document.getElementById('chatboxpop')
.style.display=(this.src=='LIEN IMAGE POUR OUVRIR LA CB')?'block':'none';
this.src=(this.src=='LIEN IMAGE POUR OUVRIR LA CB')?'LIEN IMAGE POUR FERMER LA CB'
:'LIEN IMAGE POUR OUVRIR LA CB';"/
/td></tr></table>
Puis, il faut mettre ça dans le CSS:
- Code:
-
#lnrbox
{
position: fixed;
bottom: 50px;
left: 0px;
background-color: #COULEUR;
background-position: center;
border: 1px solid #COULEUR;
border-bottom: 4px solid #COULEUR;
z-index: 999;
}
CONSEIL :
mettre le code head après :
- Code:
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html
dir="{S_CONTENT_DIRECTION}" id="min-width" lang="{L_LANG_HTML}"
xml:lang="{L_LANG_HTML}" xmlns="http://www.w3.org/1999/xhtml">
<head>
Voilà, il faudra des images maintenant pour le volet^^