Link to home
Start Free TrialLog in
Avatar of Refael
RefaelFlag for United States of America

asked on

Getting values from inline javascript

Hello Experts,

I am using the smoothZoom plugin. Below is an example of one list item.
I wounder if this is possible to get the values using jQuery e.g. the x value and the y value.
I need to get these values and use it in another script. Is it possible ? I know how to get values through classes and attributes but not like this. Thanks!

<li onmouseover="$('#plan').smoothZoom('focusTo', {x:876, y:1056, zoom:100, speed:10})">Point 1</li>

Open in new window

Avatar of hielo
hielo
Flag of Wallis and Futuna image

Exactly where is the plugin documented?  The one at https://github.com/kthornbloom/Smoothzoom has no 'focusTo' option.
Avatar of Refael

ASKER

Hielo Hi. My script is not a slideshow plugin!
and my question was only how to access these values written in the page as shown in my script.
ASKER CERTIFIED SOLUTION
Avatar of Julian Hansen
Julian Hansen
Flag of South Africa image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Refael

ASKER

Julian Hansen perfect!  Exactly what i was looking for :-)) Thank you!
You are welcome.