[SOLVED] Get coordinates from an element is different to it's position in the browser

Phantom

Новичок
Регистрация
18.03.2016
Сообщения
16
Благодарностей
2
Баллы
3
Hi!

I am trying to get the coordinates of an element, and then emulate a click on it.

But the click doesn't match to the element's position, it is misplaced for -26px from the real one.

Some have the same problem?
Did you get whats the problem, and how to fix it?
 

lokiys

Moderator
Регистрация
01.02.2012
Сообщения
4 812
Благодарностей
1 187
Баллы
113

Phantom

Новичок
Регистрация
18.03.2016
Сообщения
16
Благодарностей
2
Баллы
3
Hi Lokiys, thanks for the quick answer.

I attached a simple project that obtain the X Y cordinates of an element, and emulate a click. It would be placed at the top left corner of the element, but instead it is far away from it...

It could be happening just to me?
I am using:
Windows 7 x64
ZennoPoster v5.9.8.1 estandar version
 

Вложения

Phantom

Новичок
Регистрация
18.03.2016
Сообщения
16
Благодарностей
2
Баллы
3
There is the problem...

I was using this adjustment for read better... it changes all the render of html in the program... Thank you very much for your quick answer Lokiys!!
 

Вложения

lokiys

Moderator
Регистрация
01.02.2012
Сообщения
4 812
Благодарностей
1 187
Баллы
113

Phantom

Новичок
Регистрация
18.03.2016
Сообщения
16
Благодарностей
2
Баллы
3
There is something more... a bad setting on my display, i post a message just before you... but thank you very much for the support, im going to check the file... you can mark this thead as solved.
 
  • Спасибо
Реакции: rostonix

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)