View Full Version: [S] Needs Desperate Help

RPG-Directory > Solved Support Topics > [S] Needs Desperate Help



Title: [S] Needs Desperate Help


ofadmin - April 5, 2008 03:37 PM (GMT)
Ok i need some desperate help! I have this member legend that won't show the black op color. here are the codes

footer code:
CODE
<script>
//Online/Offline Member Legend in Stats
//By slayer766 of thecodingzone.com

var NewGroup = new Array();
NewGroup[0] = ["Admin","admin","http://z9.invisionfree.com/_sepotent/index.php?act=Members&max_results=30&filter=4&sort_order=asc&sort_key=name&st=0"];
NewGroup[1] = ["Moderator","Moderator","http://z9.invisionfree.com/_sepotent/index.php?act=Members&max_results=30&filter=9&sort_order=asc&sort_key=name&st=0"];
NewGroup[2] = ["Human","human","http://z9.invisionfree.com/_sepotent/index.php?act=Members&max_results=30&filter=8&sort_order=asc&sort_key=name&st=0"];
NewGroup[3] = ["Vampire","Vampire","http://z9.invisionfree.com/_sepotent/index.php?act=Members&max_results=30&filter=6&sort_order=asc&sort_key=name&st=0"];
NewGroup[4] =
["Wolf","Wolf","http://z9.invisionfree.com/_sepotent/index.php?act=Members&max_results=30&filter=7&sort_order=asc&sort_key=name&st=0"];
NewGroup[6] =
["Witch","Witch","http://z9.invisionfree.com/_sepotent/index.php?act=Members&max_results=30&filter=10&sort_order=asc&sort_key=name&st=0"];
NewGroup[7] =
["Hunter","Hunter","http://z9.invisionfree.com/_sepotent/index.php?act=Members&max_results=30&filter=11&sort_order=asc&sort_key=name&st=0"];
NewGroup[5] =
["Black Op","Black Op","http://z9.invisionfree.com/_sepotent/index.php?act=Members&max_results=30&filter=13&sort_order=asc&sort_key=name&st=0"];

document.write("<script language='javascript' src='http://209.85.48.11/9178/48/upload/p1579697.ibf'><\/script>");
</script>


the css code:
CODE
.purple { color:purple;font-weight:bold }
.red    { color:red;font-weight:bold }
.green  { color:green;font-weight:bold }
.blue   { color:blue;font-weight:bold }
.orange { color:#F90;font-weight:bold }
.admin,.admin:link { color:darkviolet;font-weight:bold }
.moderator,.moderator:link { color:hotpink }
.human,.human:link { color:darkcyan }
.vampire,.vampire:link { color:darkred }
.wolf,.wolf:link { color:chocolate }
.blackop,.blackop:link { color:lightblue }
.witch,.witch:link { color:yellowgreen }
.hunter,.hunter:link { color:orange }


The black op group here: here isn't showing up as the light blue color that is in the css. could anyone tell me what is wrong?

Gowd - April 5, 2008 06:36 PM (GMT)
CODE
.purple { color:purple;font-weight:bold }
.red    { color:red;font-weight:bold }
.green  { color:green;font-weight:bold }
.blue   { color:blue;font-weight:bold }
.orange { color:#F90;font-weight:bold }
.admin,.admin:link { color:darkviolet;font-weight:bold }
.moderator,.moderator:link { color:hotpink }
.human,.human:link { color:darkcyan }
.vampire,.vampire:link { color:darkred }
.wolf,.wolf:link { color:chocolate }
.blackop,.blackop:link { color:lightcyan2 }
.witch,.witch:link { color:yellowgreen }
.hunter,.hunter:link { color:orange }


Try that =S i think it was the color, though when i went on your site it worked... soo... :sweat:

ofadmin - April 5, 2008 10:59 PM (GMT)
i am using firefox, and that didn't help either, maybe it is the firefox...?

Shade - April 5, 2008 11:41 PM (GMT)
I use firefox and it works just fine ^.^

i'll look through it and see if I can notice any errors.


EDIT

in your first code... is there any reason for them to be out of order? That could be causing it because...

QUOTE
NewGroup[4] =
["Wolf","Wolf","http://z9.invisionfree.com/_sepotent/index.php?act=Members&max_results=30&filter=7&sort_order=asc&sort_key=name&st=0"];
NewGroup[6] =
["Witch","Witch","http://z9.invisionfree.com/_sepotent/index.php?act=Members&max_results=30&filter=10&sort_order=asc&sort_key=name&st=0"];
NewGroup[7] =
["Hunter","Hunter","http://z9.invisionfree.com/_sepotent/index.php?act=Members&max_results=30&filter=11&sort_order=asc&sort_key=name&st=0"];
NewGroup[5] =
["Black Op","Black Op","http://z9.invisionfree.com/_sepotent/index.php?act=Members&max_results=30&filter=13&sort_order=asc&sort_key=name&st=0"];


NewGroupd [5] comes after NewGroup[7].... and NewGroup[5] is
"Black Op" so the easiest thing would be to change the numbers if you want to avoid the least amount of code moving and such.

On the off chance that changing the numbers doesn't work because there is a link involved and each of them are different... copy the bottom bit
QUOTE

NewGroup[5] =
["Black Op","Black Op","http://z9.invisionfree.com/_sepotent/index.php?act=Members&max_results=30&filter=13&sort_order=asc&sort_key=name&st=0"];


and put it so that it is coming after NewGroup[4] instead.

ofadmin - April 5, 2008 11:51 PM (GMT)
nevermind, my dad is a programmer, and he helped me, it is working now

Shade - April 5, 2008 11:52 PM (GMT)
show me the code you have now ^.^ I'll look through it again. I am certain this has something to do with the coding.

ofadmin - April 5, 2008 11:59 PM (GMT)
it was in the span in the member group its self

Horsecrzy721 - April 6, 2008 01:31 PM (GMT)
Your topic has been solved and moved to the 'Solved Support Topics' forum! Still have a question, or something isn't clear yet? Open up a new topic, but be sure to be more specific this time!




Hosted for free by InvisionFree