|
|
Line 7: |
Line 7: |
| | | |
| <link rel="stylesheet" href="https://2011.igem.org/Team:ETH_Zurich/Templates/StyleSheetNew?action=raw&ctype=text/css" type="text/css" /> | | <link rel="stylesheet" href="https://2011.igem.org/Team:ETH_Zurich/Templates/StyleSheetNew?action=raw&ctype=text/css" type="text/css" /> |
- | <script type="text/javascript">
| |
- | /* Mediawiki Links: Incorporate into our design on our own terms! */
| |
- | $(document).ready( function()
| |
- | {
| |
- | $(function()
| |
- | {
| |
- | $('.scrollable').scrollable({ mousewheel: true }).navigator();
| |
- | if ($('#pt-logout').length)
| |
- | {
| |
- | $('#loginMenu').hide();
| |
- | $('#editMenu').show();
| |
- |
| |
- | $('#editLink').attr('href', $('.left-menu ul li a').get(2).href);
| |
- | $('#historyLink').attr('href', $('.left-menu ul li a').get(3).href);
| |
- | $('#logoutLink').attr('href', $('#pt-logout a').get(0).href);
| |
- | }
| |
- | else
| |
- | {
| |
- | $('#loginLink').attr('href', $('#pt-login a').get(0).href);
| |
- | }
| |
- |
| |
- | });
| |
- |
| |
- |
| |
- | $('#s').focus(function() {
| |
- | $('.searchUL').css('visibility', 'visible');
| |
- | });
| |
- | $('#submitButton').focus(function() {
| |
- | $('.searchUL').css('visibility', 'visible');
| |
- | });
| |
- |
| |
- |
| |
- | $('#s').blur(function() {
| |
- | if (!($('.searchUL').is(":hover") || $('#submitButton').is(":focus")))
| |
- | $('.searchUL').css('visibility', 'hidden');
| |
- | });
| |
- |
| |
- | $('#submitButton').blur(function() {
| |
- | if (!($('.searchUL').is(":hover") || $('#s').is(":focus")))
| |
- | $('.searchUL').css('visibility', 'hidden');
| |
- | });
| |
- |
| |
- | $('.searchUL').mouseenter(function() {
| |
- | $('.searchUL').css('visibility', 'visible');
| |
- | });
| |
- |
| |
- |
| |
- | $('.searchUL').mouseleave(function() {
| |
- | if (!($('#s').is(":focus") || $('#submitButton').is(":focus")))
| |
- | $('.searchUL').css('visibility', 'hidden');
| |
- | });
| |
- |
| |
- | });
| |
- | </script>
| |
- |
| |
| | | |
| <style type="text/css"> | | <style type="text/css"> |