TechMates
member?
If not be one of us!Join us guys!
Login if your a member!
Enjoy!

TechMates

Life is Useless without TechMates
 
HomePortalCalendarFAQSearchMemberlistUsergroupsRegisterLog in

Share | 
 

 Rainbow Links When Hover(cool)

Go down 
AuthorMessage
JorgyRom
Admin
Admin
avatar

Posts : 49
Points : 78
Reputation : 3
Join date : 2009-07-26
Age : 26
Location : Manila

PostSubject: Rainbow Links When Hover(cool)   Sun Aug 02, 2009 1:22 am

Quote :
/**************************************************/
/* Rainbow Links v1 */
/* Submitted: by: Angell de Ville */
/* For more Friendster tips, tricks and tutorials */
/* visit us at http://wwww.forumotion.com/ */
/**************************************************/
x5a = 0;
var x5b = new Array("FFCC33","FFFF66","CCFF33","66FFFF","66CCFF","9999FF","CC99FF","CC33FF","FF00CC","FF0066","FF6633");
var x5c = navigator.appName=='Microsoft Internet Explorer'?true:false;
var x5d = window.opera?true:false;
function x5e(x5){
if(x5c){
x5f = event.srcElement;
}
else {
x5f = x5.target;
}
return x5f;
}
function x5g(){
if(x5h){
x5h.style.color = "#"+x5b[x5a++];
}
if(x5a==x5b.length){
x5a = 0;
}
}
function x5i(x5){
if(x5d){
return;
}
var x5f = x5e(x5);
if(x5f.tagName=="A"){
x5h = x5f;
x5k = x5f.style.color;
x5l = setInterval("x5g()", 150);
}
return true;
}
function x5j(x5){
var x5f = x5e(x5);
if(x5d){
return;
}
if(x5h && x5f.tagName=="A"){
x5h = null;
x5f.style.color = x5k;
clearInterval(x5l);
}
}
document.onmouseover = x5i;
document.onmouseout = x5j;

Add to your Js file!

_________________
"Life is Useless Without Techmates"

http://profiles.friendster.com/111675865

How to make JS(javascript) File?
Click here

How to make CSS(cascading style sheets file)?
Click here
Back to top Go down
View user profile
 
Rainbow Links When Hover(cool)
Back to top 
Page 1 of 1
 Similar topics
-
» Cool new 1/35 scale sci-fi/Girly figures....
» How To Create Clickable Links
» Team Natsuki (We're too Cool for YOU)
» Rainbow Pinwheels
» Pretty cool 4 door to 2 door conversion (older Impala)

Permissions in this forum:You cannot reply to topics in this forum
TechMates :: Friendster Design and Development :: Friendster Tricks and Tutorials :: JavaScript-
Jump to: