Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ---- JAVASCRIPT. Posición: inicio ----
- jQuery(document).ready(function(){
- jQuery('#botonA').click( function() {
- jQuery('.infos').slideUp('slow');
- jQuery('#contA').slideDown('slow');
- });
- jQuery('#botonB').click( function() {
- jQuery('.infos').slideUp('slow');
- jQuery('#contB').slideDown('slow');
- });
- jQuery('#botonC').click( function() {
- jQuery('.infos').slideUp('slow');
- jQuery('#contC').slideDown('slow');
- });
- });
- ---- CSS ----
- /*** Tablon de anuncios por Haiass ***/
- #haiass-tab .sociales {
- text-align: center;
- font-size: 10px;
- text-transform: uppercase;
- width: 50px;
- position: relative;
- top: -10px;
- line-height: 100%;
- font-family: calibri;
- display: inline-block;
- font-weight: bold;
- }
- .noticias .fecha {
- display: inline-block;
- font-weight: bold;
- text-align: center;
- color: #72cacc;
- line-height: 100%;
- font-size: 15px;
- font-style: italic;
- font-family: georgia;
- }
- .titulo-ev {
- text-transform: uppercase;
- line-height: 100%; margin-bottom: 10px;
- font-weight: bold;
- font-size: 10px;
- }
- #haiass-tab .noticias {
- height: 190px;
- margin-left: 10px;
- line-height: 110%;
- margin-right: 10px;
- text-align: justify;
- font-size: 11px;
- width: 210px;
- }
- #haiass-tab .eventos {
- width: 200px;
- height: 190px;
- text-align: justify;
- line-height: 110%;
- font-size: 11px;
- font-family: calibri;
- }
- .eventos img {
- display: inline-block;
- margin-left: 3px;
- }
- #haiass-tab #contenido .clima .temp .max, #haiass-tab #contenido .clima .temp .min {display: inline-block; font-size: 15px; font-family: georgia; font-style: italic; width: 70px;}
- .temp .max::after {
- content: 'Máximo';
- display: block;
- text-transform: uppercase;
- font-family: calibri;
- font-size: 10px;
- line-height: 110%;
- font-style: normal;
- }
- .clima .estacion {
- width: 100%;
- display: block;
- letter-spacing: 4px;
- font-weight: bold;
- line-height: 100%;
- text-transform: uppercase;
- font-size: 10px;
- font-family: calibri;
- color: #6b6b6b;
- position: relative;
- top: 168px;
- padding-top: 5px;
- padding-bottom: 5px;
- background: #ebebed;
- text-align: center;
- }
- .temp .min::after {
- font-style: normal;
- content: 'Mínimo';
- font-size: 10px;
- display: block;
- text-transform: uppercase;
- font-family: calibri;
- line-height: 110%;
- }
- #haiass-tab #contenido .clima {
- position: relative;
- width: 200px;
- height: 190px;
- }
- #haiass-tab #contenido .clima img {
- position: absolute;
- top: 0px;
- left: 0px;
- }
- #haiass-tab #contenido .temp {
- background: #ebebed;
- top: 0px;
- position: absolute;
- right: 0px;
- font-family: georgia;
- font-size: 15px;
- font-weight: bold;
- font-style: italic;
- display: inline-block;
- line-height: 100%;
- padding-top: 7px;
- padding-bottom: 7px;
- color: #6b6b6b;
- text-align: center;
- width: 159px;
- }
- .links-tab {
- margin-left: 5px;
- margin-right: 10px;
- line-height: 100%;
- width: 210px;
- height: 190px;
- font-size: 10px;
- }
- .links-tab .largo {
- display: block;
- line-height: 100%;
- width: 195px;
- font-style: italic;
- font-family: georgia;
- padding-bottom: 2px;
- padding-top: 3px;
- margin-bottom: 1px;
- }
- .links-tab a {
- display: inline-block;
- line-height: 100%;
- width: 89px;
- text-align: left;
- font-style: italic;
- font-family: georgia;
- color: #6b6b6b;
- background: #ebebed;
- border-left: 10px solid #72cacc;
- padding-bottom: 3px;
- padding-top: 3px;
- padding-left: 5px;
- margin-bottom: 1px;
- transition: 1s;
- }
- .links-tab a:hover {transition: 1s; border-left: 10px solid #edeb5a;}
- .credit::first-letter {
- font-style: italic;
- font-family: georgia;
- font-size: 14px;
- padding-right: 4px;
- font-weight: bold;
- color: #86a258;
- }
- .admin {
- width: 87px;
- height: 40px;
- position: relative;
- border: 5px solid #edeb5a;
- display: inline-block;
- margin-bottom: 3px;
- }
- .admin-cont:hover {
- opacity: 1;
- transition: 1s;
- }
- .admin-cont {
- padding: 3px;
- padding-top: 6px;
- width: 81px;
- height: 31px;
- line-height: 110%;
- top: -5px;
- left: -5px;
- background: #ebebed;
- text-align: center;
- font-size: 10px;
- text-transform: uppercase;
- border: 5px solid #edeb5a;
- position: absolute;
- opacity: 0;
- transition: 1s;
- }
- .admin-cont a {color: #72cacc; font-weight: bold;}
- .credit {
- width: 200px;
- height: 190px;
- overflow-y: auto;
- text-align: justify;
- line-height: 110%;
- font-size: 11px;
- font-family: calibri;
- }
- .historia {
- width: 200px;
- height: 190px;
- overflow-y: auto;
- text-align: justify;
- line-height: 110%;
- font-size: 11px;
- font-family: calibri;
- }
- .admin-tab {
- width: 200px; height: 190px;
- }
- .sub-tit-tab {
- width: 200px;
- line-height: 100%;
- text-align: center;
- font-style: italic;
- font-family: georgia;
- font-size: 11px;
- display: block;
- border-bottom: 1px solid #6b6b6b;
- padding-bottom: 3px;
- }
- .historia::first-letter {
- font-style: italic;
- font-family: georgia;
- font-size: 20px;
- font-weight: bold;
- color: #86a258;
- }
- #comments_scroll_div {
- margin-left: 10px;
- margin-right: 10px;
- line-height: 110%;
- width: 210px;
- height: 190px;
- overflow: hidden;
- font-size: 11px;
- }
- #comments_scroll_div a {
- font-style: italic;
- font-family: georgia;
- }
- .titulo-tab {
- text-align: center;
- line-height: 100%;
- padding-top: 20px;
- padding-bottom: 20px;
- font-style: italic;
- width: 656px;
- color: #eee;
- margin-bottom: 3px;
- font-size: 14px;
- font-family: Georgia;
- font-weight: normal;
- text-transform: none;
- background: #86a258;
- }
- #haiass-tab {
- width: 656px; /*Ancho del tablón */
- height:290px; /* Alto del tablon */
- }
- #haiass-tab #botones {
- width: 656px;
- overflow: hidden; /*Ancho de la zona de botones */
- }
- #botones .botoncito { /*Estilo de cada botón*/
- background: #86a258;
- display: inline-block;
- font-size: 11px;
- margin-bottom: 3px;
- color: #eee;
- font-style: italic;
- font-family: georgia;
- text-align:center;
- width: 210px;
- padding:3px;
- }
- #haiass-tab #contenido {
- font-family: calibri;
- background: #f2f2f2; /*Color de fondo de la zona de botones */
- height:230px;
- padding: 10px;
- width:636px; /*Ancho de la zona de paneles */
- color: #6b6b6b;
- padding-bottom: 0px;
- }
- .infos {
- display:none;
- }
- /*Fin de tablon*/
- ---- HTML. PA > Visualización > General > Mensaje del índice ----
- <center>
- <div class="titulo-tab">
- Tablón de anuncios
- </div>
- <div id="haiass-tab">
- <div id="botones">
- <div class="botoncito" id="botonA">
- Inicio
- </div>
- <div class="botoncito" id="botonB">
- Situación Actual
- </div>
- <div class="botoncito" id="botonC">
- Información extra
- </div>
- </div>
- <div id="contenido">
- <div style="display:block;" class="infos" id="contA">
- <table cellspacing="0">
- <tbody>
- <tr>
- <td>
- <div class="historia">
- Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.<br /><br />Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
- </div><br />
- <div class="sub-tit-tab">
- Historia
- </div>
- </td>
- <td>
- <div id="contenedor-UltimosTemas">
- </div><br />
- <div style="margin-left: 10px; width: 210px;" class="sub-tit-tab">
- Últimos Temas
- </div>
- </td>
- <td>
- <div class="admin-tab">
- <div style="background:url(http://i.imgur.com/YGiBAb0.png); margin-right: 3px;" class="admin">
- <div class="admin-cont">
- Nombre Apellido<br /><a href="url">Enviar MP</a>
- </div>
- </div>
- <div style="background:url(http://i.imgur.com/YGiBAb0.png);" class="admin">
- <div class="admin-cont">
- Nombre Apellido<br /><a href="url">Enviar MP</a>
- </div>
- </div>
- <div style="background:url(http://i.imgur.com/YGiBAb0.png); margin-right: 3px;" class="admin">
- <div class="admin-cont">
- Nombre Apellido<br /><a href="url">Enviar MP</a>
- </div>
- </div>
- <div style="background:url(http://i.imgur.com/YGiBAb0.png);" class="admin">
- <div class="admin-cont">
- Nombre Apellido<br /><a href="url">Enviar MP</a>
- </div>
- </div>
- <div style="background:url(http://i.imgur.com/YGiBAb0.png); margin-right: 3px;" class="admin">
- <div class="admin-cont">
- Nombre Apellido<br /><a href="url">Enviar MP</a>
- </div>
- </div>
- <div style="background:url(http://i.imgur.com/YGiBAb0.png);" class="admin">
- <div class="admin-cont">
- Nombre Apellido<br /><a href="url">Enviar MP</a>
- </div>
- </div>
- </div><br />
- <div class="sub-tit-tab">
- Administradores
- </div>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- <div class="infos" id="contB">
- <table cellspacing="0">
- <tbody>
- <tr>
- <td>
- <div class="clima">
- <img src="http://i.imgur.com/SeJGstI.jpg" style="display: inline-block; margin-right: 1px;" />
- <div class="temp">
- <div class="min">
- -10º
- </div>
- a
- <div class="max">
- 15º
- </div>
- </div><img src="http://40.media.tumblr.com/tumblr_marmewSdkO1qb30dwo1_500.jpg" style="width: 200px; margin-top: 43px; height: 122px;" />
- <div class="estacion">
- Otoño
- </div>
- </div><br />
- <div class="sub-tit-tab">
- Clima y estación
- </div>
- </td>
- <td>
- <div class="noticias">
- <div class="fecha">
- #01
- </div>
- Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. <br /><br />
- <div class="fecha">
- #02
- </div>
- Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
- </div>
- <br />
- <div style="margin-left: 10px; width: 210px;" class="sub-tit-tab">
- Noticias
- </div>
- </td>
- <td>
- <div class="eventos">
- <div class="titulo-ev">
- Título: Fiesta de fin de curso.<br />Duración: 23 junio a 27 julio.
- </div>
- Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. <br /><br />Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. <br /><br /><img src="http://i.imgur.com/SmlOejy.jpg" /><img src="http://i.imgur.com/VyLCyHi.jpg" /><img src="http://i.imgur.com/0m0BSNz.jpg" />
- <div class="sociales">
- Redes<br />Sociales
- </div>
- </div>
- <br />
- <div class="sub-tit-tab">
- Eventos
- </div>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- <div class="infos" id="contC">
- <table cellspacing="0">
- <tbody>
- <tr>
- <td>
- <div class="credit" style="padding: 4px; height: 186px;">
- ©Tablón de anuncios hecho por <a href="thecaptainknowsbest.tumblr.com">Hardrock</a>. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.<br /><br />Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
- </div><br />
- <div class="sub-tit-tab">
- Créditos
- </div>
- </td>
- <td>
- <div class="links-tab">
- <a href="url" style="margin-right: 2px;">Link 1</a><a href="url">Link 2</a><a href="url" style="margin-right: 2px;">Link 3</a><a href="url">Link 4</a><a href="url" style="margin-right: 2px;">Link 5</a><a href="url">Link 6</a><a href="url" style="margin-right: 2px;">Link 7</a><a href="url">Link 8</a><a href="url" class="largo">Link largo 1</a><a href="url" class="largo">Link largo 2</a><a href="url" class="largo">Link largo 3</a><a href="url" class="largo">Link largo 4</a><a href="url" class="largo">Link largo 5</a>
- </div><br />
- <div style="margin-left: 5px; width: 210px;" class="sub-tit-tab">
- Enlaces rápidos
- </div>
- </td>
- <td>
- <div class="admin-tab">
- <div style="background:url(http://i.imgur.com/YGiBAb0.png); margin-right: 3px;" class="admin">
- <div class="admin-cont">
- Nombre Apellido<br /><a href="url">Premio ganado</a>
- </div>
- </div>
- <div style="background:url(http://i.imgur.com/YGiBAb0.png);" class="admin">
- <div class="admin-cont">
- Nombre Apellido<br /><a href="url">Premio ganado</a>
- </div>
- </div>
- <div style="background:url(http://i.imgur.com/YGiBAb0.png); margin-right: 3px;" class="admin">
- <div class="admin-cont">
- Nombre Apellido<br /><a href="url">Premio ganado</a>
- </div>
- </div>
- <div style="background:url(http://i.imgur.com/YGiBAb0.png);" class="admin">
- <div class="admin-cont">
- Nombre Apellido<br /><a href="url">Premio ganado</a>
- </div>
- </div>
- <div style="background:url(http://i.imgur.com/YGiBAb0.png); margin-right: 3px;" class="admin">
- <div class="admin-cont">
- Nombre Apellido<br /><a href="url">Premio ganado</a>
- </div>
- </div>
- <div style="background:url(http://i.imgur.com/YGiBAb0.png);" class="admin">
- <div class="admin-cont">
- Nombre Apellido<br /><a href="url">Premio ganado</a>
- </div>
- </div>
- </div><br />
- <div class="sub-tit-tab">
- Premiados
- </div>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- </div>
- </div>
- </center><script>
- jQuery(function() {
- var a = jQuery("#comments_scroll_div").clone();
- var c = [];
- jQuery('.module .h3:contains("Últimos temas")').closest('.inner').find('script').each(function() {
- if (!jQuery(this).attr('src')) c.push('<script>'+ jQuery(this).html() + '</' + 'script>');
- });
- jQuery("#contenedor-UltimosTemas").replaceWith('<div id="comments_scroll_div">' + a.html() + '</div>' + c.join(" "));
- jQuery(".module .inner #comments_scroll_div ").remove()
- });
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement