zenfreak Client Регистрация 21.08.2013 Сообщения 249 Благодарностей 12 Баллы 18 12.04.2017 #1 How can I get the coordinates of a html element(button) after scrolling? I get left: 150 top: 150 but after scrolling down top is -500. How can I fix that?
How can I get the coordinates of a html element(button) after scrolling? I get left: 150 top: 150 but after scrolling down top is -500. How can I fix that?
VladZen Administrator Команда форума Регистрация 05.11.2014 Сообщения 22 453 Благодарностей 5 913 Баллы 113 12.04.2017 #2 Try getting leftinbrowser and topinbrowser attribute values. They should not depend on scroll. Реакции: zenfreak
zenfreak Client Регистрация 21.08.2013 Сообщения 249 Благодарностей 12 Баллы 18 13.04.2017 #3 Tried leftinbrowser and topinbrowser and it was exactly what I was looking for. Thank you!