IIRC, style["pointer-events"] works in some browsers but not all.

Anyway, this is quite a bit of new code.  The old bead should have been
preserved and given a name like ToolTipsOnRightBottomBead and the existing
examples updated to use it.

I would also recommend using large numbers for the constants.  It isn't
clear I can position a tooltip at 2,0 the way the code is written now.

Thanks,
-Alex

On 7/13/17, 8:16 AM, "Harbs" <harbs.li...@gmail.com> wrote:

>Here’s a fiddle trying to set pointer-events in various ways. Only one
>(with dot notation) works:
>https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fjsfiddle.
>net%2FHarbs%2F9c8zezx5%2F&data=02%7C01%7C%7C8f52afd516cb4676154e08d4ca021b
>30%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636355557782259195&sdata=v
>umqhweIzZLNFozgADtC3Hn%2B71kZ1BTcBcb6JyUjY4o%3D&reserved=0
><https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fjsfiddle
>.net%2FHarbs%2F9c8zezx5%2F&data=02%7C01%7C%7C8f52afd516cb4676154e08d4ca021
>b30%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636355557782259195&sdata=
>vumqhweIzZLNFozgADtC3Hn%2B71kZ1BTcBcb6JyUjY4o%3D&reserved=0>
>
>> On Jul 13, 2017, at 5:51 PM, Harbs <harbs.li...@gmail.com> wrote:
>> 
>> More information here:
>> 
>>https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdevelope
>>r.mozilla.org%2Fen-US%2Fdocs%2FWeb%2FCSS%2FCSS_Properties_Reference&data=
>>02%7C01%7C%7C8f52afd516cb4676154e08d4ca021b30%7Cfa7b1b5a7b34438794aed2c17
>>8decee1%7C0%7C0%7C636355557782259195&sdata=0JEjaPFP%2FrB7s39JK8%2FKU8izCK
>>c12TkKOL57ND2f0ho%3D&reserved=0
>><https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdevelop
>>er.mozilla.org%2Fen-US%2Fdocs%2FWeb%2FCSS%2FCSS_Properties_Reference&data
>>=02%7C01%7C%7C8f52afd516cb4676154e08d4ca021b30%7Cfa7b1b5a7b34438794aed2c1
>>78decee1%7C0%7C0%7C636355557782259195&sdata=0JEjaPFP%2FrB7s39JK8%2FKU8izC
>>Kc12TkKOL57ND2f0ho%3D&reserved=0>
>> 
>>> On Jul 13, 2017, at 4:48 PM, Harbs <harbs.li...@gmail.com
>>><mailto:harbs.li...@gmail.com>> wrote:
>>> 
>>> When specifying css via javascript, the naming is different than
>>>specifying using CSS files.
>>> 
>>> I’d be *very* surprised if the code works as-is.
>>> 
>>>> On Jul 13, 2017, at 3:23 PM, Justin Mclean <jus...@classsoftware.com
>>>><mailto:jus...@classsoftware.com>> wrote:
>>>> 
>>>> Hi
>>>> 
>>>>>> +                        positioner.style["pointer-events"] = "none”;
>>>>> 
>>>>> I think that should be positioner.style["pointerEvents"] = "none”;
>>>> 
>>>> The style is "pointer-events" [1] so I’m not sure why you would use
>>>>"pointerEvents”. I’ve tested ""pointer-events” and it works.
>>>> 
>>>> Thanks,
>>>> Justin
>>>> 
>>>> 
>>>> 1. 
>>>>https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdevelo
>>>>per.mozilla.org%2Fen%2Fdocs%2FWeb%2FCSS%2Fpointer-events&data=02%7C01%7
>>>>C%7C8f52afd516cb4676154e08d4ca021b30%7Cfa7b1b5a7b34438794aed2c178decee1
>>>>%7C0%7C0%7C636355557782259195&sdata=H9pPdrZ7iXlpfO2OKgZJaLuynAnYhTiRk59
>>>>%2BVSEZyiE%3D&reserved=0
>>>><https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdevel
>>>>oper.mozilla.org%2Fen%2Fdocs%2FWeb%2FCSS%2Fpointer-events&data=02%7C01%
>>>>7C%7C8f52afd516cb4676154e08d4ca021b30%7Cfa7b1b5a7b34438794aed2c178decee
>>>>1%7C0%7C0%7C636355557782259195&sdata=H9pPdrZ7iXlpfO2OKgZJaLuynAnYhTiRk5
>>>>9%2BVSEZyiE%3D&reserved=0>
>>> 
>> 
>

Reply via email to