1. #1
    Ext User
    Join Date
    Nov 2008
    Posts
    41
    Vote Rating
    0
    edfimasa is on a distinguished road

      0  

    Default How to get Textarea Absolute left and top CURSOR position

    How to get Textarea Absolute left and top CURSOR position


    Hi.

    I'm trying to make a way to show up a panel at the position of the textarea cursor, for some sort of auto complete app on a textarea.

    Do you have any idea how to get absolute left, and top of the cursor?

    Anyone done this?

    Cheers.

  2. #2
    Ext User
    Join Date
    Apr 2009
    Posts
    2
    Vote Rating
    0
    kamidan is on a distinguished road

      0  

    Lightbulb


    Maybe you could specify a font-size, line-height and use a fixed-size font (like courrier). This way, you would be able to calculate or at least approximate the position.

    For finding the position of the cursor I just found this thread:
    http://www.teria.com/~koseki/memo/xb...n/example.html

    - kamidan

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi