click to character position

Discussion in 'Javascript' started by Adrian, Oct 29, 2007.

  1. Adrian

    Adrian Guest

    Hi there,

    Anyone know if it's possible to convert the co-ordinates of a click on
    a div into a character position within the div's content?

    This is for Safari (iPhone to be exact).

    Cheers,
    Adrian
     
    Adrian, Oct 29, 2007
    #1
    1. Advertising

  2. Adrian wrote:
    > Anyone know if it's possible to convert the co-ordinates of a click on
    > a div into a character position within the div's content?


    That is unlikely (double meaning), especially on

    > [...] Safari (iPhone to be exact).


    but I don't see why it would be necessary at all.


    PointedEars
    --
    realism: HTML 4.01 Strict
    evangelism: XHTML 1.0 Strict
    madness: XHTML 1.1 as application/xhtml+xml
    -- Bjoern Hoehrmann
     
    Thomas 'PointedEars' Lahn, Oct 29, 2007
    #2
    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. Luqman
    Replies:
    1
    Views:
    662
    Luqman
    Feb 7, 2006
  2. James Wong
    Replies:
    4
    Views:
    514
    James Wong
    Jul 14, 2004
  3. Replies:
    3
    Views:
    187
  4. James Black
    Replies:
    0
    Views:
    407
    James Black
    May 28, 2006
  5. brendan
    Replies:
    0
    Views:
    204
    brendan
    Aug 29, 2006
Loading...

Share This Page