how does one blank an entire window?

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

    how does one blank an entire window?

    The graphic designer I'm working with wants me to get an assortment of
    DIVs to be generated and colored randomly. Got that (thanks to all,
    especially Michael Winters). Now he wants it to flash fast, so I'm
    calling it in setTimeout every 200 miliseconds.

    One more question, how do you blank everything in a window? I tried
    this:

    document.value = '';

    No go. How do I blank everything? I want to wipe out everything in
    between the 200 milisecond cycles.
  • rf

    #2
    Re: how does one blank an entire window?

    lawrence wrote:
    [color=blue]
    > Now he wants it to flash fast, so I'm
    > calling it in setTimeout every 200 miliseconds.[/color]

    What is he doing? Trying to cause every epileptic out there to have
    immediate seizures?

    --
    Cheers
    Richard.


    Comment

    • Hywel Jenkins

      #3
      Re: how does one blank an entire window?

      In article <da7e68e8.04112 02214.5bfa1e59@ posting.google. com>,
      lkrubner@geocit ies.com says...[color=blue]
      > The graphic designer I'm working with wants me to get an assortment of
      > DIVs to be generated and colored randomly. Got that (thanks to all,
      > especially Michael Winters). Now he wants it to flash fast, so I'm
      > calling it in setTimeout every 200 miliseconds.
      >
      > One more question, how do you blank everything in a window? I tried
      > this:
      >
      > document.value = '';
      >
      > No go.[/color]

      Why would it?

      [color=blue]
      > How do I blank everything? I want to wipe out everything in
      > between the 200 milisecond cycles.[/color]

      Put it all in a div and hide it.

      Can't wait to see the finished article. It's gonna be awesome, dude.

      --
      Hywel

      Comment

      • Zifud

        #4
        Re: how does one blank an entire window?

        rf wrote:[color=blue]
        > lawrence wrote:
        >
        >[color=green]
        >>Now he wants it to flash fast, so I'm
        >>calling it in setTimeout every 200 miliseconds.[/color]
        >
        >
        > What is he doing? Trying to cause every epileptic out there to have
        > immediate seizures?
        >[/color]

        This should be interesting, if somewhat irresponsible.. .

        document.getEle mentsByTagName( 'body')[0].innerHTML = '';

        Zif.

        Comment

        • rf

          #5
          Re: how does one blank an entire window?

          Zifud wrote:[color=blue]
          > rf wrote:[color=green]
          > > lawrence wrote:
          > >[color=darkred]
          > >>Now he wants it to flash fast, so I'm
          > >>calling it in setTimeout every 200 miliseconds.[/color]
          > >
          > >
          > > What is he doing? Trying to cause every epileptic out there to have
          > > immediate seizures?
          > >[/color]
          >
          > This should be interesting, if somewhat irresponsible.. .
          >
          > document.getEle mentsByTagName( 'body')[0].innerHTML = '';[/color]

          document.locati on="about:blank ";

          Gets rid of the nasty flashing in the future too :-)

          --
          Cheers
          Richard.


          Comment

          • lawrence

            #6
            Re: how does one blank an entire window?

            "rf" <rf@.invalid> wrote in message news:<jN9od.442 89$K7.39008@new s-server.bigpond. net.au>...[color=blue]
            > Zifud wrote:[color=green]
            > > rf wrote:[color=darkred]
            > > > lawrence wrote:
            > > >
            > > >>Now he wants it to flash fast, so I'm
            > > >>calling it in setTimeout every 200 miliseconds.
            > > >
            > > >
            > > > What is he doing? Trying to cause every epileptic out there to have
            > > > immediate seizures?
            > > >[/color]
            > >[/color]
            >
            > document.locati on="about:blank ";
            >
            > Gets rid of the nasty flashing in the future too :-)[/color]

            Brilliant. Very clean.

            As to the flashing, people do much wilder stuff with Flash, why not
            recreate a few of those visual tricks using Javascript?

            Comment

            • rf

              #7
              Re: how does one blank an entire window?

              lawrence wrote:[color=blue]
              > "rf" <rf@.invalid> wrote in message[/color]
              news:<jN9od.442 89$K7.39008@new s-server.bigpond. net.au>...
              [color=blue][color=green]
              > > document.locati on="about:blank ";[/color][/color]
              [color=blue]
              > Brilliant. Very clean.[/color]

              Thank you sir.
              [color=blue]
              > As to the flashing, people do much wilder stuff with Flash[/color]

              Which is why I do not have flash installed. I use the web for content, not
              entertainment. Entertainment comes on my TV :-)
              (I may be atypical though).
              [color=blue]
              > why not
              > recreate a few of those visual tricks using Javascript?[/color]

              Go for it.

              Expect me to immediately click the back button :-)

              --
              Cheers
              Richard.


              Comment

              Working...