Hacer una galería de fotos con Slimbox


/ Published in: JavaScript
Save to your folder(s)

Slimbox es igual que Lightbox pero ocupa mucho menos


Copy this code and paste it in your HTML
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  2. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  3.  
  4. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="es" lang="es">
  5. <head>
  6. <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  7. <title>Galerías de fotos con Lightbox</title>
  8.  
  9. <link rel="stylesheet" type="text/css" href="css/slimbox2.css" />
  10. <script type="text/javascript" src="../comun/js/jquery-1.4.2.min.js"></script>
  11. <script type="text/javascript" src="js/slimbox2.js"></script>
  12.  
  13. </head>
  14. <body>
  15. <a rel="lightbox-playas" title="Foto 1" href="../comun/imagenes/foto1-grande.jpg">
  16. <img src="../comun/imagenes/foto1.jpg" />
  17. </a>
  18. </br></br></br></br>
  19. <a rel="lightbox-playas" title="Foto 2" href="../comun/imagenes/foto2-grande.jpg">
  20. <img src="../comun/imagenes/foto2.jpg" />
  21. </a>
  22.  
  23. </body>
  24. </html>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.