themes demos with 0.9.4
[booh] / www / themes / dark / Ski / Tignes / thumbnails.html
index bd766ae..e67db13 100644 (file)
@@ -1,9 +1,8 @@
 <html>
-    <body>
-    </body>
+    <head>
         <script language="JavaScript1.1" type="text/JavaScript">
 
-var sizes = new Array("medium", "large");
+var sizes = new Array("large");
 
 function getPreferredSize() {
     if (document.cookie) {
@@ -24,14 +23,14 @@ function getPreferredSize() {
     }
     w = document.body.offsetWidth;
     if (w + 50 > 1280) { return 'thumbnails-large-0.html'; }
-if (w + 50 > 1024) { return 'thumbnails-medium-0.html'; }
 
-    return 'thumbnails-medium-0.html';
+    return 'thumbnails-large-0.html';
 }
 
-window.location.href = getPreferredSize();
-
         </script>
 
-        <meta http-equiv="refresh" content="0.1;url=thumbnails-medium-nojs-0.html">
+        <meta http-equiv="refresh" content="0.1;url=thumbnails-large-nojs-0.html" />
+    </head>
+    <body onload="window.location.href = getPreferredSize()">
+    </body>
 </html>