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

  • Автор темы Автор темы Phantom
  • Дата начала Дата начала

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?
 
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
 

Вложения

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!!
 

Вложения

  • Display.png
    Display.png
    57,4 KB · Просмотры: 764
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

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