Jump to content

? servers

? players online

Need help with some JavaScript...

Recommended Posts


  • Content Count:  3791
  • Joined:  08/08/09
  • Status:  Offline

I'm making a website for college, but for some reason my java Script wont work... (Rollover button)

 

Rollover Button



<br />
<br />
<br />
image1 = new Image();<br />
image1.src = "button_home1.png";<br />
<br />



onMouseOver"image1.src='button_home1.png';"onMouseOut="image1.src='button_home2.png';">






 

Thats my code, any ideas why it's not happening? I'm not getting any errors, but when I mouse over my button, nothing happens... :(

Reply to Thread

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...