facebook

Allow scrolling in HTML widget

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #333951 Reply

    Yann
    Member

    Hello ,
    i try to allow scrolling in html object by
    <div id=”mydiv” style=”overflow:scroll;”></div> in HTML code properties
    but i can’t scroll , (my text is calling from a remote page )
    did you have a solution?
    Thanks
    Yann
    (sorry I was wrong forum, can you move it to getting help please?)

    #333963

    support-michael
    Keymaster

    Remember that the html widget is a convenient way to incorporate you html into the dom. It is not possible to isolate such code to its own container. Therefore, all html widget code lives in the context of the app html and css.

    The style=”overflow:scroll will not work in general. I need to look up how we helped someone else recently. I’m rusty due to holidays and extended hours helping with 2.3. I believe the technique is to nest an html widget inside a scrolling panel. Size the panel for the max size of the html content.
    See attachment scrollingHTMLWidgetExample.png

    Here is short screencast of this rough example

    Attachments:
    You must be logged in to view attached files.
    #333988

    Yann
    Member

    Hello Wayne
    I tried to add a panel but it does not solve my problem
    Scrolling is allowed to html object but not to his content.
    My Html object content came from a remote web page calling by ajax
    Only 3 lines appear on 17, and when i scoll
    Thanks for your help
    Yann

    Attachments:
    You must be logged in to view attached files.
    #333997

    Yann
    Member

    I tried a simple example with HTML Object and i’ve the same result.
    i don’t understand
    can you help me?
    an example in attached file test.mobi
    thanks
    Yann

    Attachments:
    You must be logged in to view attached files.
    #334033

    Yann
    Member

    Hello
    i understood something and found solution.
    Thanks
    Yann

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: Allow scrolling in HTML widget

You must be logged in to post in the forum log in