Current date/time is March 28th 2024, 5:28 pm

Search found 2 matches for 000001

Change Post background According to Group

@Spyro Dragon™️, So the color of the group is #000001, correct ? Could you provide an example post on your forum from a member of this group ?

Thanks Smile

@_Twisted_Mods_, You can omit the semi-colon on the last declaration of a CSS ruleset; it's optional, but still good practice to include. Mr. Green
by Ange Tuteur
on December 22nd 2014, 11:04 am
 
Search in: Garbage
Topic: Change Post background According to Group
Replies: 71
Views: 5280

Change Post background According to Group

Im messing up somewhere..

I made a group called SpyroDragon


So here is what I put for the javascript page..

$(function() {
  groupMod('#000001', 'SpyroDragon');
 
  function groupMod(color, classname) {$('.post:has(span[style="color:'+color+'"] strong)').addClass(classname)}
});




And here is what I added to the CSS..

.post.SpyroDragon td { background:none }
.post.SpyroDragon { background:url(https://i.servimg.com/u/f39/17/84/98/50/untitl10.png) }


Im not sure what I did wrong, but its not working.
by Spyro Dragon™
on December 22nd 2014, 6:27 am
 
Search in: Garbage
Topic: Change Post background According to Group
Replies: 71
Views: 5280

Back to top

Jump to: