> All, Sorry for the repeat post. I've searched all day for a > solution and can't find anything. > I want to capture the coordinates from this sample and pass > them for use in a cf scope. > > I'm stumped! > > http://dunnbypaul.net/js_mouse/ > > If I could only get the x and y coordinates in a form in the > action param and pass them URL scope then use ... > > cfset RIGHT = #ListFirst(CGI.QUERY_STRING)# cfset DOWN = > #ListLast(CGI.QUERY_STRING)#
Presumably, they're clicking on something, right? Otherwise, you'd only be able to capture the mouse coordinates at the moment they click on your submit button (or whatever). If you want the user to click on an image, and you want to capture the coordinates of where they clicked on the image, you can just use INPUT TYPE="IMAGE" as your "submit button" - it will automatically return coordinates within the form data. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Get the answers you are looking for on the ColdFusion Labs Forum direct from active programmers and developers. http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72&catid=648 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:290412 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

