html5/md Overview.html,1.104,1.105

Update of /sources/public/html5/md
In directory hutz:/tmp/cvs-serv2929

Modified Files:
	Overview.html 
Log Message:
Make the close box persistent.

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/md/Overview.html,v
retrieving revision 1.104
retrieving revision 1.105
diff -u -d -r1.104 -r1.105
--- Overview.html	15 Nov 2010 23:48:54 -0000	1.104
+++ Overview.html	16 Nov 2010 00:21:39 -0000	1.105
@@ -464,7 +464,12 @@
   <script type="text/javascript">
    function closeWarning(element) {
      element.parentNode.removeChild(element);
+     var date = new Date();
+     date.setDate(date.getDate()+4);
+     document.cookie = 'hide-obsolescence-warning=1; expires=' + date.toGMTString();
    }
+   if (getCookie('hide-obsolescence-warning') == '1')
+     setTimeout(function () { document.getElementById('wip').parentNode.removeChild(document.getElementById('wip')); }, 2000);
   </script><!--
   <script type="text/javascript">
    if (location == 'http://dev.w3.org/html5/md/') {

Received on Tuesday, 16 November 2010 00:21:43 UTC