View Single Post
Old 07-01-2007, 5:39 PM   #3
Miro
 
Miro's Avatar
 
Posts: n/a
My Photos: ()

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default Input Type Submit

That website you have posted at the bottom
www.JavascriptToolbox.com is a great website. Just took a look there for
other ideas / help.

Thanks again for all your help. I will go there first now.

Miro

Thanks agian.



"Randy Webb" <HikksNotAtHome@aol.com> wrote in message
news6ednXrd4_lFC3benZ2dnUVZ_tudnZ2d@comcast.com. ..
> Miro said the following on 2/9/2006 10:25 AM:
>> Hopefully this is the last question.
>>
>> I have made a form with a submit and reset button, but i have made those
>> buttons type=image.
>>
>> I dont see a way of doing a onmouseover effect on them to change the
>> image.
>>
>> ignore the onclick code... i have some code that sets focus to a field
>> and its done this way so
>> a formmail.pl will not activate.
>>
>> Example:
>> <input TYPE="image" SRC="Buttons/resetred.jpg" onclick="return
>> FormReset(); return false;" width="139" height="34"
>> Name="reset"
>> OnMouseOver="this.image='Buttons/resetyellow.jpg'"
>> OnMouseOut="this.image='Buttons/resetred.jpg'" >

>
> this.src, not this.image
>
> --
> Randy
> comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
> Javascript Best Practices -
> http://www.JavascriptToolbox.com/bestpractices/



  Reply With Quote