Jump to content
Sign in to follow this  
kenveloo

Adaugare effect grad in ipb 3.4.6

Recommended Posts

Cum s-a mai zis si mai sus foloseste inspect element si te duci la css , daca nustii ce este acela css si html dute si informeaza , invata dupa te apuci sa iti faci un forum.

Share this post


Link to post
Share on other sites

adaugă la <span 

name="Rainbow" style="color: rgb(240, 220, 0);"><i class="fa fa-diamond">

şi în temă 

<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>

 

Share this post


Link to post
Share on other sites

 La  Group Formatting Prefix pui:     <span style="font-weight: bold; text-shadow: 1px 1px 1px black; color:red; background-image: url(&quot;https://i.imgur.com/R1pfiwu.gif&quot;)"</span 

si la Group Formatting Suffix pui :   </b></span></b>

Edited by Aikenhead

Share this post


Link to post
Share on other sites
1 hour ago, Skr!LL3x said:

Unde in tema se baga SCRIPT-UL ?

 

globalTemplate in body in tag-ul <script></script>

Share this post


Link to post
Share on other sites

Ma bucur sa vad ca altii cer efecte de pe forumul meu. Hai sa va explic. 

Pentru rainbow effect ( schimbarea culorii ) intrati in ACP > Look&Feel > Tema ta > globalTemplate

Cautati <!-- ::: Footer ::: --> si deasupra lui pui:

<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>

Apoi intrati in Members > Manage Members Groups > Grupul care doriti sa aiba acest efect 

Si la prefix adaugati: 

<span name="Rainbow"> 

Si la sufix adaugati:

</span>

Pentru diamant puneti la prefix: 

<span name="Rainbow"><i class="fa fa-diamond">.

Share this post


Link to post
Share on other sites
On 12/4/2017 at 5:15 PM, kwabs said:

Ma bucur sa vad ca altii cer efecte de pe forumul meu. Hai sa va explic. 

Pentru rainbow effect ( schimbarea culorii ) intrati in ACP > Look&Feel > Tema ta > globalTemplate

Cautati <!-- ::: Footer ::: --> si deasupra lui pui:


<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>

Apoi intrati in Members > Manage Members Groups > Grupul care doriti sa aiba acest efect 

Si la prefix adaugati: 


<span name="Rainbow"> 

Si la sufix adaugati:

</span>

Pentru diamant puneti la prefix: 

<span name="Rainbow"><i class="fa fa-diamond">.

Deasupra la asta ? Ca alt cv nu gasesc <!-- ::: FOOTER (Change skin, language, mark as read, etc) ::: -->

Share this post


Link to post
Share on other sites
1 hour ago, 5858 said:

Deasupra la asta ? Ca alt cv nu gasesc <!-- ::: FOOTER (Change skin, language, mark as read, etc) ::: -->

Poti sa il pui si acolo.

Acel <script></script> nu conteaza unde il pui.

Share this post


Link to post
Share on other sites
On 12/1/2018 at 6:37 PM, 5858 said:

L-am pus si am facut pasii de mai sus in tocmai, dar scrisul de la gradul de Administrator tot gri este

Atunci a greșit ceva. Incepe de la capăt și refă pașii.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×