Holly asked for this on some other content of mine. Here is a basic and simple way only using RunJS code inside Lectora. Easiest way i can think of to get the actual position of an element.
Copy and paste this URL into your WordPress site to embed
Copy and paste this code into your site to embed