Left and top properties of injected element is not able to set.

Add-in Express™ Support Service
That's what is more important than anything else

Left and top properties of injected element is not able to set.
 
ravinukala




Posts: 103
Joined: 2012-10-05
Hi,

I have developed one plug-in in which I am showing html type of element on mouse over.
I am creating one labelSpan element in DOM by injecting java script and set left and top of the labelSpan that of hovering element.

For some web sites its working fine. e.g

http://safsdev.sourceforge.net/Default.htm


For some web sites its not working. e.g.

http://deals.ebay.com/


Let me know the possible solution for that.

Regards
Posted 14 Jan, 2013 00:02:04 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Hi Ravi,

What exactly doesn't work? Do you get any exceptions?
How can I reproduce it?
Posted 14 Jan, 2013 03:34:59 Top
ravinukala




Posts: 103
Joined: 2012-10-05
Hi,

I wanted to show speech bubble on hovering element. For that I have injected bubble element and setting the left and top property of the bubble element as that of hovering element.

This works as expected on http://safsdev.sourceforge.net/Default.htm

But its not working on http://deals.ebay.com/

bubble element is present there but showing on top left corner not on hovering element.

To reproduce this, you have to inject span element through java script and need to set top and left property of injected element on mouse over event.

Regards
Posted 14 Jan, 2013 05:35:38 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Hi Ravi,

Do you have any sample project that reproduces the issue?
Posted 14 Jan, 2013 06:49:13 Top
ravinukala




Posts: 103
Joined: 2012-10-05
Hi

I have created sample project. How can I upload it?
Posted 15 Jan, 2013 00:16:08 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Hi Ravi,

Thank you. You can send it on the support email (see readme.txt in the product installation folder to learn the support email address).
Posted 15 Jan, 2013 03:37:00 Top