vForums Support > Programming & Coding :: Code Requests & Support :: > Board Opacity

Board Opacity - Posted By RuhRoe (mezorro) on 30th Nov 08 at 9:03pm
I was wondering if someone could make a code that the board can have a lower Opacity. Maybe around 50%? I would have to edit it to see how much. Can this include the menu button and info center?


Re: Board Opacity - Posted By dog199200 (dog199200) on 1st Dec 08 at 12:37am
{Tongue Out} very easily done with css, i'll have it to you in a bit {Smile}

<style>
body {
filter:alpha(opacity=50);
-moz-opacity:0.50;
opacity:0.50;
}
</style>

Global Header {Smile}

Re: Board Opacity - Posted By Nick (nickb) on 1st Dec 08 at 12:55am
I am not sure if Dwight included the Menu Icons. But this will make all images transparent like.

Code:
 
  1. <script type="text/javascript">
  2. <!--
  3.  
  4. var iLink=document.getElementsByTagName('a');
  5. for(i=0;i<iLink.length;i++){
  6. if(iLink.item(i).firstChild && iLink.item(i).firstChild.nodeName.match(/img/i)){
  7. var iTheGo=iLink.item(i).firstChild;
  8. iTheGo.style.opacity=.6;
  9. iTheGo.style.filter='alpha(opacity=50)';
  10. iTheGo.onmouseover=function(){
  11. this.style.opacity=1;
  12. this.style.filter = 'alpha(opacity=100)';
  13. };
  14. iTheGo.onmouseout=function(){
  15. this.style.opacity=.6;
  16. this.style.filter = 'alpha(opacity=50)';
  17. };
  18. }
  19. }
  20.  
  21. //-->
  22. </script>
 


Where the "50" is you can change that from 1-100.

Way at the bottom of Global Footer, everything has to be above it or somethings wont be included.

Re: Board Opacity - Posted By dog199200 (dog199200) on 1st Dec 08 at 12:57am
{Tongue Out} mine does make the buttons transparent {Tongue Out} just not an image overlay

Re: Board Opacity - Posted By Nick (nickb) on 1st Dec 08 at 4:59am
Oh I see {Cheesy}

Re: Board Opacity - Posted By RuhRoe (mezorro) on 2nd Dec 08 at 3:02am
Thanks Dwight and DM {Smile}

Re: Board Opacity - Posted By dog199200 (dog199200) on 2nd Dec 08 at 3:12am
{Tongue Out} np