1. #1
    Sencha User
    Join Date
    Aug 2008
    Posts
    101
    Vote Rating
    6
    FoxMulder900 is on a distinguished road

      0  

    Default Jump to anchor in panel with html [SOLVED]

    Jump to anchor in panel with html [SOLVED]


    I set up a tree panel as a table of contents for quite a bit of html data that I have. I also have a panel filled with the html data and inside the html I have an anchor for each node in the tree. I want to be able to click a node in the tree and have the html panel jump to the appropriate anchor. Any ideas on how to do something like this? Alternatively if I could figure out how to set the y scroll position of the panel I could get the position of the anchor and scroll to it manually.

    Any input would be much appreciated!

  2. #2
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,499
    Vote Rating
    47
    Animal has a spectacular aura about Animal has a spectacular aura about

      0  

    Default


    Use Element.scrollIntoView?

  3. #3
    Sencha User
    Join Date
    Aug 2008
    Posts
    101
    Vote Rating
    6
    FoxMulder900 is on a distinguished road

      0  

    Default


    Great! Thanks a lot! all I had to do was:

    Ext.get('anchor_id').scrollIntoView(TextPanel.body);

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