vForums Support > Programming & Coding :: Code Requests & Support :: > [F] Give PM Bar it's own class

[F] Give PM Bar it's own class - Posted By Amor (amor) on 10th Jan 08 at 5:50pm
Can someone make a code for giving that PM bar under the menu it's own class?

Re: Give PM Bar it's own class - Posted By Michael (wrighty) on 10th Jan 08 at 8:18pm
any specific reason why?

You can use the id to apply CSS {Smile}

Re: Give PM Bar it's own class - Posted By Amor (amor) on 11th Jan 08 at 3:45am
 
any specific reason why?

You can use the id to apply CSS {Smile}


because i'd like a different image for the PM bar from my menu bar.

if they're both the same class then they both get changed at the same itme :-\

Re: Give PM Bar it's own class - Posted By ashkir (ashkir) on 11th Jan 08 at 3:49am
I think I can agree with Amor here. Being able to apply unique CSS features should be an idea, and on top of that, what if someone in the future wants to move their PM bar elsewhere? Or hide it just to grab it's data and have a code to use it elsewhere?

Re: Give PM Bar it's own class - Posted By ManGoneMad (mgm) on 11th Jan 08 at 3:54am
 

because i'd like a different image for the PM bar from my menu bar.


The same here, it would make things much easier! {Wink}

Re: Give PM Bar it's own class - Posted By Marc (cr0w) on 11th Jan 08 at 4:26am
As Wrighty said, just use the PM bar's ID to change the CSS properties. {Smile}

Code: CSS
 
  1. <style type="text/css">
  2. <!--
  3.  
  4. #user_table {
  5. background: img(http://cr0w.r00ls.com/w00t.jpg);
  6. }
  7. //-->
  8. </style>
 


{Wink}

Re: Give PM Bar it's own class - Posted By Amor (amor) on 11th Jan 08 at 4:29am
last i saw the PM bar was "menu" same as the menu bar {Unsure}

Re: Give PM Bar it's own class - Posted By Marc (cr0w) on 11th Jan 08 at 4:40am
Its class is menu; its ID is user_table. {Wink}

Re: Give PM Bar it's own class - Posted By Amor (amor) on 11th Jan 08 at 5:25am
Ah. Nowwwwwww to my other thread so I can actualy use any codes here -__-

Re: Give PM Bar it's own class - Posted By Amor (amor) on 12th Jan 08 at 11:24am
double post lol



alrighty... having the PM bar as part of the welcome table is becoming rather annoying now. lol.
another reason why i want it to have it's own class/section

if i remove the base image for the welcome table, then i'm short one base (on the PM bar)... and if i don't remove the base image from the welcome table, then i've got one too many O_O (under the menu bar)

honestly, why NOT make it have it's own piece of classing separate from the welcome table?

Re: Give PM Bar it's own class - Posted By Michael (wrighty) on 12th Jan 08 at 12:05pm
so you just want to remove the head & base around the welcome table and NOT the PM bar?

Re: Give PM Bar it's own class - Posted By Amor (amor) on 12th Jan 08 at 6:53pm
just the base.

http://i75.photobucket.com/albums/i283/amor_forum/Untitled-1-2.jpg

Re: Give PM Bar it's own class - Posted By Michael (wrighty) on 12th Jan 08 at 7:29pm
So you want to remove the welcome table base?
Code:
 
  1. <script>
  2. document.getElementsByTagName('table')[3].style.display="none";
  3. </script>
 

Re: Give PM Bar it's own class - Posted By Amor (amor) on 12th Jan 08 at 9:11pm
thanks =)

Re: Give PM Bar it's own class - Posted By Michael (wrighty) on 12th Jan 08 at 9:28pm
No problem! {Smile}