Re: Multiple METAs? (Was Re: Inserting audio.)

> Is it incorrect HTML to have multiple <META http-equiv="Refresh" ...> state-
> ments?  I have two on my homepage, one which plays a sound and one which takes
> the reader to another page.  Only the redirection, which is the second META
> statement, works in Netscape, which doesn't necessarily mean the coding is 
> wrong of course.  :-)
 
 Let me guess: announcing! or intro page, with sound, then index page. My
 guess about problem: the page load is happening before the sound meta is
 triggered, and it erases the sound meta before it can "go off". Or,
 Netscape just ignores extra Refresh: in the header.
 Solution:
 Make a frameset document. In its refresh header is a meta to load your
 main screen after 5 seconds. It has one frame. The frame document has a
 meta to play the sound and contains the intro html.
 
 <!--Main.HTML-->
 <html>
   <head>
     <meta http-equiv="Refresh:"
       content="5; url=http://blah.blah/~whatever/index.html">
     <title>whatever</title>
   </head>
   <frameset rows="*">
     <frame src=intro.html>
   </frameset>
 </html>
 
 
 <!--Intro.HTML-->
 <html>
   <head>
     <meta http-equiv="Refresh:"
       content="1; url=http://blah.blah/~whatever/myawfulracket.au">
     <title>whatever</title>
   </head>
   <body>
     Some HTML
   </body>
 </html>

(Hope this works, I wrote it on the fly) 


--
    .*.  "Clouds are not spheres, mountains are not cones, coastlines are not
 -()  <  circles, and bark is not smooth, nor does lightning travel in a
    `*'  straight line."    ,------------------------------------------------
         -- B. Mandelbrot  |  Paul Derbyshire (PGD) ao950@freenet.carleton.ca

Received on Wednesday, 10 April 1996 02:29:42 UTC