Template:CSS/UT-Tokyo/Counter/Contents

From 2014.igem.org

(Difference between revisions)
Line 448: Line 448:
return divs;
return divs;
}
}
-
function getUrlVars(){
+
 
-
    var vars = [], hash;
+
-
    var hashes = window.location.href.slice(window.location.href.indexOf('?') + 1).split('&');
+
-
    for(var i = 0; i < hashes.length; i++)
+
-
    {
+
-
        hash = hashes[i].split('=');
+
-
        vars.push(hash[0]);
+
-
        vars[hash[0]] = hash[1];
+
-
    }
+
-
    return vars;
+
-
}
+
function loadContent(cont,link,height){
function loadContent(cont,link,height){
document.title = "σ-Re Counter | UT-Tokyo 2014";
document.title = "σ-Re Counter | UT-Tokyo 2014";
Line 597: Line 587:
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.1/jquery.min.js"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.1/jquery.min.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js" type="text/javascript"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js" type="text/javascript"></script>
 +
<script src="https://2014.igem.org/Team:UT-Tokyo/getUrlVars.js?action=raw&ctype=text/javascript" type="text/javascript"></script>
<script src="https://2014.igem.org/Team:UT-Tokyo/jquery.easing.1.3.js?action=raw&ctype=text/javascript" type="text/javascript"></script>
<script src="https://2014.igem.org/Team:UT-Tokyo/jquery.easing.1.3.js?action=raw&ctype=text/javascript" type="text/javascript"></script>
<script src="https://2014.igem.org/Team:UT-Tokyo/jquery.mCustomScrollbar.js?action=raw&ctype=text/javascript" type="text/javascript"></script>
<script src="https://2014.igem.org/Team:UT-Tokyo/jquery.mCustomScrollbar.js?action=raw&ctype=text/javascript" type="text/javascript"></script>

Revision as of 14:26, 9 October 2014