mail[Wesnoth-commits] r37091 - /website/stats.wesnoth.org/wesstats/templates/killview.html


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by cornmander on July 20, 2009 - 07:27:
Author: cornmander
Date: Mon Jul 20 07:27:44 2009
New Revision: 37091

URL: http://svn.gna.org/viewcvs/wesnoth?rev=37091&view=rev
Log:
Added a tag that will show up to users without javascript execution enabled 
prompting them to enable JS.


Modified:
    website/stats.wesnoth.org/wesstats/templates/killview.html

Modified: website/stats.wesnoth.org/wesstats/templates/killview.html
URL: 
http://svn.gna.org/viewcvs/wesnoth/website/stats.wesnoth.org/wesstats/templates/killview.html?rev=37091&r1=37090&r2=37091&view=diff
==============================================================================
--- website/stats.wesnoth.org/wesstats/templates/killview.html (original)
+++ website/stats.wesnoth.org/wesstats/templates/killview.html Mon Jul 20 
07:27:44 2009
@@ -30,7 +30,7 @@
                                copyright.addCopyright(new 
GCopyright('test',new GLatLngBounds(new GLatLng(-90,-180), new 
GLatLng(90,180)) ,0,'Wesnoth Project'));
                                
                                var tilelayer = new GTileLayer(copyright);
-                               tilelayer.getTileUrl = function(tile,zoom) { 
console.info(tile.x); console.info(tile.y); return 
"/wesstats/images/test_map."+tile.x+"_"+tile.y+"_"+zoom+".png"; };
+                               tilelayer.getTileUrl = function(tile,zoom) { 
return "/wesstats/images/test_map."+tile.x+"_"+tile.y+"_"+zoom+".png"; };
                                tilelayer.isPng = function() { return true; };
                                tilelayer.getOpacity = function() { return 
1.0; };
                                
@@ -65,6 +65,6 @@
                        </ul>
                </div>
        </div>
-       <div id="map_canvas" style="width: 800px; height: 600px"></div>
+       <div id="map_canvas" style="width: 800px; height: 
600px"><noscript>You must enable Javascript in order to see the kill 
map.</noscript></div>
 </body>
 </html>




Related Messages


Powered by MHonArc, Updated Mon Jul 20 08:41:02 2009