Jump to content

Usin OnScroll Method


rohit_purohit

Recommended Posts

Hi EveryBody,

 

I Am Using A <div> Tag On Window. In This Div Tag I Have Provided an image as it's background image.

on click event of this div element .i am using a javascript function to get it's clientX and clientY Points. Everything works fine. but if i scroll the window when i click on the point the points i get will not come ok

after the scroll the points i get will does not vary more than window size can any one tell me how to do this

 

Link to comment
https://forums.phpfreaks.com/topic/68002-usin-onscroll-method/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.