Tema: Multiscroll
Ver Mensaje Individual
  #8 (permalink)  
Antiguo 30/05/2014, 10:03
Avatar de satjaen
satjaen
 
Fecha de Ingreso: septiembre-2012
Ubicación: Jaén (Andalucía)
Mensajes: 893
Antigüedad: 11 años, 8 meses
Puntos: 10
Respuesta: Multiscroll

Y el index.html

Código HTML:
Ver original
  1. <!DOCTYPE html>
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <link rel="shortcut icon" href="favicon (3).ico" />
  4. <meta name="google-site-verification" content="ATj-yVLdZKC3CNF8OArdBk2pWoqXeNXdXkuFp8T2rYo" />
  5.     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />  
  6.     <title>ELECTRODISEÑO</title>
  7.     <meta name="Resource-type" content="Document" />
  8.     <link rel="stylesheet" type="text/css" href="jquery.multiscroll.css" />    
  9.     <link rel="stylesheet" type="text/css" href="examples.css" />      
  10.     <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
  11.     <script type="text/javascript" src="vendors/jquery.easings.min.js"></script>
  12.     <script type="text/javascript" src="jquery.multiscroll.js"></script>
  13.  
  14.     <script type="text/javascript">
  15.      $(document).ready(function() {
  16.             $('#myContainer').multiscroll({
  17.                 sectionsColor: ['#C63D0F', '#FF0000', '#7E8F7C', '#FF0000', '#FF0000'],
  18.                 anchors: ['first', 'second', 'third' , 'fourth' , 'five'],
  19.                 menu: '#menu',
  20.                 css3: true,
  21.                 paddingTop: '70px',
  22.                 paddingBottom: '70px'
  23.             });
  24.         });
  25.     </script>
  26.  
  27.  
  28.     <style>
  29.     h1{
  30.         color: #fff;
  31.     }
  32.    
  33.     /* Fixed header and footer.
  34.     * --------------------------------------- */
  35.     #header{
  36.         position:fixed;
  37.         height: 50px;
  38.         display:block;
  39.         width: 100%;
  40.         z-index:9;
  41.         text-align:center;
  42.         padding: 45px 0 0 0;
  43.         src: url(webfontkit-20130325-045916/stop-webfont.ttf);
  44.         background-color: #FF0000;
  45.         font-family: StopD;
  46.         color: #FFF;
  47.         font-size: 36px;
  48.     }
  49.     #footer{
  50.         color: #FFF;
  51.         font-size: 12px;
  52.         position:fixed;
  53.         height: 50px;
  54.         display:block;
  55.         width: 100%;
  56.         z-index:9;
  57.         text-align:center;
  58.         padding: 20px 0 0 0;
  59.         background-color: #FF0000; 
  60.     }
  61.    
  62.     #header{
  63.         top:0px;
  64.     }
  65.     #footer{
  66.         bottom:0px;
  67.     }
  68.    
  69.     /* CSS Document */
  70. .slider{
  71.     width:1000px; /* width en px de la imagenes  */
  72.     height:300px; /* height en px de la imagenes  */
  73.     overflow:hidden; /* no tocar */
  74.     position:relative; /* no tocar */
  75.     padding:0px; /* no tocar */
  76.     margin-top: 0px;
  77.     margin-right: auto;
  78.     margin-bottom: 0px;
  79.     margin-left: auto;
  80. }
  81.  
  82.     </style>
  83. </head>
  84. <div id="header">ELECTRODISEÑO</div>
  85. <div id="footer">
  86. 2014 © ELECTRODISEÑO | No somos Servicio técnico oficial de todas las marcas anunciadas en esta web. | Las marcas pertenecen a sus dueños legales. |
  87.  <a href="avisolegal.html" target="new">Aviso legal</a> |
  88.   <a href="https://maps.google.es/maps?hl=es&q=Electrodiseño,+jaen&ie=UTF8&geocode=Fe3jUgIdAxPE_w&split=0&hnear=calle+EUROPA,+S/N,+jaen&iwloc=near&source=embed" target="new"  >Localización</a> | <a href='envia_contacto.php' target="_blank">Contacto</a>
  89. </div>
  90.  
  91.  
  92. <ul id="menu">
  93.     <li data-menuanchor="first"><a href="#first">Inicio</a></li>
  94.     <li data-menuanchor="second"><a href="#second">Marcas</a></li>
  95.     <li data-menuanchor="third"><a href="#third">Servicio Oficial</a></li>
  96.     <li data-menuanchor="fourth"><a href="#fourth">Catálogo de Productos</a></li>
  97.     <li data-menuanchor="five"><a href="#five">Ofertas</a></li>
  98.      
  99. </ul>
  100.  
  101.  
  102. <div id="myContainer">
  103.  
  104.     <div class="ms-left">
  105.         <div class="ms-section" id="left1">
  106.         <img src="imgs/FOTO1.png" width="100%" height="100%"> </div>
  107.  
  108.         <div class="ms-section" id="left2">
  109.             <img src="imgs/FOTO3.png" width="100%" height="90%">
  110.         </div>
  111.  
  112.         <div class="ms-section" id="left3">
  113.             <img src="imgs/FOTO.1MARCAS.png" width="100%" height="100%">
  114.         </div>
  115.        
  116.        <div class="ms-section" id="left4">
  117.        <img src="imgs/Captura de pantalla 2014-05-29 a la(s) 17.12.28.png" width="100%" height="100%">
  118.        <img src="imgs/aire.png" width="100%" height="100%">
  119.            
  120.         </div>
  121.        
  122.          <div class="ms-section" id="left5">
  123.        <img src="imgs/aire.png" width="100%" height="90%">
  124.            
  125.         </div>
  126.     </div>
  127.    
  128.     <div class="ms-right">
  129.         <div class="ms-section" id="right1">
  130.         <img src="imgs/FOTO2.5.jpg" width="100%" height="100%">
  131.         </div>
  132.         <div class="ms-section" id="right2">
  133.             <img src="imgs/FOTO4.png" width="100%" height="90%">
  134.         </div>
  135.         <div class="ms-section" id="right3">
  136.             <img src="imgs/FOTO.2MARCAS.png" width="100%" height="100%">
  137.         </div>
  138.        
  139.         <div class="ms-section" id="right4">
  140.             <img src="imgs/Captura de pantalla 2014-05-29 a la(s) 17.13.27.png" width="100%" height="100%">
  141.             <img src="imgs/carga-superior.png" width="100%" height="100%">
  142.         </div>
  143.           <div class="ms-section" id="right5">
  144.             <img src="imgs/carga-superior.png" width="100%" height="90%">
  145.         </div>
  146.        
  147.     </div>
  148.  
  149. </div>
  150.  
  151.     </body>
  152. </html>