Team:Imperial College/Templates/Banner

From 2013.igem.org

(Difference between revisions)
m
m
Line 2: Line 2:
  <head>
  <head>
   <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
   <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
 +
   <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
   <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
-
  sdv
+
 
   <script>
   <script>
-
  $('#cssmenu ul ul li:odd').addClass('odd');
+
  $( document ).ready(function() {
-
  $('#cssmenu ul ul li:even').addClass('even');
+
  $('#cssmenu ul ul li:odd').addClass('odd');
-
  $('#cssmenu > ul > li > a').click(function() {
+
  $('#cssmenu ul ul li:even').addClass('even');
-
$('#cssmenu li').removeClass('active');
+
  $('#cssmenu > ul > li > a').click(function() {
-
$(this).closest('li').addClass('active');
+
  $('#cssmenu li').removeClass('active');
-
+
  $(this).closest('li').addClass('active');
-
var checkElement = $(this).next();
+
 
-
if((checkElement.is('ul')) && (checkElement.is(':visible'))) {
+
  var checkElement = $(this).next();
-
return false;
+
  if((checkElement.is('ul')) && (checkElement.is(':visible'))) {
-
}
+
  return false;
-
if((checkElement.is('ul')) && (!checkElement.is(':visible'))) {
+
  }
-
$('#cssmenu ul ul:visible').slideUp('normal');
+
  if((checkElement.is('ul')) && (!checkElement.is(':visible'))) {
-
checkElement.slideDown('normal');
+
  $('#cssmenu ul ul:visible').slideUp('normal');
-
return false;
+
  checkElement.slideDown('normal');
-
}
+
  return false;
-
  });
+
  }
 +
  });
 +
  });
   <\script>
   <\script>
-
  sdfsdf
 
-
 
-
 
-
 
   <style type="text/css">
   <style type="text/css">
Line 349: Line 348:
<body>
<body>
 +
<a name="top"></a>
<a name="top"></a>
<div id='imperiallogo'>
<div id='imperiallogo'>

Revision as of 18:03, 10 August 2013