Welcome to TalkGraphics.com
Results 1 to 5 of 5
  1. #1
    Join Date
    Sep 2006
    Posts
    6

    Default Scroll bars for text

    I've done a search for "Scroll Bars" and I couldn't find anything useful except for "scrolling text", but I want the text to not automatically start scrolling.

    I want the user to be able to read a text popup, but the text goes beyond the text box I've drawn. How do I add scroll bars so that the user can read the whole text?

  2. #2

    Default Re: Scroll bars for text

    You could try using an <iframe> in a placeholder in the popup with the attribute scrolling=auto

    http://www.w3schools.com/TAGS/tag_iframe.asp
    Last edited by steve.ledger; 01 April 2009 at 01:44 AM.

  3. #3

    Default Re: Scroll bars for text

    Here's an online example

    The .web project file and the exported html attached (in zip)
    Attached Files Attached Files

  4. #4
    Join Date
    Sep 2006
    Posts
    6

    Default Re: Scroll bars for text

    Thanks I got it to work using the placeholder with an iframe tag referencing to another .html file (via URL) on the server that was basically just text.

    Out of curiosity, what other files can iframe recognize and use? I've used a URL pointed to an html file. Can the source be a .txt file?

  5. #5

    Default Re: Scroll bars for text

    Quote Originally Posted by mrdwong View Post
    Can the source be a .txt file?
    Yes, but it will not have any font formating as a plain text file.

 

 

Bookmarks

Posting Permissions

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