Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7552223
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T10:42:24+00:00 2026-05-30T10:42:24+00:00

Recently I’ve went through half a dozen jQuery plugins which do typewriter effects on

  • 0

Recently I’ve went through half a dozen jQuery plugins which do “typewriter” effects on text but none of them seem to support line breaks. If you’re not sure what this is, I mean something like this:

http://haydndemos.awardspace.co.uk/typewriter1.html

Basically I have text in a paragraph element and there’s line breaks. However whenever I get one of the typewriter plugins working on my paragraph element, the typewriter plugin doesn’t type out line breaks and so everything is in one big line which wraps to the next line. For example, suppose this was the text I wanted the typewriter to type out:

test1
test2
test3

It ends up typing out:

test1 test2 test3

Also, some other typewriter plugins were unreliable as they only did typewriter text on li/ul elements, not paragraph elements.

The closest I got was this, which does support line breaks, but it isn’t free:

http://codecanyon.net/item/fancy-typewriter-jquery-plugin/full_screen_preview/158664

(I know for a fact this supports line breaks because I saved the webpage and modified the paragraph, however the Fancy Typewriter script only works locally and not when on a server, so it’s probably copyright protected… plus I don’t want to violate any copyrights.)

Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T10:42:25+00:00Added an answer on May 30, 2026 at 10:42 am

    I bet most of these will be adding the white-space correctly but it’s not treated as <br> tags.

    Which can be solved in two ways:

    1. If you can easily access the text, and do something like myText.replace('\n', '<br />');
    2. Or using CSS to make line breaks show as expected breaks without requiring <br>.
      which is something like (in CSS) #my-result { white-space: pre; }` for example.

    Actually, writing your own typewriter is easy and doesn’t require plugins, I have written a small proof of concept for you here: http://jsfiddle.net/Meligy/jDQnB/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Recently,I am handling a solution for WebPart internationalization,but I am not familiar with the
Recently, I'm trying to solve all the exercises in CLRS. but there are some
Recently I saw a nice extension of Typo3. It is called metatags but I
Recently I've spotted a very disturbing issue. I've got the following python code: for
Recently I was trying some practice programs in python and I came across this
Recently I've been working on some embedded devices, where we have some structs and
Recently I just got assigned a project to develop a web application/site that uses
Recently, sometimes (rarely) when we export data from our application, the export log contains
Recently I had a problem in a costumer's computer. Our installer would hang during
Recently, I was challenged in a recent interview with a string manipulation problem and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.