Good art is a taste, good design is an opinion.


Come as guest, stay as family.
Board Index

Come as guest, stay as family.


You are not connected. Please login or register

Foto

[Archived] Question about Rainbow Username JavaScript



View previous topic View next topic Go down Message [Page 1 of 1]

1
Offline

  FrOsTyXi

FrOsTyXi
V.I.P. Member
V.I.P. Member
  • Description:
Hello, I was wondering if it was possible to fix this script so the rainbow effect shows in the chatbox?



Code:
$.getScript("http://xoxco.com/projects/code/rainbow/rainbow.js",function() {
var selectMe= ["u2311"];
for(var i =0;i<selectMe.length;i++){
$('a[href="/'+selectMe[i]+'"]').addClass('rainbow');
}
$('.rainbow').find('*').andSelf().contents().filter(function(){
return this.nodeType===3;
}).parent().text(function() {
$(this).rainbow({
colors: [
'#FF0000',
'#f26522',
'#fff200',
'#00a651',
'#28abe2',
'#2e3192',
'#6868ff'
],
animate:true,
animateInterval:100,
pad:false,
pauseLength:100
});
});
});
Either the animated or just rainbow letters each letter being a different color

@R your super good with scripts *)

Thank you for any help!

  • Information:
Forum:http://www.team-psn.net/Version:PUNBB
Type:Errors in codeTags:Question,about,Rainbow,Username,JavaScript

Powered by PunBB
Currently 0 users have thanked FrOsTyXi for this post:

2
Offline

  Van-Helsing

Van-Helsing
★Moderator★
★Moderator★
[aviso="Thread Archived"]Original poster seems to be inactive and did not respond within 7 days in this thread. Because of this, the topic has been Archived.

If you have further questions, please open a new topic.[/aviso]

Powered by PunBB
Currently 0 users have thanked Van-Helsing for this post:

View previous topic View next topic Back to top Message [Page 1 of 1]


Topic URL's

URL
BBcode
HTML

Permissions in this forum:
You cannot reply to topics in this forum