Welcome to TalkGraphics.com
Results 1 to 8 of 8
  1. #1
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    17,826

    Info Scrolling Text Box Option

    This appears as a regular request.
    Here is an approach I have developed from a jQuery plug-in: http://acorn.xara.hosting/slimScroll/.
    It renders correctly on all modern browsers and scalings.
    Let me know if it doesn't for you.

    I hope it finds a use.

    Acorn
    Acorn - installed Xara software: Cloud+/Pro+ and most others back through time (to CC's Artworks). Contact for technical remediation/consultancy for your web designs.
    When we provide assistance, your responses are valuable as they benefit the community. TG Nuggets you might like. Report faults: Xara Cloud+/Pro+/Magix Legacy; Xara KB & Chat

  2. #2
    Join Date
    Aug 2000
    Location
    Placitas, New Mexico, USA
    Posts
    41,504

    Default Re: Scrolling Text Box Option

    Brilliant Acorn! Is there a way to indent the text?

  3. #3
    Join Date
    Aug 2000
    Location
    Harwich, Essex, England
    Posts
    21,917

    Default Re: Scrolling Text Box Option

    Yes it is Gary and you can indent the text by applying a left and/or right margin in the text block on FullText layer. This stops the scroll bar overlaying the text. You can also display the scroll bar on the left with
    position: 'left',
    Thanks Acorn.
    Egg

    Intel i7 - 4790K Quad Core + 16 GB Ram + NVIDIA Geforce GTX 1660 Graphics Card + MSI Optix Mag321 Curv monitor
    + Samsung 970 EVO Plus 500GB SSD + 232 GB SSD + 250 GB SSD portable drive + ISP = BT + Web Hosting = TSO Host

  4. #4
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    17,826

    Default Re: Scrolling Text Box Option

    Quote Originally Posted by gwpriester View Post
    Brilliant Acorn! Is there a way to indent the text?
    Gary, the easier way is to add padding to the "bean" DIV tag: <div id="bean" style="padding: 5px 25px 15px 10px"></div>.
    I've done this in the example and it is in its HTML code (body).

    Acorn
    Acorn - installed Xara software: Cloud+/Pro+ and most others back through time (to CC's Artworks). Contact for technical remediation/consultancy for your web designs.
    When we provide assistance, your responses are valuable as they benefit the community. TG Nuggets you might like. Report faults: Xara Cloud+/Pro+/Magix Legacy; Xara KB & Chat

  5. #5
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    17,826

    Default Re: Scrolling Text Box Option

    Quote Originally Posted by Egg Bramhill View Post
    Yes it is Gary and you can indent the text by applying a left and/or right margin in the text block on FullText layer. This stops the scroll bar overlaying the text. You can also display the scroll bar on the left with
    Thanks Acorn.
    Welcome egg. There are lots of options to experiment with: http://rocha.la/jQuery-slimScroll.

    Acorn
    Acorn - installed Xara software: Cloud+/Pro+ and most others back through time (to CC's Artworks). Contact for technical remediation/consultancy for your web designs.
    When we provide assistance, your responses are valuable as they benefit the community. TG Nuggets you might like. Report faults: Xara Cloud+/Pro+/Magix Legacy; Xara KB & Chat

  6. #6
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    17,826

    Default Re: Scrolling Text Box Option

    I've just found that MS are using this approach in W10, so it must be right and dandy!?!
    Acorn
    Acorn - installed Xara software: Cloud+/Pro+ and most others back through time (to CC's Artworks). Contact for technical remediation/consultancy for your web designs.
    When we provide assistance, your responses are valuable as they benefit the community. TG Nuggets you might like. Report faults: Xara Cloud+/Pro+/Magix Legacy; Xara KB & Chat

  7. #7
    Join Date
    Sep 2012
    Posts
    16

    Default Re: Scrolling Text Box Option

    Hello. This is very useful. thank you to all. Is there a way to:
    -enable the scrollbar as visible at all times?
    -ensure that the text does not overlap the scrollbar and is visible at all times (if the above is possible)?
    Thanks in advance!

  8. #8
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    17,826

    Default Re: Scrolling Text Box Option

    Quote Originally Posted by 11web7 View Post
    Hello. This is very useful. thank you to all. Is there a way to:
    -enable the scrollbar as visible at all times?
    -ensure that the text does not overlap the scrollbar and is visible at all times (if the above is possible)?
    Thanks in advance!
    I advised such already. You need to access http://rocha.la/jQuery-slimScroll.
    Acorn
    Acorn - installed Xara software: Cloud+/Pro+ and most others back through time (to CC's Artworks). Contact for technical remediation/consultancy for your web designs.
    When we provide assistance, your responses are valuable as they benefit the community. TG Nuggets you might like. Report faults: Xara Cloud+/Pro+/Magix Legacy; Xara KB & Chat

 

 

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
  •