1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2003
    Rep Power

    Need to track position from where click initiated


    I am using PHP for programming .. Just mentioning for info though it is not linked to this requirement

    What i want is that there ae two instances of same URL / link on one screen. Both the (same) links are pure HTML links (that is no question mark and parameter passing etc..) . I need to track the position out of these from where any users clicks to go to related link...

    Any way out ???

    Vikas Aggarwal
  2. #2
  3. Moderator Emeritus
    Devshed Supreme Being (6500+ posts)

    Join Date
    Feb 2002
    Austin, TX
    Rep Power
    only a few options exist

    1. use distinct variable values in each url to determine which was clicked (trivial)
    2. use an image map, so you can calculate the x/y coordinates of the click (trivial)
    3. use a java applet to determine where on the screen the user clicked (advanced)
    DrGroove, Devshed Moderator | New to Devshed? Read the User Guide | Connect with me on LinkedIn
    The Most Important Article You Can Read as a Developer

IMN logo majestic logo threadwatch logo seochat tools logo