Re: 2 HTML tags in one document

dclover wrote :

First email :
>>Incidentally, I would very much like to see javascript: URLs        
>> >>explicitly banned. As far as I can see there's *nothing* they can do 
>> >>that couldn't be better done with an event, and they've been 
>> >>responsible for dozens
>>of browser security bugs. A URL is supposed to be represent the
>>location óf a document, not a command to execute on the current 
>> >>document.

Second email :
>Both multiple html blocks and meta-refresh are non-standard and not
>guaranteed to work. (To be honest, I'm surprised the two <html>s
>works at all!)
>   <html><head>
>     <title>Wait! Or Die!</title>
>   </head><body onload="location.replace('finished.html');">
>     <pre>
>       Wait: ######################## (etc.)
>     </pre>
>     <p>
>       OK, you can <a href="finished.html">continue</a> now.
>     </p>
>   </body></html>

I am confused here.  In the above mentioned case, the URL, finished.html, 
now become an event which is a command in the Javascript instead of just a 
location. So we have "onload"....etc.

Neither Javascript : URLs or the meta-finish seems favourable to u.  
Javascript : URLS should be banned and meta-finish is non-standard. That's a 
bit tough.

AW


which in either
>From: Clover Andrew <aclover@1VALUE.com>
>To: "'www-html@w3.org'" <www-html@w3.org>
>CC: "'Zdenek Kovanda'" <zkovanda@cssoftware.com>
>Subject: Re: 2 HTML tags in one document
>Date: Thu, 18 Jan 2001 13:13:49 +0100
>
>Zdenek Kovanda <zkovanda@cssoftware.com> wrote:
>
> > After database operation we send new simple html document containing
> > mentioned refreshing meta tag. As a result of that action browser
> > contains 1 document with 2 html blocks:
>
>Both multiple html blocks and meta-refresh are non-standard and not
>guaranteed to work. (To be honest, I'm surprised the two <html>s
>works at all!)
>
>I'd go for a JavaScript move-to-page, with text link as backup for
>if JS is unavailable, eg.:
>
>   <html><head>
>     <title>Wait! Or Die!</title>
>   </head><body onload="location.replace('finished.html');">
>     <pre>
>       Wait: ######################## (etc.)
>     </pre>
>     <p>
>       OK, you can <a href="finished.html">continue</a> now.
>     </p>
>   </body></html>
>
>--
>Andrew Clover
>Technical Support
>1VALUE.com AG
>

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Received on Friday, 19 January 2001 04:17:24 UTC