popupshowing event not returning mouse coordinates - Mozilla

This is a discussion on popupshowing event not returning mouse coordinates - Mozilla ; Hi All, I am creating custom tooltip for my extension. For the purpose I have attached a popup with element. and listening to onpopupshowing event but in firefox 3 i am getting event.clientX & event.clientY values always zero. I want ...

+ Reply to Thread
Results 1 to 5 of 5

Thread: popupshowing event not returning mouse coordinates

  1. popupshowing event not returning mouse coordinates

    Hi All,

    I am creating custom tooltip for my extension. For the purpose I have
    attached a popup with element.

    and listening to onpopupshowing event

    but in firefox 3 i am getting event.clientX & event.clientY values
    always zero. I want to show the popup based on mouse coordinates

    any help in this regard will be highly appriciated

    thanks
    Vivek

  2. Re: popupshowing event not returning mouse coordinates

    Vivek wrote:

    >I am creating custom tooltip for my extension. For the purpose I have attached a popup with element and listening to onpopupshowing event but in firefox 3 i am getting event.clientX & event.clientY values always zero.
    >

    Strange - according to bug 387659 this has been fixed for some time.

    --
    Warning: May contain traces of nuts.

  3. Re: popupshowing event not returning mouse coordinates

    Vivek wrote:
    > Hi All,
    >
    > I am creating custom tooltip for my extension. For the purpose I have
    > attached a popup with element.
    >
    > and listening to onpopupshowing event
    >
    > but in firefox 3 i am getting event.clientX & event.clientY values
    > always zero. I want to show the popup based on mouse coordinates
    >


    This is bug 413268

  4. Re: popupshowing event not returning mouse coordinates

    Vivek wrote:
    > Hi All,
    >
    > I am creating custom tooltip for my extension. For the purpose I have
    > attached a popup with element.
    >
    > and listening to onpopupshowing event
    >
    > but in firefox 3 i am getting event.clientX & event.clientY values
    > always zero. I want to show the popup based on mouse coordinates
    >
    > any help in this regard will be highly appriciated
    >
    > thanks
    > Vivek


    May I offer: https://bugzilla.mozilla.org/show_bug.cgi?id=306202

    Nils

  5. Re: popupshowing event not returning mouse coordinates

    On Feb 13, 9:36 pm, Nils Maier wrote:
    > Vivek wrote:
    > > Hi All,

    >
    > > I am creating custom tooltip for my extension. For the purpose I have
    > > attached a popup with element.

    >
    > > and listening to onpopupshowing event

    >
    > > but in firefox 3 i am getting event.clientX & event.clientY values
    > > always zero. I want to show the popup based on mouse coordinates

    >
    > > any help in this regard will be highly appriciated

    >
    > > thanks
    > > Vivek

    >
    > May I offer:https://bugzilla.mozilla.org/show_bug.cgi?id=306202;)
    >
    > Nils


    Thanks guys... I would rather wait until the bug gets fixed than
    caching coordinates from mousemove.

+ Reply to Thread