Add time function to show intro javascript

Posted on 2008-11-12
Last Modified: 2012-05-05
Want to add a time duration function to the below script. On 5 seconds display then hide iframe.

function showintro() {





<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title>Untitled Document</title>


<body onload="javascript:showintro()">

<iframe id="if1" src="" style="display:none;" scrolling="no" border="0" frameborder="0" height="250" width="500" marginwidth="0" marginheight="0">


Open in new window

Question by:jmanstorm
    LVL 75

    Accepted Solution

    add after


    Author Comment

    How could I choose to display a div or new iframe in same location at the end of five seconds.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    In this tutorial I will show you how to make a simple HTML bar chart with the usage of WhizBase, If you want more information about WhizBase please read my previous articles at (http://www.experts-ex…
    This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
    Learn the basics of modules and packages in Python. Every Python file is a module, ending in the suffix: .py: Modules are a collection of functions and variables.: Packages are a collection of modules.: Module functions and variables are accessed us…
    The viewer will learn how to count occurrences of each item in an array.

    761 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    10 Experts available now in Live!

    Get 1:1 Help Now