visualize mouse clicks

Discussion in 'Javascript' started by diemon, Dec 5, 2006.

  1. diemon

    diemon Guest

    Hi,

    I'm trying to build application that would visualize clicks from
    visited web page. There is a problem with centered pages - an example
    is on http://diemon.sm.pl. In the example there is a certain left
    margin value from browser border to page content (except background).
    The margin value depends on: browser, resolution, browser window
    size... I need to calculate the click [x,y] coordinates starting from
    page content. offsetLeft and window.parent tricks won't work because
    the BODY margin is [0,0]. Next I need to put the page content in an
    iframe with all margins omitted and show the clicks (heatmap).

    Any help would be appreciated.
    diemon, Dec 5, 2006
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Pedro Sebastiao

    Simulating mouse clicks

    Pedro Sebastiao, May 24, 2004, in forum: C++
    Replies:
    2
    Views:
    1,736
    Prateek R Karandikar
    May 26, 2004
  2. John Fouhy
    Replies:
    2
    Views:
    595
    John Fouhy
    Jun 25, 2004
  3. Replies:
    17
    Views:
    1,333
  4. Replies:
    1
    Views:
    408
    Steve Holden
    Sep 5, 2005
  5. PontiMax

    Clicks and double-clicks

    PontiMax, Jul 14, 2004, in forum: ASP .Net Datagrid Control
    Replies:
    2
    Views:
    177
    Eliyahu Goldin
    Jul 14, 2004
Loading...

Share This Page