facebook

To to make text scorll in an HTML box?

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

    trushar100
    Member

    Hi,

    I have been trying to put in an HTML box with LOTS of text in it.

    The reason why I am using HTML instead of text is because I want to have mathematical symbols in the text.

    Thing is, when I put my code in the box, and I test the screen, the code:
    a) does not format (line breaks/fonts/etc…) as I have coded it to
    b) the text does not scroll.

    How do I make the text scroll in in HTML box? And how do I have the box so that it shows the code as I want it…?

    Thanks,

    T.

    #332491 Reply

    hansjr90
    Member

    I’ve been wondering the same thing. I’ve tried like almost every command in the HTML-box to get it to scroll, without luck.

    I need an HTML box, because I want my data loaded from a webURL, and can’t seem to find another way to do this.

    Regards

    #332503 Reply

    trushar100
    Member

    And similarly, hoe do I make text in a text box scroll?

    #332505 Reply

    trushar100
    Member

    Ok, I figured out that I have to have the text box/html bos in a panel to scroll… but, the text in the HTML box is not wrapping (continuing on a new line) – it just carries on on a single line and continues off the screen.

    How can I change this so that all the word in the paragraph are displayed on screen.

    Thanks!

    #332510 Reply

    support-michael
    Keymaster

    Hi,

    The HTML widget inherits the app’s styling which is to explicitly control the layout of most text including wrapping. You can enable text wrapping in your html widget by adding the following style white-space: normal to a parent div or similar control. See my example below. See attachment html-widget-wrap-text.png

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

    trushar100
    Member

    The worked – somewhat.

    I have 4 long text paragraphs that are in the html box. Using the tag you suggest does wrap the text, but only half of the first paragraph. How do I get the html ox to show all the text?

    For information, my scroll bar seems to scroll down way past the text that is visible…

    This is what is in the HTML box (All text after ‘highly recommended’ in the first paragraph has disappeared – the red is visible text):

    <div style=”white-space: normal”><font face=”helvetica”>
    The app you are now using contains solutions to the first SAT in the Official Guide. Note that in many cases several different solutions are provided for the same question. The reason for this is simple. If you really want to show a drastic improvement in your score it is highly recommended that you try to solve SAT questions in more than one way. After all, you will never see a given specific question on an SAT again. The important thing is to learn as many strategies as possible for attacking different types of problems.
    <br><br>

    In this app, when an SAT specific strategy is used it will be mentioned right after that particular solution and the strategy number will be given that corresponds to the strategy in my book <i>”The 32 Most Effective SAT Math Strategies.”</i> Also in this app the quickest solution is always marked with an asterisk (*).
    <br><br>

    Although I always suggest solving problems the way you would do it in school when practicing, I highly recommend that you avoid these methods on the actual SAT as much as possible. In this app I will generally include these more rigorous solutions last. It’s good to solve problems rigorously to get a deeper understanding of the underlying mathematics and to increase your level of mathematical maturity, but when it comes exam time, more clever solutions will save time and keep you from making “careless” errors.
    <br><br>

    You can use <i>”The Official SAT Study Guide”</i> together with this solution app as your only study source with excellent results as long as you use it correctly. We cannot legally reprint the full questions and answer choices, so you should turn to the question in the blue book to see the question itself as you review my explanations.
    <br><br>

    To use this app, from the contents page simply choose the section of the test, and then choose the question you want the solution to.
    <br><br>

    All the best,
    <br><br>

    Dr. Steve.
    </font></div>

    #332549 Reply

    Hi Trushar please take a look at next example where I added your custom HTML code.

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

    LarryFoor
    Member

    Hello
    I used the code you submitted for scrolling in the html widget. It works but I am getting double space lines. I used the <br> but still get double spacing. Any suggestions.
    Thanks
    Cider

    #333466 Reply

    support-michael
    Keymaster

    @ciderpress

    Can you publish your project or example as a mobile webapp (see Design Center – Project menu) and share the url here for us to give a closer look?

    #333610 Reply

    LarryFoor
    Member

    @support-wayne wrote:

    @ciderpress

    Can you publish your project or example as a mobile webapp (see Design Center – Project menu) and share the url here for us to give a closer look?

    Hello
    Look at the trusher-extendedpanel example listed above. Same thing there every sentence double spaced. I insisted the <br> tags but double spaced sentences are still there. How can I get single spaced sentences?
    Thanks
    Cider

Viewing 10 posts - 1 through 10 (of 10 total)
Reply To: To to make text scorll in an HTML box?

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