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 />



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... :(

Link to comment

  • Content Count:  691
  • Joined:  07/21/09
  • Status:  Offline

Did u forget a = after onMouseOver?

or the inline close to button_home2.png sence there is no closing tag.


im not the best with java but im going from what i learned in my web dev class. sorry if i didnt help.

  • Like 1
Link to comment

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...