Well i had a rollover menu on PB that didn't require any images in the code and i wondered if i could have one please.![]()
Code:
- <script type="text/javascript">
- /*Rollover for buttons
- By Wrighty
- wRcreations & vFSupport*/
- for(i=0;i<get('img','tag').length;i++){
- if(get('img','tag')[i].src.match(/_off.(gif|png|jpg)/)){
- get('img','tag')[i].onmouseover = function(){this.src = this.src.replace(/_off/,'_on');};
- get('img','tag')[i].onmouseout=function(){this.src = this.src.replace(/_on/,'_off');};
- }
- }
- </script>
should work!![]()
I modified one I had lying around.
name them x_off and x_on![]()
.gif, .jpg and .png supported!![]()
Yeah works thanks![]()