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

  • Home
  • SEARCH
  • 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 6026885
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T04:30:37+00:00 2026-05-23T04:30:37+00:00

I want to make a nice, modern-looking transitions between pages. I’ve found this tutorial:

  • 0

I want to make a nice, modern-looking transitions between pages. I’ve found this tutorial: http://www.onextrapixel.com/2010/02/23/how-to-use-jquery-to-make-slick-page-transitions/

The author uses JQuery to make it work, but I want to do it in pure HTML5. Is there a feature in HTML5 to do it, say, in CSS?

UPDATE

In the end of 2014, I’d like to add the following comment. Before doing it think twice, wouldn’t it be better to make a single-page AJAX web-app with CSS3 transitions between DIVs. The question describes a very special situation which is extremely rare. In the rest 99% cases a single page app is the best solution.

  • 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-23T04:30:38+00:00Added an answer on May 23, 2026 at 4:30 am

    index.htm:

    <html>
    <head>
    
    <style>
    body,html,iframe { width: 100%; height: 100%; margin: 0; border: 0; }
    
    #mainframe.normal
    {
        opacity: 1.0;
    }
    #mainframe.faded
    {
        opacity: 0.0;
    }
    #mainframe
    {
            /* Firefox */
            -moz-transition-property: opacity;
            -moz-transition-duration: 3s;
            /* WebKit */
            -webkit-transition-property: opacity;
            -webkit-transition-duration: 3s;
            /* Standard */
            transition-property: opacity;
            transition-duration: 3s;
    }
    
    </style>
    
    <script language="javascript">
    function change()
    {
        document.getElementById('mainframe').className="faded";
        setTimeout(function()
        {
            document.getElementById('mainframe').src='page2.htm';
            document.getElementById('mainframe').className="normal";
        }, (2 * 1000));
    }
    </script>
    </head>
    
    <body style="background-color:black;">
    <iframe id="mainframe" class="normal" src="page1.htm"></iframe>
    </body>
    
    </html>
    

    page1.htm

    <html>
    <head>
    </head>
    <body style="background-color: pink;">
    Hi, I'm page1
    
    <button onclick="parent.change();">
    click me
    </button>
    
    </body>
    </html>
    

    page2.htm

    <html>
    <head>
    </head>
    <body style="background-color: pink;">
    Hi, I'm page2
    </body>
    </html>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to make a DataGridViewProgressBar that uses the native progress bar rendering. I
I want to make a WindowBaseClass that derives from Window but has a few
I want to make in Haskell a mutable array based heap (the basic kind
In my C# winforms program I want to make an export function that will
Since a few hours, I want to make a decent tooltip in JQuery. It's
I'm a do it yourself kind of guy, but I want to make sure
In C#, as mentioned in the Documentation , and this nice post 's accepted
Didn't even know how to exactly phrase this question, but here is the the
I'm using JQuery Mobile UI and the widgit kit is nice. However I'm also
Is there a quick and easy way to duplicate a table in SQL-Server? I

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.