vForums Support Banner



 

Welcome Guest! Please Login or Register
vForums Support :: Programming & Coding :: Code Requests & Support :: Board Opacity - View Topic
Topic Rating: *****
Printable View
RuhRoe
Full Member
***

Posts: 218
Status: Offline
Gender: Male
Age: 30
Joined:  
Reputation: 5%  


pmxfire
Board Opacity (30th Nov 08 at 9:03pm UTC)
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?

dog199200
Guest
Re: Board Opacity (1st Dec 08 at 12:37am UTC)
{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}
Nick
Very Senior Member
*****

[Avatar]

Posts: 3,012
Status: Offline
Gender: Male
Location: vForums
Age: 34
Joined:  
Reputation: 62%  


pmwww
Re: Board Opacity (1st Dec 08 at 12:55am UTC)
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.
dog199200
Guest
Re: Board Opacity (1st Dec 08 at 12:57am UTC)
{Tongue Out} mine does make the buttons transparent {Tongue Out} just not an image overlay
Nick
Very Senior Member
*****

[Avatar]

Posts: 3,012
Status: Offline
Gender: Male
Location: vForums
Age: 34
Joined:  
Reputation: 62%  


pmwww
Re: Board Opacity (1st Dec 08 at 4:59am UTC)
Oh I see {Cheesy}
RuhRoe
Full Member
***

Posts: 218
Status: Offline
Gender: Male
Age: 30
Joined:  
Reputation: 5%  


pmxfire
Re: Board Opacity (2nd Dec 08 at 3:02am UTC)
Thanks Dwight and DM {Smile}
dog199200
Guest
Re: Board Opacity (2nd Dec 08 at 3:12am UTC)
{Tongue Out} np
 Printable View

All times are GMT+0 :: The current time is 6:19am
Page generated in 1.1621 seconds
This Forum is Powered By vForums (v2.4)
Create a Forum for Free | Find Forums