vForums Support > vForums :: Support :: > Multi-Topic Moderation Not Transparent

Multi-Topic Moderation Not Transparent - Posted By beccagranger (beccagranger) on 8th Jan 08 at 5:24pm
I don't know if this is fixable, but I noticed that the multi-topic moderation buttons are not transparent. Here's a screen shot of what I mean:

http://img520.imageshack.us/img520/5909/problemvl4.jpg

The background color behind the buttons is my forum background color, but I have the window 1 and 2 background colors set for a different color. Make sense? {Unsure}

Re: Multi-Topic Moderation Not Transparent - Posted By Michael (wrighty) on 8th Jan 08 at 6:02pm
You seem to be using custom buttons. so that is a problem your end, not a vForums bug.

Re: Multi-Topic Moderation Not Transparent - Posted By beccagranger (beccagranger) on 8th Jan 08 at 7:30pm
Yes, I am using custom buttons, but the buttons themselves have a transparent background. So, they should look like the background behind "Multi-Topic Moderation", but they don't. They have the same background color as the forum's background color....which should be in the coding.

I'm not sure if someone put the class as bgcolor, maybe it should be window1 or window2.....see what I'm saying?

Re: Multi-Topic Moderation Not Transparent - Posted By Michael (wrighty) on 8th Jan 08 at 7:41pm
seems to have the window2 class...

Have you got a link to your forum please? And/or a link to one of the buttons that isn't transparent?

Re: Multi-Topic Moderation Not Transparent - Posted By beccagranger (beccagranger) on 8th Jan 08 at 7:50pm
All of the buttons are transparent. Can I PM you the link to the forum? The template I'm working on.....I'm considering putting in the contest.

Re: Multi-Topic Moderation Not Transparent - Posted By Michael (wrighty) on 8th Jan 08 at 8:08pm
Yes sure! {Smile}

I would rather that you PMed or Posted a link to one of the 'non transparent' buttons that you have shown in your image... {Unsure}

Re: Multi-Topic Moderation Not Transparent - Posted By beccagranger (beccagranger) on 8th Jan 08 at 10:53pm
Not a problem at all. {Grin} Here are a couple of the images that I seem to be having trouble with:

Image

Image

Re: Multi-Topic Moderation Not Transparent - Posted By Michael (wrighty) on 8th Jan 08 at 10:55pm
are they showing up transparent in that post?

Please PM me a link to the forum as well! {Smile}

Re: Multi-Topic Moderation Not Transparent - Posted By beccagranger (beccagranger) on 8th Jan 08 at 10:59pm
Just sent the PM, and yeah....they are transparent background in the post above. Just not on the forum. lol.

Re: Multi-Topic Moderation Not Transparent - Posted By Michael (wrighty) on 8th Jan 08 at 11:17pm
Right, the crazy thing is I tried putting your images on my test forum with the same bg colour and it was all fine! ^_^

And then I copied your whole skin to my forum (using export) and it has the error.... {Unsure}

Let me test some more! {Smile}

Re: Multi-Topic Moderation Not Transparent - Posted By Michael (wrighty) on 8th Jan 08 at 11:24pm
ok, worked it out...
Those images aren't actually normal 'image links' they are infact buttons (<input>) type things. And as you set in your Forum Colours the 'input bg color' that is what these have got. Try this code as a fix:

Code:
 
  1. <script>
  2. /*Transparent Image Fix for Becca*/
  3. var d=document.getElementsByTagName('input');
  4. for(i=0;i<d.length;i++){
  5. if(d[i].name.match(/(lock|sticky|move|delete)/i)){
  6. d[i].style.backgroundColor = '#889670';
  7. }}
  8. </script>
 

Re: Multi-Topic Moderation Not Transparent - Posted By Dreg[Bot] (dregondrahl) on 8th Jan 08 at 11:36pm
>.> why wont you just use CSS ?

Something likey


#admin_powers input {
     background: #889670;
}

Re: Multi-Topic Moderation Not Transparent - Posted By Michael (wrighty) on 8th Jan 08 at 11:36pm
cause I didn't think of that! {Tongue Out}

Re: Multi-Topic Moderation Not Transparent - Posted By Dreg[Bot] (dregondrahl) on 8th Jan 08 at 11:39pm
{Tongue Out} actually background: none; would be better, then its really transparent.

Re: Multi-Topic Moderation Not Transparent - Posted By Ross (admin) on 8th Jan 08 at 11:41pm
 
>.> why wont you just use CSS ?

Something likey


#admin_powers input {
     background: #889670;
}


I'll add it to the global CSS file in about 1 minute time {Cheesy}

Re: Multi-Topic Moderation Not Transparent - Posted By beccagranger (beccagranger) on 9th Jan 08 at 12:37am
You guys totally rock. {Kiss} Wrighty, thanks so much for your help, Dragond thanks so much for your input.....and Ross, thanks for making such a wonderful forum system. {Grin} Oh yeah, and for making it a global thing, because I suck at coding. Can't write it....but I somehow understand it, isn't that crazy. lol. Anyway, thanks you guys. *hugs!*