add annoying warning an link to the new location of the document default tip
authorPaul Adenot <paul@paul.cx>
Fri, 20 Jun 2014 14:44:00 +0200
changeset 333 e590df8302d0
parent 332 92183159c02b
add annoying warning an link to the new location of the document
webaudio/specification.html
--- a/webaudio/specification.html	Mon Sep 02 18:26:41 2013 +0200
+++ b/webaudio/specification.html	Fri Jun 20 14:44:00 2014 +0200
@@ -22,10 +22,46 @@
           <![endif]-->
   <link rel="stylesheet" href="//www.w3.org/StyleSheets/TR/W3C-ED"
   type="text/css" />
+  <style>
+details.annoying-warning[open] {
+  background: #fdd;
+  color: red;
+  font-weight: bold;
+  text-align: center;
+  padding: .5em;
+  border: thick solid red;
+  border-radius: 1em;
+  position: fixed;
+  left: 1em;
+  right: 1em;
+  bottom: 1em;
+  z-index: 1000;
+}
+
+details.annoying-warning:not([open]) > summary {
+  background: #fdd;
+  color: red;
+  font-weight: bold;
+  text-align: center;
+  padding: .5em;
+}
+}}}
+  </style>
 </head>
 
 <body>
 
+
+    <details class="annoying-warning" open="">
+      <summary>This Version of this Document Is Obsolete and Has Been Replaced</summary>
+      <p>
+        This version of the specification is obsolete and has been replaced by the document at <a href="http://webaudio.github.io/web-audio-api/">http://webaudio.github.io/web-audio-api/</a>.
+        Do not attempt to implement this version of the specification.
+        Do not refer to this version except as a historical artifact.
+      </p>
+    </details>
+
+
 <div class="head">
 <p><a href="http://www.w3.org/"><img width="72" height="48" alt="W3C"
 src="http://www.w3.org/Icons/w3c_home" /></a> </p>