cancel
Showing results for 
Search instead for 
Did you mean: 

Positioning of toolpopup

Former Member
0 Kudos

Hi,

I have an html5 code which draws a few rectangle shapes using kinetic js. I want to add the tool popup of SAP ui5 on mouseover of the shape. Using the opener property of the toolpopup is not helping me out. It is always opening it in the center of the window. Is there any method by which i can pass on the exact co-ordinates of the page to the toolpopup positioning??? Its really urgent. Please help.

Regards,

Shubham Agrawal

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Yes Shubham you can position the tool popup relative to the document or parent container via offset method of jQuery

toolPopup.$().offset({top : "100px", left : "200px"}) or $("#someId").offset({top : "100px", left : "200px"});

Answers (0)