vForums Support Banner



 

Welcome Guest! Please Login or Register
vForums Support :: Programming & Coding :: Database of Codes/Hacks/Mods :: Code Submissions :: Transparent links - View Topic
Topic Rating: *****
Printable View
Nick
Very Senior Member
*****

[Avatar]

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


pmwww
Transparent links (10th Jul 08 at 4:37pm UTC)
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>
 


Well as to know I know that some forums has copied this, so I will submit it for public use.

Please do not PM me for support, that's what the coding support board is for.
 Printable View

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