Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DIV's and onclick

Status
Not open for further replies.

econnections

IS-IT--Management
Apr 28, 2006
30
GB
I'm having a trouble using onclick with DIV's and hope somebody might be able to resolve my problem. DIV 1 is used to position an image on the page. DIV 2 contains an button image. DIV 2 also contains an onclick.

My intention was when an onclick event ocurred on DIV 2 the button image would toggle on and off. Unfortunately this only happens where DIV 2 does not overlap the image in DIV 1. However, I need to happen anywhere I click on DIV 2. Please see link.

Any help would be appreciated.

Graham


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top