Jump to content

Как создать Sparkbow // How to create a Sparkbow

Featured Replies

Posted
comment_193077

Sparkbow.gif.389160d1c6945e80ba47bf6eb8fc6654.gif.9fc21585ccf03710b6e087d977eece5d.gif

 

Перейти в Админ панель-Внешний вид-Стиль-Стили и шаблоны-Ваш стиль-globalTemplate 

Код можно добавить после как на скриншоте

Go to Admin Panel-Appearance-Style-Styles and Templates-Your Style-globalTemplate

The code can be added after as in the screenshot

Screenshot_1.png.b56920869388a11f69ebfdd863485eac.png.617e70602fd0b0beca3949fa0b26e13c.png

<script>
var speed=80
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(){
for(i=0;i<document.getElementsByName("Rainbow").length;i++){
var storetext=document.getElementById? document.getElementsByName("Rainbow")[i] : document.all.highlight
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()",speed)
}
starteffect()
</script>

Добавить код в custom.css в самий ныз:

Add the code to custom.css at the very bottom:

/* Membership Color Group /Color is in hex /change anything you want and suit your needs/ i have included only two groups here, you can incude as many as you want */
.Youranygroup {
background: url(link to sparkle gif);
color: #00fffa;
font-weight: bold;
text-shadow: 2px 0px 11px #00ffe5;
}

.Youranygroup {
background: url(link to sparkle gif);
color: #f93647;
font-weight: bold;
text-shadow: 2px 0px 11px #f93647;
}

Перейти в Админ  панель-Пользователи-Группы пользователей

Go to Admin Panel-Users-User Groups

Screenshot_1.png.154def60ec7085507b7204df69b1d6b5.png.3124479bfbb1e3f355d0f303a4bfcf7a.png

Добавить:

Add:

<span name="Rainbow" class="youranygroup">

Закрыть суффикс

close suffix

</span>

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.


Guest
Ответить в этой теме...

Последние посетители 0

  • No registered users viewing this page.