View Full Version : rollover in image field

12-05-2009, 03:08 PM
Is it possible to have an image field in a form be a rollover image as well and what is the correct way to code this?

12-05-2009, 05:43 PM
I know that Drupal and PHP uses the term 'imageField' but in a simple HTML form there is the type="image" option. And this you can give an a:hover state in your CSS to get the rollover effect.

12-07-2009, 04:50 AM
Do you want the form field have a rollover effect, or do you want someone to be able to upload an image that is to be later used with a rollover effect on a webpage?

12-07-2009, 06:02 PM
Just for the form to have a rollover effect.

12-07-2009, 09:40 PM
If you are talking about the 'upload file' feature as in <input type="file"> I don't think this is possible.