Win a copy of Micro Frontends in Action this week in the Server-Side JavaScript and NodeJS forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

hightlight button

Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i use 2 images( one is key down , the other is key up ) + href to represent a button .code is like :
<A href="#" onMouseUp="MM_swapImgRestore()" onMouseDown="MM_swapImage('Image36','','images/
f',1)" %gt;<IMG src="images/kk_ya.gif" width=61 height=58
border="0" name="Image36"></A>
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
I am a man of mystery. Mostly because of this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    Bookmark Topic Watch Topic
  • New Topic