The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Name Color not working again?

View previous topic View next topic Go down

Name Color not working again?

Post by SpyroDragon on June 27th 2016, 10:16 pm

This is for
www.RaptorClan.com

I have this as my javascript code

Code:
$(function(){
  multiColor(1, '<strong><font color="#ffffff">Sp</font><font color="#00ffff">yr</font><font color="#666666">o</font><font color="#00ffff"> ▀█▀ </font><font color="#ffffff">Dr</font><font color="#00ffff">ag</font><font color="#666666">on</font></strong>');
 
  function multiColor(id, html){$('a[href="/u'+id+'"] strong').not(function(){return $("img",this)[0]}).html(html)}
});


and this as my CSS
Code:
body {
  background:url() fixed no-repeat 0 0 #000;
  background-size:100% 100%;
}


}
/*
Hackety-hack-hack…
FF2, with the above code, will only display the repeat-y image for as
 high as the window’s viewport is; higher content (upon
 scrolling) will not have the bg.
This "hack" makes the tiled background work properly in FF2.
This type of "advanced selector" is not understood by IE6…dunno
 ’bout IE7.
*/
html>body {
 min-height: 100%;
 width: auto;
}



div.t16 {font-size: 16pt}
div.t9 {font-size: 9pt}
div.t12 {font-size: 11pt}


td.catLeft, th.thLeft {
border-width: 0px 0px 0px 0px;
}


 #profile-advanced-details div.separator { display:none !important }
#profile-advanced-details dl { display:inline }
#profile-advanced-details dl#field_id8 { display:block }
  #profile-advanced-details dl dd, #profile-advanced-details .field_uneditable { display:inline }
#profile-advanced-details dl dt { float:none; display:inline }
  #profile-advanced-details dl dd { margin-left:5px }
#profile-advanced-details { white-space:pre-wrap }
.forumline { border-spacing:0 }
th.thLeft, .thRight {
border: none !important;
font-size: 0;
}


/* Right icon of the name in members list */
.name strong a[href="/1"],#chatbox_members a[href="/u1"], .gensmall a[href="/u1"]{
  padding-right: 15px;
  background: url(http://i35.servimg.com/u/f35/19/49/56/15/the_di10.gif) no-repeat right;}


And the name color isn't changing :S

SpyroDragon
Forumember

Posts : 277
Reputation : 2
Language : English

http://SpyroDragon.com/

Back to top Go down

Re: Name Color not working again?

Post by Amadeus on June 27th 2016, 11:19 pm

I think u do it wrong <font color="#ffffff">Sp</font> because <font color="#ffffff">Sp</color> is good. Check this.

Amadeus
Forumember

Female Posts : 34
Reputation : 1
Language : Polish, English
Location : Poland

Back to top Go down

Re: Name Color not working again?

Post by Luffy on June 27th 2016, 11:25 pm

You can use this one instead. I think it's easier this way:
Code:
$(function(){
  multiColor(1, '<strong><span style="color:#ffffff">Sp</span><span style="color:#00ffff">yr</span><span style="color:#666666">o</span><span style="color:#00ffff"> ▀█▀ </span><span style="color:#ffffff">Dr</span><span style="color:#00ffff">ag</span><span style="color:#666666">on</span></strong>');
 
  function multiColor(id, html){$('a[href="/u'+id+'"] strong').not(function(){return $("img",this)[0]}).html(html)}
});






Luffy
Manager
Manager

Male Posts : 4035
Reputation : 407
Language : Greek, English
Location : Greece

http://www.thinktankforum.net

Back to top Go down

Re: Name Color not working again?

Post by SpyroDragon on June 28th 2016, 4:14 pm

Didnt work... the 1st one works on
SpyroDragon.com but its not working on
RaptorClan.com for some reason :S

SpyroDragon
Forumember

Posts : 277
Reputation : 2
Language : English

http://SpyroDragon.com/

Back to top Go down

Re: Name Color not working again?

Post by Ace 1 on June 28th 2016, 5:10 pm

Are both of these the same forum version?

Ace 1
Forumember

Male Posts : 693
Reputation : 38
Language : my css ready java yo scripts boi
Location : Druid Hill Park smoking indo

http://genocideclan.forumotion.com

Back to top Go down

Re: Name Color not working again?

Post by SpyroDragon on June 29th 2016, 2:55 am

Yes.

SpyroDragon
Forumember

Posts : 277
Reputation : 2
Language : English

http://SpyroDragon.com/

Back to top Go down

Re: Name Color not working again?

Post by SpyroDragon on July 1st 2016, 7:44 am

Bump

SpyroDragon
Forumember

Posts : 277
Reputation : 2
Language : English

http://SpyroDragon.com/

Back to top Go down

View previous topic View next topic Back to top


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