how do i pause then clear screen?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • JeeperDude

    #1

    how do i pause then clear screen?

    I'm trying to display some text, wait a few seconds, clear the screen, display
    normal html.


    Thanks for the answer in advance.

    Kenny in Fredericksburg, Va.
    Ken4PSHIS@aol.c om
  • Erwin Moller

    #2
    Re: how do i pause then clear screen?

    JeeperDude wrote:
    [color=blue]
    > I'm trying to display some text, wait a few seconds, clear the screen,
    > display normal html.
    >
    >
    > Thanks for the answer in advance.
    >
    > Kenny in Fredericksburg, Va.
    > Ken4PSHIS@aol.c om[/color]

    Try something like this:

    <html>
    <head>
    <script type="text/javascript">
    writesometext() ;
    setTimeout("wri tesomehtml()",3 000);

    function writesometext() {
    document.open() ;
    document.write( "Hello! I will disappear in 3000 millisecs");
    document.close( );
    }

    function writesomehtml() {
    document.open() ;
    document.write( "<html>");
    document.write( "<body>");
    document.write( "<h1>hello</h1>");
    document.write( "</body>");
    document.write( "</html>");
    document.close( );

    }
    </script>
    </head>
    </html>

    Comment

    Working...