www.webdeveloper.com
Results 1 to 3 of 3

Thread: Image over effect in input TAG?How...

  1. #1
    Join Date
    Sep 2005
    Posts
    1,625

    Image over effect in input TAG?How...

    I have code:
    PHP Code:

    <input type="image" name="request" src="slike/send.gif" 
    How to do that Image will be other when user goes over image?

    I have code for normal image

    PHP Code:

    <a href="" onMouseOver="document.image1.src='mainimage1a.gif'"
               
    onMouseOut="document.image1.src='mainimage1a.gif'">
               <
    img src="image1.gif" name="image1" width="156" height="132"

  2. #2
    Join Date
    Jan 2004
    Location
    chertsey, a small town s.w. of london, england.
    Posts
    1,450
    Hi there toplisek,

    try it like this...
    Code:
    <input type="image" name="request" src="your_image_one.gif" 
    onmouseover="this.src='your_image_two.gif'" 
    onmouseout="this.src='your_image_one.gif'"> 
    coothead

  3. #3
    Join Date
    Sep 2005
    Posts
    1,625
    Thanks. It works
    How to do function clear fileds? Should it be JavaScript?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles