RE: Avatar
Comment je peux faire pour que ce soit mon avatar qui s'affiche quand je suis connecté ainsi que les membres que ce soit leurs avatar et non le logo ?
Voici le header de l'autre forum, dite moi ce que je dois remplacer pour le deuxième par rapport au premier. MERCI
Header 1er forum:
Code :
<SCRIPT LANGUAGE="JavaScript"><!-- ;
// Setting
//- SPEED CAN BE CHANGED HERE -
var rate = 25; // Increase-Decrease amount ( Higher=Faster )
// - DO NOT ALTER BELOW -
// Main routine
if (document.getElementById)
window.onerror=new Function("return true")
var objActive;
var act = 0;
var elmH = 0;
var elmS = 128;
var elmV = 255;
var clrOrg;
var TimerID;
if (document.all) {
document.onmouseover = doRainbowAnchor;
document.onmouseout = stopRainbowAnchor;
}
else if (document.getElementById) {
document.captureEvents(Event.MOUSEOVER | Event.MOUSEOUT);
document.onmouseover = Mozilla_doRainbowAnchor;
document.onmouseout = Mozilla_stopRainbowAnchor;
}
function doRainbow(obj)
{ if (act == 0) {
act = 1;
if (obj)
objActive = obj;
else
objActive = event.srcElement;
clrOrg = objActive.style.color;
TimerID = setInterval("ChangeColor()",100);
}
}
function stopRainbow()
{
if (act) {
objActive.style.color = clrOrg;
clearInterval(TimerID);
act = 0;
}
}
function doRainbowAnchor()
{
if (act == 0) {
var obj = event.srcElement;
while (obj.tagName != "A" && obj.tagName != "BODY") {
obj = obj.parentElement;
if (obj.tagName == "A" || obj.tagName == "BODY")
break;
}
if (obj.tagName == "A" && obj.href != "")
{ objActive = obj;
act = 1; clrOrg = objActive.style.color;
TimerID = setInterval("ChangeColor()",100);
}
}
}
function stopRainbowAnchor()
{
if (act) {
if (objActive.tagName == "A") {
objActive.style.color = clrOrg;
clearInterval(TimerID);
act = 0;
}
}
}
function Mozilla_doRainbowAnchor(e)
{
if (act == 0) {
obj = e.target;
while (obj.nodeName != "A" && obj.nodeName != "BODY") {
obj = obj.parentNode;
if (obj.nodeName == "A" || obj.nodeName == "BODY")
break;
}
if (obj.nodeName == "A" && obj.href != "") {
objActive = obj;
act = 1;
clrOrg = obj.style.color;
TimerID = setInterval("ChangeColor()",100);
}
}
}function Mozilla_stopRainbowAnchor(e)
{
if (act) {
if (objActive.nodeName == "A") {
objActive.style.color = clrOrg;
clearInterval(TimerID);
act = 0;
}
}
}
function ChangeColor()
{
objActive.style.color = makeColor();
}
function makeColor()
{
// HSVtoRGB
if (elmS == 0) { elmR = elmV; elmG = elmV; elmB = elmV;
}
else {
t1 = elmV;
t2 = (255 - elmS) * elmV / 255;
t3 = elmH % 60;
t3 = (t1 - t2) * t3 / 60;
if (elmH < 60) {
elmR = t1;
elmB = t2; elmG = t2 + t3;
}
else if (elmH < 120) { elmG = t1;
elmB = t2;
elmR = t1 - t3;
}
else if (elmH < 180) {
elmG = t1;
elmR = t2;
elmB = t2 + t3;
}
else if (elmH < 240) {
elmB = t1;
elmR = t2;
elmG = t1 - t3;
}
else if (elmH < 300) {
elmB = t1;
elmG = t2;
elmR = t2 + t3;
}
else if (elmH < 360) {
elmR = t1;
elmG = t2;
elmB = t1 - t3;
}
else { elmR = 0;
elmG = 0;
elmB = 0;
}
}
elmR = Math.floor(elmR).toString(16);
elmG = Math.floor(elmG).toString(16);
elmB = Math.floor(elmB).toString(16);
if (elmR.length == 1) elmR = "0" + elmR;
if (elmG.length == 1) elmG = "0" + elmG;
if (elmB.length == 1) elmB = "0" + elmB;
elmH = elmH + rate;
if (elmH >= 360) elmH = 0;
return "#" + elmR + elmG + elmB;
}
// end hide -->
</SCRIPT>
<div id="container">
<script src="jscripts/google.js"></script>
<a name="top" id="top"></a>
<div id="header">
<div class="logo"> <a href="{$mybb->settings['bburl']}/index.php"> <img src="http://www.bricolage-systeme-d.com/images/logo.gif" alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" /></a>
<br />
<div style="text-align:left;">Nombres de Visites depuis Novembre 2010<script type="text/javascript" src="http://compteur.websiteout.net/js/3/8/2800/1"></script></div></div>
<font size="4" face="Garamond" color="#0000FF"><strong><em>
<div style="text-align:center;<a href="http://fr-fr.facebook.com/Extincteur54" target="_TOP" style="font-family: "lucida grande",tahoma,verdana,arial,sans-serif; font-size: 11px; font-variant: normal; font-style: normal; font-weight: normal; color: #3B5998; text-decoration: none;" title=></a><span style="font-family: "lucida grande",tahoma,verdana,arial,sans-serif; font-size: 11px; line-height: 16px; font-variant: normal; font-style: normal; font-weight: normal; color: #555555; text-decoration: none;"> | </span><a href="http://fr-fr.facebook.com/badges/" target="_TOP" style="font-family: "lucida grande",tahoma,verdana,arial,sans-serif; font-size: 11px; font-variant: normal; font-style: normal; font-weight: normal; color: #3B5998; text-decoration: none;" title="Créez votre propre badge !"></a><br/><a href="http://fr-fr.facebook.com/Extincteur54" target="_TOP" title=><img src="http://badge.facebook.com/badge/1487419224.2905.203265216.png" width="444" height="84" style="border: 0px;" /></a></strong> </font>
<div class="blue"><br />
<div id="slatenav">
<ul>
<li><a href="#" title="Forums" class="current" >Forum</a></li>
<li><a href="sitesinternet/index.php" >Forums et sites Internet</a></li>
<li><a href="gbook/index.php" title="css menus">Livre d'Or</a></li
</ul>
</div>
</div>
<table valign="top" border="0" width="100%">
<tr><td><navigation></td><td>
<br />
<if condition=$mybb->user['uid']> 0 <then>
<td class="trow" valign="top" nowrap="nowrap" width="80">
<img style="margin-top: 20px;" width="80" height="" src="{$mybb->user['avatar']} /">
</td>
<td class="trow3" valign="top" nowrap="nowrap" width="350">
<div class="smalltext2"><span style="color: #CC0000;">{$lang->welcome_back}</span><br />
<a href="{$mybb->settings['bburl']}/private.php"><span style="color: #CC0000;">{$lang->welcome_pms}</span></a>
<span style="color: #CC0000;">{$lang->welcome_pms_usage}</span><br />
<span style="color: #CC0000;">{$lang->welcome_current_time}</span><br />
<a href="{$mybb->settings['bburl']}/search.php?action=results&sid=d51d269b9dc0c48fac71ce6f77e865f7">
<span style="color: #CC0000;">Voir les messages non lus</span></a><br />
<a href="{$mybb->settings['bburl']}/search.php?action=finduser&uid={$mybb->user['uid']}"
<span style="color: #CC0000;">Voir mes messages</span></a><br />
<a href="search.php?action=finduserthreads&uid={$mybb->user['uid']}"><span style="color: #CC0000;">Voir mes Sujets</span></a>
<script type="text/javascript" src="http://www.lecalendrier.fr/lecalendrier.fr-datedujour.php"> </script>
</div>
</td>
<else />
<td class="trow1" nowrap="nowrap" style="padding:0px" width="300">
<!-- Formulaire de connexion -->
<form action="{$mybb->settings['bburl']}/member.php" method ="post">
<input type="hidden" name="action" value="do_login" />
<input type="hidden" name="url" value="{$mybb->settings['bburl']}" />
<input type="hidden" name="quick_login" value="1" />
<table border="0" cellpadding="0" cellspacing="3" class="trow1">
<tr>
<td class="smallText">{$lang->username}</td>
<td><input type="text" name="quick_username" size="8" title="{$lang->vbnavbar_username}" class ="textarea" value="{$lang->vbnavbar_username}" onfocus "this.value =''" tabindex = "1" /> </td>
<td class="smallText"> <label title="{$lang->remember_me_desc}"><input type ="checkbox " class="checkbox" name="quick_remember" value="oui" tabindex="3" checked="checked" />{$lang->remember_me}</label></td>
</tr>
<tr>
<td class="smallText">{$lang->password}</td>
<td><input type="password" name="quick_password" size="8" title="{$lang->password}" value="{$lang->password}" class="textarea" onfocus="this.value=''" tabindex="2" /></td>
<td><input type="submit" class="button" name="submit" style="font-weight:normal" value="{$lang->welcome_login}" tabindex="4" /> </td >
</tr>
</table>
</form>
<!--/ Formulaire de connexion -->
</td>
</if>
</tr>
</table>
<!-- / Fil d'Ariane, informations de connexion h, -->
</td>
</tr>
</table>
<br />
<!-- Breadcrumb, connexion info h, -->
<table class="tborder" cellpadding="$theme[tablespace]" cellspacing = "$theme[borderwidth]"
border="0" width="100%" align="center">
<tr>
<td class="trow1">
<table cellspacing="0" cellpadding="0" border="0">
<tr valign="bottom">
<td> </td></tr>
</table>
<!-- / Fil d'Ariane, informations de connexion h, -->
<table border="0" width="100%" cellspacing="0" cellpadding="5" class="tvbnav" align="center">
<tr>
<td align="center" class="tcat1">{$welcomeblock}</td>
<p style="text-align: center;"> <font size="3" face="Garamond" color="#0000FF">
<strong><em>---Un deuxième forum est ouvert concernant la Sécurité Incendie et la Sûreté--- http://www.securite-ssiap-surete-secourisme.com/index.php ---
</em></strong></font>
<td align="center"> <img class="tcat1" src="{$theme['imgdir']}/vbnb_index.png" alt="" title="" class="vbottom" /> <a href="{$mybb->settings['bburl']}/portal.php"><strong>Portail</strong></a></td>
<td align="center"> <img class="tcat1" src="{$theme['imgdir']}/vbnb_index.png" alt="" title="" class="vbottom" /> <a href="{$mybb->settings['bburl']}/index.php"> <strong>Forum</strong></a></td>
<td align="center"> <img class="tcat1" src="{$theme['imgdir']}/vbnb_search.png" alt="" title="" class="vbottom" /> <a href="{$mybb->settings['bburl']}/search.php"><strong>{$lang->toplinks_search}</strong></a></td>
<td align="center"> <img class="tcat1" src="{$theme['imgdir']}/vbnb_member.png" alt="" title="" class="vbottom" /> <a href="{$mybb->settings['bburl']}/memberlist.php"><strong>{$lang->toplinks_memberlist}</strong></a></td>
<td align="center"> <img class="tcat1" src="{$theme['imgdir']}/vbnb_calendar.png" alt="" title="" class="vbottom" /> <a href="{$mybb->settings['bburl']}/calendar.php"><strong>{$lang->toplinks_calendar}</strong></a></td>
<td align="center"> <img class="tcat1" src="{$theme['imgdir']}/vbnb_help.png" alt="" title="" class="vbottom" /> <a href="{$mybb->settings['bburl']}/misc.php?action=help"><strong>{$lang->toplinks_help}</strong></a></td>
<td class="tcat1" align="center"> <img src = "{$mybb->settings['bburl']}/bruno.png" alt = "" title = ""
class = "vbottom" /> <a href="http://www.securite-ssiap-surete-secourisme.com/index.php" target="_blanck"><strong> SSIAP-Incendie</strong></a></td>
<td class="tcat1" align="center"> <img src = "{$theme['imgdir']}/meteo.png" alt = "" title = "" class = "vbottom" />
<a href="{$mybb->settings['bburl']}/meteo.php "><strong>Météo</strong></a></td>
<td class="tcat1" align="center"><img src="{$theme['imgdir']}/toplinks/googlemap.gif" alt="" title="" class="vbottom" />
<a href = "/usermap.php"><strong>{$lang->toplinks_googlemap}</strong></a></td>
<td class="tcat1" align="center"><img src="{$theme['imgdir']}/toplinks/facebook.png" alt="" title="" class="vbottom" />
<a href = "http://www.facebook.com/" TARGET=popup onclick= "window.open ('',' popup ',' width = 1280, height = 1024, left = 0, top = 0, scrollbars = 1')"><strong>{$lang->toplinks_facebook}</strong></a></td>
<td class="tcat1" align="center"><img src="{$theme['imgdir']}/toplinks/msn.gif" alt="" title="" class="vbottom" />
<a href = "http://fr.msn.com/" TARGET=popup onclick= "window.open ('',' popup ',' width = 1280, height = 1024, left = 0, top = 0, scrollbars = 1')"><strong> {$lang->toplinks_msn}</strong></a></td>
<td class="tcat1" align="center"><img src="{$theme['imgdir']}/toplinks/chat.gif" alt="" title="" class="vbottom" /> <a href="http://www.bricolage-systeme-d.com/chat/" TARGET=popup onclick= "window.open ('',' popup ',' width = 800, height = 600, left = 0, top = 0, scrollbars = 1')"><strong> {$lang->toplinks_chat}</strong></a></td>
{$admincplink}
{$modcplink}
<if condition=$mybb->user['uid']> 0 <then>
<td class="tcat1" align="center"><a href="{$mybb->settings['bburl']}/member.php?action=logout&logoutkey={$mybb->user['logoutkey']}"><strong>{$lang->welcome_logout}</strong></a></td>
<else /> </if>
</tr> </table>
<table border="0" width="100%">
<tr>
<td> <FORM method=GET action="http://www.google.fr/search">
<A HREF="http://www.google.fr">
<IMG SRC = "http://www.google.com/logos/Logo_40wht.gif" border = "0" ALT = "Google" align = "absmiddle"> </A>
<INPUT Type=text name=q size=31 maxlength=255 value="">
<INPUT type=hidden name=hl value=fr>
<INPUT TYPE=SUBMIT name=btnG VALUE="Recherche Google">
</form></td>
<td align="right">
<FORM METHOD="GET" action="http://fr.wikipedia.org/wiki/Special:Recherche">
<INPUT TYPE="text" name="search" size="31" maxlength="255" value="">
<INPUT TYPE="hidden" name="hl" value="fr">
<INPUT Type="submit" name="btnW" VALUE="Recherche Wikipédia"> </form>
</td>
</tr>
</table>
<p style="text-align: center;">
<!-- Début du code du Texte défilant d'Astwinds -->
<noscript> <a href="http://www.astwinds.com/"> Texte <br> défilant d'Astwinds </a> </noscript>
<font size="3" face="Garamond"><strong><em></em></strong> <font color="#008000"><strong>ICI, TOUS LES TUTORIELS POUR LES BRICOLEURS, APPRENEZ PAS A PAS, Toute l'équipe est la pour vous aidez.</em></strong></font></p>
<hr class="hidden" />
<br class="clear" />
<div id="content">
{$pm_notice}
{$bannedwarning}
{$bbclosedwarning}
{$unreadreports}
{$pending_joinrequests}
<div style="float: left;">
<img class="alignnone" src="http://www.bricolage-systeme-d.com/images/peaceblue/logo2.gif" alt = "" width = "150" height = "75" /> </div>
<div style="float: right;"></Div>
<br />
<style type="text/css">
.alert {
background: # FFE4C4;
border-top: 2px solid # FFD324;
border-bottom: 2px solid # FFD324;
text-align: center;
margin: auto 5px;
padding: 5px5px;
color: blue;
}
.notice {
background: # FFFFFF;
border-top: 2px solid # FFFFFF;
border-bottom: 2px solid # FFFFFF;
text-align: center;
margin: auto 10px;
padding: 20px 5px;
color: firebrick;
}
.notice2 {
background: # FFFFFF;
border-top: 2px solid # FFFFFF;
border-bottom: 2px solid # FFFFFF;
text-align: center;
margin: auto 10px;
padding: 20px 5px;
color: blue;
}
</style>
<p class="alert"><strong>Electricité-Menuiserie-Toiture-Peinture-Porte et Fenêtre-Plomberie-Maçonnerie-Isolation-Sol-Carrelage-Chauffage & Climatisation-Gaz-Energie Renouvelable-Etanchéité-Serrurerie-Téléphonie
TNT et ADSL-Détecteurs de Fumée-Jardinage</strong></p>
Header 2ème forum:
Code :
<a name="top" id="top"></a><div id="container">
<div id="header">
<div id="logo"><a href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" /></a></div>
<div id="panel">
{$welcomeblock}
</div>
{$pm_notice}
</div>
<div class="menu">
<ul>
<li><a href="{$mybb->settings['homeurl']}">{$mybb->settings['homename']}</a></li>
<li><a href="{$mybb->settings['bburl']}/index.php">Forums</a></li>
<li><a href="{$mybb->settings['bburl']}/portal.php">Portail</a></li>
<li><a href="{$mybb->settings['bburl']}/search.php">{$lang->toplinks_search}</a></li>
<li><a href="{$mybb->settings['bburl']}/memberlist.php">{$lang->toplinks_memberlist}</a></li>
<li><a href="{$mybb->settings['bburl']}/calendar.php">{$lang->toplinks_calendar}</a></li>
<li><a href="{$mybb->settings['bburl']}/misc.php?action=help">{$lang->toplinks_help}</a></li>
<td class="tcat1" align="center"> <img src = "{$theme['imgdir']}/meteo.png" alt = "" title = "" class = "vbottom" />
<a href="{$mybb->settings['bburl']}/meteo.php "><strong>Météo</strong></a></td>
</ul>
</div>
<div id="container_inside">
<div id="content">
<navigation>
{$bannedwarning}
{$bbclosedwarning}
{$unreadreports}<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
var CurrentMsg = '{$mybb->settings['fmstatus']}';
function update(msg) {
var pad_str="";
n = msg.length;
if(n<72) {
pad = (73-n)/2;
for(var i=0; i<pad; i++) {
pad_str+=" ";
}
}
CurrentMsg = pad_str + msg;
document.getElementById("field").value = CurrentMsg;
clearTimeout(timer);
timer = setTimeout("idleMsg()",2500);
}
function MakeArray(n) {
this.length=n;
for(var i = 1; i<= n; i++) {
this[i] = "";
}
return(this);
}
var index = 1;
var notice_num = 9;
var notices = new MakeArray(notice_num);
notices[1] = "{$mybb->settings['fm1']}";
notices[2] = "{$mybb->settings['fm2']}";
notices[3] = "{$mybb->settings['fm3']}";
notices[4] = "{$mybb->settings['fm4']}";
notices[5] = "{$mybb->settings['fm5']}";
notices[6] = "{$mybb->settings['fm6']}";
notices[7] = "{$mybb->settings['fm7']}";
notices[8] = "{$mybb->settings['fm8']}";
var timer = setTimeout('idleMsg()',1500);
function nochange() {
document.getElementById("field").value = CurrentMsg;
}
function idleMsg() {
update(notices[index++]);
if(index>notice_num) {
index=1;
}
}
// End -->
</SCRIPT><fieldset><legend>{$mybb->settings['fmtitle']}</legend><CENTER>
<FORM name="messages" onSubmit="return false">
<input type="text" id="field" name="field" size=73 value="{$mybb->settings['fmstatus']}" onFocus="self.status='{$mybb->settings['fmstatus']}'; return true" onChange="nochange()">
</FORM>
</CENTER></fieldset>
{$pending_joinrequests}
<br />
<table border="0" width="100%">
<tr>
<td> <FORM method=GET action="http://www.google.fr/search">
<A HREF="http://www.google.fr">
<IMG SRC = "http://www.google.com/logos/Logo_40wht.gif" border = "0" ALT = "Google" align = "absmiddle"> </A>
<INPUT Type=text name=q size=31 maxlength=255 value="">
<INPUT type=hidden name=hl value=fr>
<INPUT TYPE=SUBMIT name=btnG VALUE="Recherche Google">
</form></td>
<td align="right">
<FORM METHOD="GET" action="http://fr.wikipedia.org/wiki/Special:Recherche">
<INPUT TYPE="text" name="search" size="31" maxlength="255" value="">
<INPUT TYPE="hidden" name="hl" value="fr">
<INPUT Type="submit" name="btnW" VALUE="Recherche Wikipédia"> </form>
</td>
</tr>
</table>
<script type="text/javascript" src="http://www.lecalendrier.fr/lecalendrier.fr-datedujour.php"> </script>
<style type="text/css">
.alert {
background: #FFE4C4;
border-top: 2px solid # FFD324;
border-bottom: 2px solid # FFD324;
text-align: center;
margin: auto 5px;
padding: 5px5px;
color: blue;
}
.notice {
background: # FFFFFF;
border-top: 2px solid # FFFFFF;
border-bottom: 2px solid # FFFFFF;
text-align: center;
margin: auto 10px;
padding: 20px 5px;
color: firebrick;
}
.notice2 {
background: # FFFFFF;
border-top: 2px solid # FFFFFF;
border-bottom: 2px solid # FFFFFF;
text-align: center;
margin: auto 10px;
padding: 20px 5px;
color: blue;
}
</style>
<style type="text/css">
.alert {
background: ##FFF6BF;
border-top: 2px solid #FFD324;
border-bottom: 2px solid #FFD324;
text-align: center;
margin: 10px auto;
padding: 5px 20px;
}
.notice {
background: #ADCBE7;
border-top: 2px solid #0F5C8E;
border-bottom: 2px solid #0F5C8E;
text-align: center;
margin: 10px auto;
padding: 5px 20px;
}
.notice2 {
background: #FFA07A;
border-top: 2px solid #8DC93E;
border-bottom: 2px solid #8DC93E;
text-align: center;
margin: 10px auto;
padding: 5px 20px;
}
</style>
<p class="notice2"><strong>Sécurité-ssiap-sûreté-secourisme:</strong> ICI <a href="http://www.securite-ssiap-surete-secourisme.com/showthread.php?tid=4/">Les règles du forum</a> Administrateur59.</p>
<p class="notice2"><strong>Agent de Sécurité Incendie:</strong> ICI <a href="http://www.securite-ssiap-surete-secourisme.com/showthread.php?tid=47/">Votre Fonction</a> A lire Impérativement.</p>
<script>
<!-- Codigo creado por Edson Ordaz -->
var Edson="Détection Incendie-Alarme Incendie-Réseaux Sprinkleurs-RIA-Extincteurs-Portes Coupe-feu-Désenfumage-Clapets Coupe-Feu-Volets de Désenfumage."
var size="3"
if (document.all||document.getElementById){
document.write('<span id="highlight"><p class="newsbar"><font size="' +size+ '"><b>' + Edson + '</b></font></p></span>')
var storetext=document.getElementById? document.getElementById("highlight") : document.all.highlight
}
else
document.write(Edson)
var hex=new Array("00","14","28","3C","50","64","78","8C","A0","B4","C8","DC","F0")
var r=1
var g=1
var b=1
var seq=1
function changetext(){
rainbow="#"+hex[r]+hex[g]+hex[b]
storetext.style.color=rainbow
}
function change(){
if (seq==6){
b--
if (b==0)
seq=1
}
if (seq==5){
r++
if (r==12)
seq=6
}
if (seq==4){
g--
if (g==0)
seq=5
}
if (seq==3){
b++
if (b==12)
seq=4
}
if (seq==2){
r--
if (r==0)
seq=3
}
if (seq==1){
g++
if (g==12)
seq=2
}
changetext()
}
function starteffect(){
if (document.all||document.getElementById)
flash=setInterval("change()",80)
}
starteffect()
</script>
<script>
<!-- Codigo creado por Edson Ordaz -->
var Edson="TOUTES LES FORMATIONS COMPLÈTES SUR CE FORUM: SSIAP 1-2-3 ---SST---HOBO et CQP."
var size="3"
if (document.all||document.getElementById){
document.write('<span id="highlight"><p class="newsbar"><font size="' +size+ '"><b>' + Edson + '</b></font></p></span>')
var storetext=document.getElementById? document.getElementById("highlight") : document.all.highlight
}
else
document.write(Edson)
var hex=new Array("00","14","28","3C","50","64","78","8C","A0","B4","C8","DC","F0")
var r=1
var g=1
var b=1
var seq=1
function changetext(){
rainbow="#"+hex[r]+hex[g]+hex[b]
storetext.style.color=rainbow
}
function change(){
if (seq==6){
b--
if (b==0)
seq=1
}
if (seq==5){
r++
if (r==12)
seq=6
}
if (seq==4){
g--
if (g==0)
seq=5
}
if (seq==3){
b++
if (b==12)
seq=4
}
if (seq==2){
r--
if (r==0)
seq=3
}
if (seq==1){
g++
if (g==12)
seq=2
}
changetext()
}
function starteffect(){
if (document.all||document.getElementById)
flash=setInterval("change()",80)
}
starteffect()
</script>
|