-
September 28th, 2012, 06:46 AM
#1
Replace a button with an image
Hi,
I want to replace my button with an image when moving the mouse over it . My code for creating button is given below.
<button type="button"tabindex="1"id="btn"onmouseover="ShowImage(this)"onmouseout="showButton(this)">Transparent Button</button>
I want to display an image "flwr.bmp" when mouseover the button. I am a beginner in JavaScript. Please help me.
Thanks..
-
September 28th, 2012, 11:40 AM
#2
Re: Replace a button with an image
If the post was helpful...Rate it! Remember to use [code] or [php] tags.
-
September 28th, 2012, 11:23 PM
#3
Re: Replace a button with an image
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|