CSS
Código:
.slideshow { display: block; position: relative; z-index: 0; } .slideshow-images { display: block; overflow: hidden; position: relative; } .slideshow-images img { display: block; position: absolute; z-index: 1; } .slideshow-thumbnails { overflow: hidden; } /** HTML: <div class="slideshow-images"> <img /> <img /> </div> Notes: The images div is where the slides are shown. Customize the visible / prev / next classes to effect the slideshow transitions: fading, wiping, etc. */ .slideshow-images { height: 300px; width: 429px; } .slideshow-images-visible { opacity: 1; } .slideshow-images-prev { opacity: 0; } .slideshow-images-next { opacity: 0; } .slideshow-images img { float: left; left: 0; top: 0; } /** Notes: These are examples of user-defined styles. Customize these classes to your usage of Slideshow. */ .slideshow { height: 300px; margin: 0 auto; width: 429px; } .slideshow a img { border: 0; } /** HTML: <div class="slideshow-captions"> ... </div> Notes: Customize the hidden / visible classes to affect the captions animation. */ .slideshow-captions { background: #000; bottom: 0; color: #FFF; font: normal 12px/22px Arial, sans-serif; left: 0; overflow: hidden; position: absolute; text-indent: 10px; width: 100%; z-index: 10000; } .slideshow-captions-hidden { height: 0; opacity: 0; } .slideshow-captions-visible { height: 22px; opacity: .7; } /** HTML: <div class="slideshow-controller"> <ul> <li class="first"><a /></li> <li class="prev"><a /></li> <li class="pause play"><a /></li> <li class="next"><a /></li> <li class="last"><a /></li> </ul> </div> Notes: Customize the hidden / visible classes to affect the controller animation. */ .slideshow-controller { background: url(gfx/controller.png) no-repeat; height: 29px; left: 50%; margin: -25px 0 0 -119px; overflow: hidden; position: absolute; top: 98%; width: 160px; z-index: 10000; } .slideshow-controller * { margin: 0; padding: 0; } .slideshow-controller-hidden { opacity: 0; } .slideshow-controller-visible { opacity: 1; } .slideshow-controller a { cursor: pointer; display: block; height: 18px; overflow: hidden; position: absolute; top: 6px; } .slideshow-controller a.active { background-position: 0 18px; } .slideshow-controller li { list-style: none; } .slideshow-controller li.first a { background-image: url(gfx/controller-first.gif); left: 15px; width: 19px; } .slideshow-controller li.last a { background-image: url(gfx/controller-last.gif); left: 125px; width: 19px; } .slideshow-controller li.next a { background-image: url(gfx/controller-next.gif); left: 95px; width: 28px; } .slideshow-controller li.pause a { background-image: url(gfx/controller-pause.gif); left: 70px; width: 20px; } .slideshow-controller li.play a { background-position: 20px 0; } .slideshow-controller li.play a.active { background-position: 20px 18px; } .slideshow-controller li.prev a { background-image: url(gfx/controller-prev.gif); left: 35px; width: 28px; } /** HTML: <div class="slideshow-loader" /> Notes: Customize the hidden / visible classes to affect the loader animation. */ .slideshow-loader { height: 28px; right: 0; position: absolute; top: 0; width: 28px; z-index: 10001; } .slideshow-loader-hidden { opacity: 0; } .slideshow-loader-visible { opacity: 1; } /** HTML: <div class="slideshow-thumbnails"> <ul> <li><a class="slideshow-thumbnails-active" /></li> <li><a class="slideshow-thumbnails-inactive" /></li> ... <li><a class="slideshow-thumbnails-inactive" /></li> </ul> </div> Notes: Customize the active / inactive classes to affect the thumbnails animation. Use the !important keyword to override FX without affecting performance. */ .slideshow-thumbnails { bottom: -65px; height: 65px; left: 0; position: absolute; width: 100%; } .slideshow-thumbnails * { margin: 0; padding: 0; } .slideshow-thumbnails ul { height: 65px; left: 0; position: absolute; top: 0; width: 10000px; } .slideshow-thumbnails li { float: left; list-style: none; margin: 5px 5px 5px 0; position: relative; } .slideshow-thumbnails a { display: block; float: left; padding: 5px; position: relative; } .slideshow-thumbnails a:hover { background-color: #FF9 !important; opacity: 1 !important; } .slideshow-thumbnails img { display: block; } .slideshow-thumbnails-active { background-color: #9FF; opacity: 1; } .slideshow-thumbnails-inactive { background-color: #FFF; opacity: .5; }
Pagina ASP
Código:
<style type="text/css"> a { color: #404040; } a:hover { text-decoration: none; } code { color: #404040; font: normal 10px Monaco, monospace; } em { color: #808080; font-style: normal; } h1 { color: #000; font: normal 12px/16px Arial, sans-serif; padding: 0 20px 16px; text-transform: lowercase; } h1:before { content: '.'; } p { color: #404040; font: normal 12px/16px Arial, sans-serif; padding: 0 20px 16px; } /* Overriding the default Slideshow thumbnails for the vertical presentation */ .slideshow-thumbnails { height: 300px; left: auto; right: -80px; top: 0px; width: 429px; } .slideshow-thumbnails ul { height: 300px; width: 429px; } </style> <script type="text/javascript"> //<![CDATA[ window.addEvent('domready', function(){ var data = { '1mariodasneves.jpg': { caption: 'Volcano Asención in Ometepe, Nicaragua.' }, '1Obama.gif': { caption: 'A Ceibu tree.' }, '1presidenta.gif': { caption: 'The view from Volcano Maderas.' }, '1puerto-deseado.gif': { caption: 'Beer and ice cream.' } }; var myShow = new Slideshow('show', data, {controller: true, height:300 , hu: '/public/image/', thumbnails: false, width:429 }); }); //]]> </script> <div id="show" class="slideshow" style="border-bottom: 1px solid #666; margin-bottom: 10px;"> <img src="/public/image/1mariodasneves.jpg" alt="Volcano Asención in Ometepe, Nicaragua." width="300" /> </div>
desde ya muchas gracias por la ayuda que puedan brindarme