Team:York UK

From 2013.igem.org

(Difference between revisions)
Line 247: Line 247:
     <script src="jss/jquery.mousewheel.js"></script>
     <script src="jss/jquery.mousewheel.js"></script>
     <script type="text/javascript">
     <script type="text/javascript">
-
// sfHover = function() {
 
-
// var sfEls = document.getElementById("nav").getElementsByTagName("LI");
 
-
// for (var i=0; i<sfEls.length; i++) {
 
-
// sfEls[i].onmouseover=function() {
 
-
// this.className+=" sfhover";
 
-
// }
 
-
// sfEls[i].onmouseout=function() {
 
-
// this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
 
-
// }
 
-
// }
 
-
// }
 
-
// if (window.attachEvent) window.attachEvent("onload", sfHover);
 
function selection(){
function selection(){
Line 325: Line 313:
$("span:last").text("( e.clientX, e.clientY ) : " + clientCoords);
$("span:last").text("( e.clientX, e.clientY ) : " + clientCoords);
});
});
-
 
-
// function selection(){
 
-
// var queries = {};
 
-
// $.each(document.location.search.substr(1).split('&'),function(c,q){
 
-
// var i = q.split('=');
 
-
// queries[i[0].toString()] = i[1].toString();
 
-
// });
 
-
 
-
// currentLocation = (window.location.pathname.substr(window.location.pathname.lastIndexOf('/') + 1));
 
-
// target = document.location.search
 
-
// $("[href='"+currentLocation + target+"']").toggleClass("selected");
 
-
// currentContent = $("#" + queries['page']);
 
-
// currentContent.css("background","#fad210");
 
-
// currentContent = $("#" + (currentContent.attr('id')+"content"));
 
-
// currentContent.show("slow");
 
-
 
-
 
-
// $("#navlocal div").mouseenter(function(){
 
-
// newContent = $("#"+$(this).attr('id')+"content");
 
-
 
-
// if((newContent.attr("id")) != currentContent.attr('id')){
 
-
// currentContent.slideUp("slow");
 
-
// currentContentId = currentContent.attr('id').substring(0, currentContent.attr('id').length - 7);
 
-
// $("#"+currentContentId).css("background","#ffffff");
 
-
// $("[href='"+currentLocation +"?page="+currentContentId+"']").toggleClass("selected");
 
-
// currentContent = newContent;
 
-
// currentContent.delay(300).show("slow");
 
-
// $(this).css("background","#fad210");
 
-
// $("[href='"+currentLocation +"?page="+$(this).attr('id')+"']").toggleClass("selected");
 
-
// }
 
-
// })
 
-
// };
 
-
 
-
 
});
});
Line 377: Line 331:
<body>
<body>
-
Template:Team:York_UK/CSS
 
     <div id="navigation">
     <div id="navigation">
         <ul>
         <ul>

Revision as of 13:02, 24 September 2013

iGEM York