From 2011.igem.org
(Difference between revisions)
|
|
Line 146: |
Line 146: |
| </style> | | </style> |
| | | |
- | <html>
| + | <!--Busqueda--> |
- | <head>
| + | #search-controls{display:none;} |
- | <!--=========================================CARGAS============================================= --> | + | |
- | <!--Intentamos cargar la libreria jQuery de Google, si no va pues la BobString -->
| + | |
- | <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js"></script>
| + | |
- | <script>!window.jQuery && document.write('<script src="https://sites.google.com/site/bobstringfiles/arcanum/jquery-1.2.3.min.js"><\/script>')</script>
| + | |
- | </head>
| + | |
- | | + | |
- | <body>
| + | |
- | | + | |
- | | + | |
- | <!--=====================================MENU ACORDEON 2 ======================================= -->
| + | |
- | | + | |
- | <!-- http://roshanbh.com.np/2008/06/accordion-menu-using-jquery.html -->
| + | |
- | <style>
| + | |
- | .menu_list {
| + | |
- | width: 150px;
| + | |
- | float:left;
| + | |
- | }
| + | |
- | .menu_head {
| + | |
- | padding: 5px 10px;
| + | |
- | cursor: pointer;
| + | |
- | position: relative;
| + | |
- | margin:1px;
| + | |
- | font-weight:bold;
| + | |
- | background: #eef4d3 url(left.png) center right no-repeat;
| + | |
- | }
| + | |
- | .menu_body {
| + | |
- | display:none;
| + | |
- | }
| + | |
- | .menu_body a {
| + | |
- | display:block;
| + | |
- | color:#006699;
| + | |
- | background-color:#EFEFEF;
| + | |
- | padding-left:10px;
| + | |
- | font-weight:bold;
| + | |
- | text-decoration:none;
| + | |
- | }
| + | |
- | .menu_body a:hover {
| + | |
- | color: #000000;
| + | |
- | text-decoration:underline;
| + | |
- | }
| + | |
- | | + | |
- | #search-controls{ | + | |
- | display:none; | + | |
- | } | + | |
- | | + | |
- | </style>
| + | |
- | <!--=====================================Busqueda======================================= -->
| + | |
| | | |
| <script type="text/javascript"> | | <script type="text/javascript"> |
- | $("#serach").click(function() | + | $(document).ready(function(){ |
- | { | + | $(#serach).click(function() { |
- | $(#search-controls).css("display","block");
| + | $(#search-controls).css({'display':'block'}); |
| + | }); |
| + | |
| }); | | }); |
| </script> | | </script> |
- |
| |
| </body> | | </body> |
| | | |
| | | |
| </html> | | </html> |
Revision as of 01:29, 15 May 2011
#search-controls{display:none;}