RE: Les information dans le header
Citation :var Edson="Creado por Edson Ordaz para mybb-es" var size="4" if (document.all||document.getElementById){ document.write('
' + Edson + '
') 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()
Ca affiche ça si j'ai mis seulement :
Code :
<!-- Codigo creado por Edson Ordaz -->
var Edson="Creado por Edson Ordaz para mybb-es"
var size="4"
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>
En revanche ça affiche ça :
Citation :var Edson="Creado por Edson Ordaz para mybb-es" var size="4" if (document.all||document.getElementById){ document.write('
' + Edson + '
') 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()
Latest News: MyBB 1.6 Released (August 3, 2010)
MyBB on Twitter: Follow @mybbgroup for the latest on MyBB and exclusive content.
Are you on the MyBB mailing list? - Sign up for notification of new MyBB releases and updates.
[-]
Si j'ai mis les deux scripts !
Que faire ?
Enfin il ne me semble pas bien avoir compris, après j'ai mis juste en dessous mon header en tout fait :
Code :
<div id="container">
<a name="top" id="top"></a>
<div id="header">
<div class="logo"><a href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" /></a></div>
<div class="menu">
<ul>
<li><a href="{$mybb->settings['bburl']}/search.php"><img src="{$theme['imgdir']}/toplinks/search.gif" alt="" title="" />{$lang->toplinks_search}</a></li>
<li><a href="{$mybb->settings['bburl']}/memberlist.php"><img src="{$theme['imgdir']}/toplinks/memberlist.gif" alt="" title="" />{$lang->toplinks_memberlist}</a></li>
<li><a href="{$mybb->settings['bburl']}/calendar.php"><img src="{$theme['imgdir']}/toplinks/calendar.gif" alt="" title="" />{$lang->toplinks_calendar}</a></li>
<li><a href="{$mybb->settings['bburl']}/misc.php?action=help"><img src="{$theme['imgdir']}/toplinks/help.gif" alt="" title="" />{$lang->toplinks_help}</a></li>
</ul>
</div>
<hr class="hidden" />
<div id="panel">
{$welcomeblock}
</div>
</div>
<hr class="hidden" />
<br class="clear" />
<div id="content">
{$pm_notice}
{$bannedwarning}
{$bbclosedwarning}
{$unreadreports}
{$pending_joinrequests}
<navigation>
<br />
<!-- Codigo creado por Edson Ordaz -->
var Edson="Creado por Edson Ordaz para mybb-es"
var size="4"
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>
<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: #D6ECA6;
border-top: 2px solid #8DC93E;
border-bottom: 2px solid #8DC93E;
text-align: center;
margin: 10px auto;
padding: 5px 20px;
}
</style>
<p class="alert"><strong>Latest News:</strong> <a
href="http://blog.mybb.com/2010/08/03/mybb-1-6-released/">MyBB 1.6
Released</a> (August 3, 2010)</p>
<p class="notice2"><strong>MyBB on Twitter:</strong>
Follow <a
href="http://www.twitter.com/mybbgroup/">@mybbgroup</a> for the
latest on MyBB and exclusive content.</p>
<p class="notice"><strong>Are you on the <a
href="http://www.mybboard.com/mailinglist.php">MyBB mailing
list?</a></strong> - Sign up for notification of new MyBB
releases and updates.</p>
Jeu de Stratégie spatiale en temps réel !
|