ONCLICK and ONDBLCLICK Issue

Use this board to ask questions or have discussions with other Rich Displays users.
Post Reply
rmullis
Experienced User
Posts: 100
Joined: Tue Feb 21, 2012 1:24 pm
First Name: Robert
Last Name: Mullis
Company Name: WRC
State / Province: Georgia
Country: United States
Contact:

ONCLICK and ONDBLCLICK Issue

Post by rmullis »

I have an image with the onclick and ondblclick events defined. The event for onclick works fine when I click on the image. When I double click on the image I encounter a problem. The onclick event runs first and then the ondblclick event runs. Is this supposed to happen or is there a bug?
User avatar
David
Profound Logic Staff Member
Posts: 690
Joined: Fri Jan 04, 2008 12:11 pm
First Name: David
Last Name: Russo
Company Name: Profound Logic Software
Contact:

Re: ONCLICK and ONDBLCLICK Issue

Post by David »

This is normal operation of the web browser. It fires "onclick" event for the first click, and then "ondblclick" for the 2nd one, if received soon enough.
rmullis
Experienced User
Posts: 100
Joined: Tue Feb 21, 2012 1:24 pm
First Name: Robert
Last Name: Mullis
Company Name: WRC
State / Province: Georgia
Country: United States
Contact:

Re: ONCLICK and ONDBLCLICK Issue

Post by rmullis »

Thanks David.

That is what I suspected, but just wanted to verify. I changed my program to not have the onclick and ondblclick events on that image.
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests