Código:
<?php session_start(); $tmp =$_SESSION['array']; $folder=$_SESSION['usuario']; ?> <html> <head> <title>Video Emulado</title> <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> <script type="text/javascript" src="../jqlib/jquery.js"></script> <script src="http://dev.jquery.com/view/tags/ui/latest/ui/effects.core.js"></script> <script src="http://dev.jquery.com/view/tags/ui/latest/ui/effects.slide.js"></script> <script type="text/javascript" src="supersized.2.0.js"></script> <script type="text/javascript"> $(function(){ $.fn.supersized.options = { startwidth: 440, startheight: 380, vertical_center: 1, slideshow: 1, navigation: 1, transition: 0, //0-None, 1-Fade, 2-slide top, 3-slide right, 4-slide bottom, 5-slide left pause_hover: 0, slide_counter: 1, slide_captions: 1, slide_interval: 1000 }; $('#supersize').supersized(); }); </script> <style type="text/css"> *{ margin:0; padding:0; } a{ color:#8FC2FF; text-decoration: none; outline: none; } a:hover{ text-decoration: underline; } img{ border:none; } body { overflow:hidden; background:#000; } #content{ margin:0px auto; height:100px; width:100%; bottom:5%; z-index: 3; background:#262626 no-repeat 90%; border-top:1px solid #000; border-bottom:1px solid #4F4F4F; position:absolute; } #contentframe{ overflow: hidden; border-top:solid 1px #4F4F4F; border-bottom:1px solid #000; height: 100%; text-align:left; z-index: 3; } #slidecounter{ float:left; color:#4F4F4F; font:50px "Helvetica Neue", Arial, sans-serif; font-weight:bold; margin:18px 20px; } #slidecaption{ overflow: hidden; float:left; color:#FFF; font:26px "Helvetica Neue", Arial, sans-serif; font-weight:bold; margin:33px 0; } .stamp{ float: right; margin: 25px 20px 0 0; } #navigation{ background: url('images/navbg.gif') no-repeat; float: right; margin:22px 20px 0 0; } #loading { position: absolute; top: 49.5%; left: 49.5%; z-index: 3; width: 24px; height: 24px; text-indent: -999em; background-image: url(images/progress.gif); } #supersize{ position:fixed; top:30%; left: 10%; } #supersize img, #supersize a{ height:50%; width:50%; position:absolute; z-index: 0; } #supersize .prevslide, #supersize .prevslide img{ z-index: 1; } #supersize .activeslide, #supersize .activeslide img{ z-index: 2; } </style> </head> <body> <!--Loading display while images load--> <div id="loading"> </div> <!--Slides--> <div id="supersize"> <?php $gales='../../FTP/'.$folder.''; for($i=0; $i < count($tmp); $i++){ echo'<a href="#"><img src="'.$gales.'/'.$tmp[$i].'" title="'.$tmp[$i].'"/></a>'; } ?> </div> <!--Content area that hovers on top--> <div id="content"> <div id="contentframe"> <div id="slidecounter"><!--Slide counter--> <span class="slidenumber"></span>/<span class="totalslides"></span> </div> <div id="slidecaption"><!--Slide captions displayed here--></div> <!--Logo--> <a href="#" class="stamp"><img src=""/></a> <!--Navigation--> <div id="navigation"> <a href="#" id="prevslide"><img src="images/back_dull.gif"/></a><a href="#" id="pauseplay"><img src="images/pause_dull.gif"/></a><a href="#" id="nextslide"><img src="images/forward_dull.gif"/></a> </div> </div> </div> </body> </html>
saludos.