Capturing X Y Coordinates from Mouse Click (javascript) -
i know supposed ask question, answer (and think i'm doing that, not sure on level of clarity). i've been asked find way capture xy coords mouse clicks , store them in database. wondering if person clicks on same place using desktop, tablet, smartphone, resulting xy same? guess reason i'm asking it's hunch won't same. , if that's case how accurately map locations of mouse clicks @ later date when pulling them database. hope i'm making sense here (not sure myself).
thanks all!
i don't think every device have same xy co ordinates particular point web page. if that's case every web should display equally in devices without responsive ui design itself. saving xy coordinate in db 1 device not ideal case think way save xy co ordinates along screen resolution. same resolution device have same xy coordinate
Comments
Post a Comment