[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Erase Frame
Some people have complained about this in 2.01. I can't duplicate it
myself, using Win95. The code you have works for me, so I don't know what's
going on.
Could you do me a favor. Check my blackjack game at
http://gmccomb.com/blackjack/blackjack.html and let know if the card images
to erase over and start again. The game does do a few more things to ensure
a "clean screen," but with the changes in 2.01, maybe it's not working any
more for some of these platforms.
-- Gordon
http://gmccomb.com/javascript/
At 04:52 PM 3/21/96 -0800, you wrote:
>Hello All
>
>I am trying to fill the contents of a frame from scratch, but the second
>time my call is made, the data is appended to the current contents. the
>data written is "<HTML><BODY...>...</BODY><HTML>. there are images --
>all with width and height -- and there are links ( the images ). the
>call that writes the data is
>
>function write_doc( the_doc , the_data ) {
> the_doc.open( "text/html" );
> the_doc.write( the_data );
> the_doc.close();
>}
>
>the first time it is called, it writes over the html file that was
>originally in the frame, as planned. the second time, i write very
>similar data ( a tic tac toe board ) and it shows up below the first
>one. i am working on a mac, if this is a known bug for my platform, but
>i have written similar things, using the same write function, and it
>erased the frame before filling it again. how do I erase the frame ???
>
-- Gordon
http://gmccomb.com/javascript/
--------------------------------------------------------------------
For help about the list, please send a message to 'majordomo@obscure.org'
with the message body 'help'. To unsubscribe, send a message to
'majordomo@obscure.org' with the message body 'unsubscribe javascript'.
List archives and pointer to FAQ: http://www.obscure.org/javascript/