Posted By:
zheng_yu
Posted On:
Tuesday, September 18, 2001 03:32 AM
i use 2 images( one is key down , the other is key up ) + href to represent a button .code is like : "MM_swapImgRestore()" onMouseDown="MM_swapImage('Image36','','images/kk_ya_sw.gi f',1)" %gt; border="0" name="Image36"> when mouse is pressed down , it shows kk_ya_sw.gif, when mouse is released , it shows kk_ya.gif . in some situation , when user click some button , i have to highlight it with different color , ( mean will changer both button down/on image ).without reloading it . how can i do this by using javascript Thanx in advance ZY
More>>
i use 2 images( one is key down , the other is key up ) + href to represent a button .code is like :
"MM_swapImgRestore()" onMouseDown="MM_swapImage('Image36','','images/kk_ya_sw.gi
f',1)" %gt;
border="0" name="Image36">
when mouse is pressed down , it shows kk_ya_sw.gif, when mouse is released , it shows kk_ya.gif .
in some situation , when user click some button , i have to highlight it with different color , ( mean will changer both button down/on image ).without reloading it . how can
i do this by using javascript
Thanx in advance
ZY
<<Less