English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories







onmouseover="movepic('Gountitled','Go2.png')"
onmouseout="movepic('Gountitled','Go1.png')"
onmousedown="movepic('Gountitled','Go3.png')"
SRC='Go1.png'>


There is a simple piece of code, but it does not work, because images do not change when on mouse over/out

2007-06-11 04:41:40 · 3 answers · asked by kolibrizas 3 in Computers & Internet Programming & Design

3 answers

Add "return true;"

...or, to be much simpler, simply change movepic to

onmouseover="this.src='whatever.gif'"
onmouseout="this.src='whatever.gif'"
onmousedown="this.src='whatever.gif'"

where in each case you substitute the word whatever with the literal name of the image you want to use in that case!

2007-06-11 05:15:51 · answer #1 · answered by fjpoblam 7 · 0 0

Did you make sure to put the javascript in tags?

2016-05-17 08:24:02 · answer #2 · answered by ? 3 · 0 0

Try this..

2007-06-11 05:26:27 · answer #3 · answered by thetexaspsycho2003 2 · 0 0

fedest.com, questions and answers