Custom Form Button - Another quick question

Dear All,

I’ve now got my custom submit button sorted, Many thanks to Mike.

The custom button in question contains a rollover (i.e when you click t the background colour changes) the problem I’m now having is when I make the graphic a submit button my rollover no longer works, I realise it’s an error on my part, but any help to fix this again would be gratefully received.

Cheers


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

An image based submit button isn’t technically an image but a form
element. This is why your image rollovers fail to work as they are
looking for an image tag to hang the rollover code on.
There are two options to do what you want;

  1. Keep the submit button as an image with a rollover and use
    JavaScript to submit the form when the user clicks on the image;
    onclick-“this.form.submit()”
    I don’t recommend you use this method as it breaks a lot of things in
    terms of usability.

  2. Use the “Submit Image Rollover” action at;
    http://www.freewayactions.com/product.php?id=023

Regards,
Tim.

On 25 Oct 2009, at 12:44, Paprika wrote:

I’ve now got my custom submit button sorted, Many thanks to Mike.

The custom button in question contains a rollover (i.e when you
click t the background colour changes) the problem I’m now having is
when I make the graphic a submit button my rollover no longer works,
I realise it’s an error on my part, but any help to fix this again
would be gratefully received.

FreewayActions.com - Freeware and shareware actions for Freeway
Express & Pro.

Protect your mailto links from being harvested by spambots with Anti
Spam.
Only available at FreewayActions.com

http://www.freewayactions.com


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Tim,

Many thanks fort the help.

Cheers


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options