This will allow you to give any image a rollover. Even if it's a sig image!
Simply add more of:
roll_over('normal_image','rollover_image');
normal_image = the image to show normally
rollover_image = image to be shown when you mouseover the image.
Code:Code:
- <script type="text/javascript">
- /*Rollover for buttons
- By Wrighty
- wRcreations & vFSupport*/
- function roll_over(old, over){
- var img = document.getElementsByTagName("img");
- for(i=0; i<img.length; i++){
- if(img[i].src.match(old)){
- img[i].onmouseover = function(){this.src = over;};
- img[i].onmouseout=function(){this.src = old;};
- }
- }
- }
- roll_over('normal_image','rollover_image');
- </script>
Global Footer