changing image button image on mouse over

changing image button image on mouse over

Page 1 of 1

2 Replies - 8682 Views - Last Post: 09 November 2009 - 03:17 PM

#1 rahullamba01862240166  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 09-November 09

changing image button image on mouse over

Post icon  Posted 09 November 2009 - 06:04 AM

i want to change the image of image button on mouse over and mouse leave. Please help me with this. Thanks in advance.
Is This A Good Question/Topic? 0
  • +

Replies To: changing image button image on mouse over

#2 PsychoCoder  Icon User is offline

  • Google.Sucks.Init(true);
  • member icon

Reputation: 1639
  • View blog
  • Posts: 19,853
  • Joined: 26-July 07

Re: changing image button image on mouse over

Posted 09 November 2009 - 10:29 AM

You're going to need to use Javascript for this as it's a client-side language so I'm moving this to the Javascript forum :)


Dream.In.Code has a policy by which we prefer to see a good faith effort on your part before providing source code for homework assignments. Please post the code you have written in an effort to resolve the problem, and our members would be happy to provide some guidance. Be sure to include a description of any errors you are encountering as well.

Post your code like this: :code:

Thanks.
Was This Post Helpful? 0
  • +
  • -

#3 level1  Icon User is offline

  • D.I.C Head

Reputation: 14
  • View blog
  • Posts: 65
  • Joined: 12-June 08

Re: changing image button image on mouse over

Posted 09 November 2009 - 03:17 PM

View PostPsychoCoder, on 9 Nov, 2009 - 09:29 AM, said:

You're going to need to use Javascript for this as it's a client-side language so I'm moving this to the Javascript forum :)

Actually I'd advise against this, and I'd use CSS to do the image swap for you. Here is a link to an nice tutorial :

http://www.elated.co...llover-buttons/
Was This Post Helpful? 1
  • +
  • -

Page 1 of 1