×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Jul 2010
    Posts
    23

    Qt version of document.getElementById('ID').scrollIntoView(true)

    How to do the Javascript's document.getElementById('ID').scrollIntoView(true) in Qt TextArea element?

  2. #2
    Super Contributor
    Join Date
    Mar 2009
    Posts
    1,024

    Re: Qt version of document.getElementById('ID').scrollIntoView(true)

    You should use something like:

    myFlickableElement.contentY = ID.y

  3. #3
    Registered User
    Join Date
    Jul 2010
    Posts
    23

    Re: Qt version of document.getElementById('ID').scrollIntoView(true)

    the TextArea content has
    ....
    <p id='30'>30 here is the long text ....</p>
    .....

    or visually

    ....
    30 here is the long text ....
    ....

    how will be position into view by myFlickableElement.contentY = ID.y?
    Last edited by kitgarong; 2012-02-03 at 15:12.

Similar Threads

  1. document.getElementById().innerHTML Doesn't work on device
    By artinteg in forum Nokia Asha Web Apps
    Replies: 8
    Last Post: 2011-05-27, 15:16
  2. Is this true
    By mateen_maldar in forum News and Announcements
    Replies: 2
    Last Post: 2009-07-06, 12:34
  3. getElementbyID
    By cs_lcwac in forum Browsing and Mark-ups
    Replies: 0
    Last Post: 2006-04-03, 03:08
  4. Is it true?
    By ntsing in forum Symbian Tools & SDKs
    Replies: 0
    Last Post: 2002-09-27, 09:39
  5. Is it true?
    By kmkri in forum Bluetooth Technology
    Replies: 1
    Last Post: 2002-09-27, 07:10

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×