vForums Support > Programming & Coding :: Database of Codes/Hacks/Mods :: Code Submissions :: > Transparent links

Transparent links - Posted By Nick (nickb) on 10th Jul 08 at 4:37pm
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.