Template:Queens Canada/Header

From 2012.igem.org

(Difference between revisions)
Line 1,189: Line 1,189:
     margin-top: 40px;
     margin-top: 40px;
     list-style: none outside none;
     list-style: none outside none;
 +
    cursor: pointer;
 +
    padding: 5px;
     -moz-transform: scaleY(0);
     -moz-transform: scaleY(0);
Line 1,218: Line 1,220:
     -webkit-transform: scaleY(1);
     -webkit-transform: scaleY(1);
     transform: scaleY(1);
     transform: scaleY(1);
 +
}
 +
 +
.subs li
 +
{
 +
width: 170px;
 +
border: 0px black solid;
 +
border-bottom: 2px;
 +
}
 +
.subs li:hover
 +
{
 +
width: 170;
 +
background-color: blue;
}
}
</style>
</style>
Line 1,250: Line 1,264:
<ul class="subs" style="margin: 40px 0px 0px 172px;">
<ul class="subs" style="margin: 40px 0px 0px 172px;">
-
<li>
+
<li id="desc">
Description
Description
</li>
</li>
Line 1,343: Line 1,357:
     });
     });
</script>
</script>
-
 
+
<script>
 +
$('#desc').click(function(){
 +
  window.location = 'http://www.google.com';
 +
});
 +
</script>
</html>
</html>

Revision as of 21:14, 24 September 2012

Control