Team:UT-Tokyo/Templates/BeginContent

From 2011.igem.org

(Difference between revisions)
Line 404: Line 404:
UT_Tokyo.hasWebGL = !!window.WebGLRenderingContext;
UT_Tokyo.hasWebGL = !!window.WebGLRenderingContext;
-
UT_Tokyo.useAjaxLoading = !!(document.location.href.match('Team:UT-Tokyo/?$'));
+
UT_Tokyo.useAjaxLoading = true; //!!(document.location.href.match('Team:UT-Tokyo/?$'));
-
UT_Tokyo.needHandling = true;
+
UT_Tokyo.needHandling = false; //true;
UT_Tokyo.currentUrl = null;
UT_Tokyo.currentUrl = null;
Line 589: Line 589:
        
        
       toUrl = $(this).attr('href');
       toUrl = $(this).attr('href');
-
       location.hash = UT_Tokyo.hashFromUrl(toUrl);
+
       //location.hash = UT_Tokyo.hashFromUrl(toUrl);
       UT_Tokyo.transit(toUrl);
       UT_Tokyo.transit(toUrl);
       e.preventDefault();
       e.preventDefault();

Revision as of 17:32, 13 September 2011