Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #25811

Re: Shape with transparent click through

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!weretis.net!feeder1.news.weretis.net!news.solani.org!.POSTED!not-for-mail
From Thomas 'PointedEars' Lahn <PointedEars@web.de>
Newsgroups comp.lang.javascript
Subject Re: Shape with transparent click through
Date Wed, 03 Sep 2014 03:28:45 +0200
Organization PointedEars Software (PES)
Lines 28
Message-ID <8985505.dSd017Y80t@PointedEars.de> (permalink)
References <Y9mdnRhAy6jn2pvJnZ2dnUVZ_q-dnZ2d@westnet.com.au> <4867520.6Lz3d7RzCT@PointedEars.de> <xNGdnV-w_q41_JvJnZ2dnUVZ_o-dnZ2d@westnet.com.au> <0gqc0alv9b4cub4r3tuja29rctupjblcbt@4ax.com>
Reply-To Thomas 'PointedEars' Lahn <cljs@PointedEars.de>
Mime-Version 1.0
Content-Type text/plain; charset="UTF-8"
Content-Transfer-Encoding 8Bit
X-Trace solani.org 1409707725 13980 eJwFwYENACAIA7CXwLEh5xjN/j/BllDqdokqmn4zISxcZIZNcA4lpzpPTO4F7+oT7w1c6wP6kQ/m (3 Sep 2014 01:28:45 GMT)
X-Complaints-To abuse@news.solani.org
NNTP-Posting-Date Wed, 3 Sep 2014 01:28:45 +0000 (UTC)
User-Agent KNode/4.14
X-User-ID eJwNx8EBwCAIA8CVDBKi46DI/iO09zvOQFx5MJzNzmsCX/09FjsHZt4uActpGpe7hp8EFyZMltVyMR72oeoDOrIUlg==
Cancel-Lock sha1:swiDcj62tOt1P+2hJWEL4GtU8Pc=
X-NNTP-Posting-Host eJwFwYEBwCAIA7CXViydnAMo/59g4ktQ/5SLPj7BClrz7uSOSsg+negRFxvRxyr9GoZgHjwVNxD7
Xref csiph.com comp.lang.javascript:25811

Show key headers only | View raw


Ed Jay wrote:

> Andrew Poulos […] wrote:
>> I've been using wz_jsgraphics.js to draw the circle but I'd rather
>> something that looked, and is, better. Things like Canvas, VML, and SVG
>> all give better looking results but don't allow for clicking through
>> transparent areas. (And I'm not that interested in coding something that
>> captures clicks and passes them on).
>>
> Z-index is your friend here.

The z-index CSS property is likely to be unnecessary here because added 
elements in the same stacking context are higher on the z-axis even without 
the declaration.  IOW: In the same stacking context, following elements 
overlap preceding elements, and absolute positioned elements overlap 
relative positioned or not positioned (“static”) elements.
 
> I have a similar button that resides on the bottom layer of a 5-canvas
> stack. The button is attached as a child and has a high z-index to set
> it standalone above all the other layers.

ISTM you have not read the problem description thoroughly.

-- 
PointedEars
FAQ: <http://PointedEars.de/faq> | SVN: <http://PointedEars.de/wsvn/>
Twitter: @PointedEars2 | ES Matrix: <http://PointedEars.de/es-matrix>
Please do not Cc: me. / Bitte keine Kopien per E-Mail.

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Shape with transparent click through Andrew Poulos <ap_prog@hotmail.com> - 2014-09-03 08:37 +1000
  Re: Shape with transparent click through Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-09-03 02:01 +0200
    Re: Shape with transparent click through Andrew Poulos <ap_prog@hotmail.com> - 2014-09-03 10:29 +1000
      Re: Shape with transparent click through Ed Jay <edMbj@aes-intl.com> - 2014-09-02 18:11 -0700
        Re: Shape with transparent click through Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-09-03 03:28 +0200
      Re: Shape with transparent click through Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-09-03 03:16 +0200
        Re: Shape with transparent click through Andrew Poulos <ap_prog@hotmail.com> - 2014-09-03 12:33 +1000
          Re: Shape with transparent click through "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2014-09-03 08:53 +0200
          Re: Shape with transparent click through Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-09-03 12:40 +0200
  Re: Shape with transparent click through "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2014-09-03 01:16 -0700
    Re: Shape with transparent click through "Christoph M. Becker" <cmbecker69@arcor.de> - 2014-09-04 02:27 +0200
      Re: Shape with transparent click through "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2014-09-03 18:45 -0700
        Re: Shape with transparent click through "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2014-09-04 09:37 +0200
          Re: Shape with transparent click through "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2014-09-04 18:53 -0700
        Re: Shape with transparent click through "Christoph M. Becker" <cmbecker69@arcor.de> - 2014-09-04 12:29 +0200

csiph-web