|
|
(176 intermediate revisions not shown) |
Line 1: |
Line 1: |
- | <html>
| |
- | <head>
| |
- | <!--=========================================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 /*mucha morralla*/======================================== -->
| |
- | <div id="menu">
| |
- | <h3><u>MAIN MENU</u></h3>
| |
- | <ul>
| |
- | <li><span <?php if($p == "posts"){echo 'class="current"';} ?>><a href="javascript:void(0);" id="link-posts">Inicio</a></span>
| |
- |
| |
- | </li>
| |
- | <li><span <?php if($p == "categorias"){echo 'class="current"';} ?>><a href="javascript:void(0);" id="link-categorias">iGem</a></span>
| |
- |
| |
- | </li>
| |
- | <li><span <?php if($p == "multimedia"){echo 'class="current"';} ?>><a href="javascript:void(0);" id="link-multimedia">El proyecto</a></span>
| |
- | <ul>
| |
- | <li><a href="?p=multimedia&sec=agregar-galeria-imagenes" class="add">Resumen</a></li>
| |
- | <li><a href="?p=multimedia&sec=listar-galeria-imagenes" class="list">El estandar Ubbit</a></li>
| |
- | <li><a href="?p=multimedia&sec=agregar-galeria-video" class="add">Puertas lógicas</a></li>
| |
- | <li><a href="?p=multimedia&sec=listar-galeria-video" class="list">Quorum sensing</a></li>
| |
- | <li><a href="?p=multimedia&sec=listar-galeria-video" class="list">Sumador binario</a></li>
| |
- | </ul>
| |
- | </li>
| |
- | <li><span <?php if($p == "usuarios"){echo 'class="current"';} ?>><a href="javascript:void(0);" id="link-usuarios">El equipo</a></span>
| |
- | <ul>
| |
- | <li><a href="?p=usuarios&sec=agregar-usuario" class="add">Agregar</a></li>
| |
- | <li><a href="?p=usuarios&sec=listar-usuarios" class="list">Listar</a></li>
| |
- | </ul>
| |
- | </li>
| |
- | <li><span <?php if($p == "opciones"){echo 'class="current"';} ?>><a href="javascript:void(0);" id="link-opciones">Opciones</a></span>
| |
- | <ul>
| |
- | <li><a href="?p=opciones&sec=opcion-lectura" class="bullet">Lectura</a></li>
| |
- | <li><a href="?p=opciones&sec=opcion-escritura" class="bullet">Escritura</a></li>
| |
- | <li><a href="?p=opciones&sec=opcion-discusion" class="bullet">Discusión</a></li>
| |
- | <li><a href="?p=opciones&sec=opcion-permalinks" class="bullet">Permalinks</a></li>
| |
- | </ul>
| |
- | </li>
| |
- | </ul>
| |
- | </div>
| |
- |
| |
- | <!--Efectos para desplegar el Menu acordeon -->
| |
- | <script type="text/javascript">
| |
- | $(document).ready(function(){
| |
- | $("#menu ul li ul").hide();
| |
- | $("#menu ul li span.current").addClass("open").next("ul").show();
| |
- | $("#menu ul li span").click(function(){
| |
- | $(this).next("ul").slideToggle("slow").parent("li").siblings("li").find("ul:visible").slideUp("slow");
| |
- | $(this).toggleClass("open");
| |
- | $(this).parent("li").siblings("li").find("span").removeClass("open");
| |
- | });
| |
- |
| |
- | });
| |
- | </script>
| |
- |
| |
- | <style>
| |
- | .open {
| |
- | position: relative;
| |
- | height: 20px;
| |
- | width: 400px;
| |
- | background-color: green;
| |
- |
| |
- | }
| |
- | /*.current {esta clase me tiene confuso, es para el menu hor o el vert??
| |
- | position: relative;
| |
- | height: 20px;
| |
- | width: 400px;
| |
- | background-color: blue;
| |
- |
| |
- | }
| |
- | */
| |
- | #menu {
| |
- | position: relative;
| |
- | height: 350px;
| |
- | width: 130px;
| |
- | background-color: #01DF74;
| |
- | float:left;
| |
- | border:7px ridge #088A08;
| |
- | padding-left:6px;
| |
- |
| |
- |
| |
- | }
| |
- | #menu a{
| |
- |
| |
- | padding:3px;
| |
- | background-color: #A9F5A9;
| |
- | font-color:white;
| |
- | font: bold 12pt "arial", "sans-serif";
| |
- | }
| |
- | #menu ul ul a{
| |
- | font: italic 10pt "arial", "sans-serif";
| |
- | border:1px dotted #0B6138;
| |
- |
| |
- | }
| |
- |
| |
- |
| |
- | </style>
| |
- |
| |
- |
| |
- | <!--=========================================RECONSTRUIR CABECERA============================================= -->
| |
- |
| |
- | <style>
| |
- |
| |
- | /*logo indeseado del igem*/
| |
- | #p-logo{
| |
- | display:none;
| |
- | }
| |
- |
| |
- | /*menu estilo guadiana xD de los cojones*/
| |
- | #menubar.left-menu {
| |
- | width:355px;
| |
- | display:block;
| |
- | float:left;
| |
- | border: none;
| |
- | }
| |
- |
| |
- | #top-section {
| |
- | height: 150px;
| |
- | background-image:url('https://static.igem.org/mediawiki/2011/2/2b/Logohorizontal.png');
| |
- | }
| |
- |
| |
- | /*quitar el titulo de la pagina*/
| |
- | .firstHeading { display: none;}
| |
- | </style>
| |
- |
| |
- |
| |
- |
| |
- | </body>
| |
- |
| |
- |
| |
- | </html>
| |