Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / HTML, CSS, Scripts / JavaScript / October 2006



Tip: Looking for answers? Try searching our database.

canvas, transparency, and clicking

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Andrew Poulos - 30 Oct 2006 06:30 GMT
I'm using canvas to draw shapes on screen (to highlight items of
interest). All's working fine until a circle is drawn around a button
the user needs to click. The canvas "covers" the button so it's
impossible for the user to click it.

Is there a way to pass a mouse click to an element underneath a clicked
element (and underneath the current cursor position?)

Andrew Poulos
niels.froehling@seies.de - 31 Oct 2006 20:22 GMT
> Is there a way to pass a mouse click to an element underneath a clicked
> element (and underneath the current cursor position?)

Try '<button><canvas></canvas></button>'.
The button-click should go through.

> Andrew Poulos

Ciao
   Niels
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.