Team:TU Delft/header2

From 2010.igem.org

(Difference between revisions)
Line 38: Line 38:
$(window).hashchange(historyCallback);
$(window).hashchange(historyCallback);
rewriteLinks($("#navlist"));
rewriteLinks($("#navlist"));
-
/*
+
 
-
// set onlick event for menu buttons
+
historyCallback();
-
$("#wrapper a").click(function(){
+
 
-
var hash = this.href;
+
-
hash = hash.replace(/^.*#/, '');
+
-
$.history.load(hash);
+
-
return false;
+
-
});
+
-
*/
+
// setup hovering
// setup hovering
$(".menu_button").hover(
$(".menu_button").hover(

Revision as of 18:05, 22 July 2010