
You could also avoid JavaScript altogether and use CSS for rollover buttons. If it's just a simple background/foreground colour combination then you could try using an unordered list and formatting it appropriately. I have a good example of that if you're interested (I had to create such a system for the Observatory). Sandy Glenn Stuart Morrissey wrote:
hi there all
is anyone able to help me out with a bit of javascript code? On my webpage:gmorrissey.kol.co.nz I have a page called page_template. I have only uploaded the red and black images for the first two buttons (a blue and a red button for mouseover). I dont think I have quite got the code right as the buttons arent changing colour on mouseover. I had an online script that I used as a template, I seemed to have gone awry for some reason. Any tips appreciated.
Glenn.