This is a discussion on "switching backgound image" within the JavaScript Forum section. This forum, and the thread "switching backgound image are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
switching backgound image
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
switching backgound image
How i can do This:<input type=button value"click" onclick="document.bgColor='red'">
which change's background image instead switching background color? (I'm not good at english..) |
|
|
|
||||
|
Re: switching backgound image
Follow this tutorial but change "onmouseover" to "onclick".
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
|
|
|||
|
Re: switching backgound image
Ok, thanks.But can i do it with input tag ?
|
|
|||
|
Re: switching backgound image
Sure you can.
Just change this part of the tutorial
|
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Switching Host | Jack Franklin | Hosting & Domains | 17 | Mar 16th, 2008 22:14 |
| Seeking advice for switching image. =D | mini karen | JavaScript Forum | 2 | Nov 19th, 2007 17:48 |
| switching between style sheets | cwjones | Web Page Design | 4 | Jul 4th, 2007 17:06 |
| Switching from ASP to ASP.net | jsa | ASP.NET Forum | 1 | Nov 27th, 2006 17:26 |
| Switching images in cells... | Kingcobra220 | JavaScript Forum | 2 | Sep 3rd, 2006 22:33 |