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 7766199
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T15:21:14+00:00 2026-06-01T15:21:14+00:00

I have a headline on a website I’m programming; let’s say the headline says

  • 0

I have a headline on a website I’m programming; let’s say the headline says "LIKE THIS".

I’d like the word THIS to continually change between THIS and THAT — without any fading effects, but at different intervals.

Let’s say I want the word THIS to be there at the beginning and stay there for 2 seconds. I then want it to change into TAHT (sic) but only for 200 milliseconds until changing into THAT and stay there for 3 seconds, until changing back to THIS, then starting the whole process over again.

I’m familiar with several looping/cycling plugins for jquery (Cycle, InnerFade, etc), but they all seem to want to add effects — and none of them seem to be able to provide the possibility of different intervals.

Hope to hear from someone. Thank you very much in advance.

//A.

  • 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-06-01T15:21:15+00:00Added an answer on June 1, 2026 at 3:21 pm

    Something to get you started:

    HTML

    <span id="text">THIS</span>​
    

    JavaScript

    function changeToTaht() {
        // Change text, and call changeToThat, in 200ms
        $('#text').text('TAHT');
        setTimeout(changeToThat, 200);        
    }   
    
    function changeToThat() {
        // Change text, and call changeToThis, in 3000ms
        $('#text').text('THAT');
        setTimeout(changeToThis, 3000);    
    }
    
    function changeToThis() {
        // Change text, and call changeToTaht, in 3000ms
        // This will make the loop run again, and again, and again...
        $('#text').text('THIS');
        setTimeout(changeToTaht, 3000);
    }
    
    $(document).ready(function() {
        // Start the loop by calling changeToTaht, in 1000ms 
        setTimeout(changeToTaht, 1000);
    });
    

    ​jsFiddle: http://jsfiddle.net/Webye/

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

Sidebar

Related Questions

I have page part like this <div id=inbox> <h1>Headline</h1> <p>First paragraph</p> <table> <tbody> <tr>
I have a lot of divs with the class headline, that hold 2 divs,
I have a problem with Chrome. I created a website, the html-code looks like
I have a headline: <h1>THIS IS A HEADLINE</h1> How do I make the phrase
I have a HTML page that includes the code <li><span class=li-time>00:30</span> <span class=li-title>Headline News</span></li>
I have models like this class Blog(models.Model): name = models.CharField(max_length=100) tagline = models.TextField() def
Hi people I have been at this for like 5 days and could not
Let's say I have a List<MyObject> , which stores class MyObject { public String
I saw a lot of web pages recently, that have very smooth headlines, like
* strong text *I have a website that publishes articles every day. I want

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.