Código Javascript:
Ver original
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>multiscroll.js - split multi-scrolling pages plugin</title> <meta name="author" content="Alvaro Trigo Lopez" /> <meta name="description" content="multiscroll plugin by Alvaro Trigo. Create divided multi-scrolling pages with two splited vertical layouts or panels." /> <meta name="keywords" content="multiscroll,jquery,alvaro,trigo,plugin,divided,splitscreen,screen,panels,layouts,vertical,split,splited" /> <meta name="Resource-type" content="Document" /> <link rel="stylesheet" type="text/css" href="../jquery.multiscroll.css" /> <link rel="stylesheet" type="text/css" href="examples.css" /> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script> <script type="text/javascript" src="../vendors/jquery.easings.min.js"></script> <script type="text/javascript" src="../jquery.multiscroll.js"></script> <script type="text/javascript"> $(document).ready(function() { $('#myContainer').multiscroll({ sectionsColor: ['#C63D0F', '#1BBC9B', '#7E8F7C'], anchors: ['first', 'second', 'third'], menu: '#menu', css3: true, paddingTop: '70px', paddingBottom: '70px' }); }); </script> <style> h1{ color: #fff; } /* Fixed header and footer. * --------------------------------------- */ #header, #footer{ position:fixed; height: 50px; display:block; width: 100%; z-index:9; text-align:center; padding: 20px 0 0 0; src: url(webfontkit-20130325-045916/stop-webfont.ttf); background-color: #FF0000; font-family: StopD; color: #FFF; font-size: 36px; } #header{ top:0px; } #footer{ bottom:0px; } </style> </head> <body> <div id="header">ELECTRODISEÑO</div> <div id="footer">Footer</div> <ul id="menu"> <li data-menuanchor="first"><a href="#first">Inicio</a></li> <li data-menuanchor="second"><a href="#second">Second slide</a></li> <li data-menuanchor="third"><a href="#third">Third slide</a></li> </ul> <div id="myContainer"> <div class="ms-left"> <div class="ms-section" id="left1"> <img src="http://www.forosdelweb.com/../imagenes_menu/FOTO1.png" width="100%" height="100%"> </div> <div class="ms-section" id="left2"> <h1>Left 2 </h1> </div> <div class="ms-section" id="left3"> <h1>Left 3</h1> </div> </div> <div class="ms-right"> <div class="ms-section" id="right1"> <img src="http://www.forosdelweb.com/../imagenes_menu/FOTO2.png" width="100%" height="100%"> </div> <div class="ms-section" id="right2"> <h1>Right 2</h1> </div> <div class="ms-section" id="right3"> <h1>Right 3</h1> </div> </div> </div> </body> </html>
Gracias y un saludo