![]() |
|
Welcome to the Computer Webmaster Gaming Console Graphics Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
| |||||||
| JavaScript JavaScript are you needing help with functions in your script, free help is offered here for all JavaScript problems so if you have an JavaScript error in your code just ask. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| | #1 | ||
| 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'" > nothing happens. Can this be done with an input type =image ?? Miro | |||
|
| Advertisements |
| | #2 | ||
| 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/ | |||
|
| | #3 | ||
| 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 news 6ednXrd4_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/ | |||
|
| Featured Websites | ||||
|
![]() |
| Tags: input, submit, type |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Search engines submit using ASP | Renzo Carta | Graphics in general | 2 | 06-11-2007 10:08 PM |
| Submit your art | Roberto | Graphics in general | 0 | 05-28-2007 6:46 PM |
| Best Submit | John_Dean | Search Engines and Directories | 0 | 11-24-2006 12:26 PM |
| To which directories you have submit your blogs | kashem | Website Reviews And Website Questions | 5 | 07-17-2006 4:01 AM |
| Featured Websites | ||||
|