Ver Mensaje Individual
  #1 (permalink)  
Antiguo 11/09/2012, 08:52
Avatar de ceaped
ceaped
 
Fecha de Ingreso: febrero-2004
Mensajes: 2.185
Antigüedad: 20 años, 3 meses
Puntos: 9
Pregunta Galería nivo-slider con problemas de carga

Buenos días
Utilizo la galería "nivo-slider" y me funciona bien pero tiene un detalle y es

que cuando uno entra a la página se carga todas las imágenes encima del

contenido.

Las imágenes no son pesadas pesan en promedio 100 K.
Cargo 4 imagenes en el banner.
La página no tiene elementos pesados, es sólo el banner y texto.
Utilizo 2 formas de cargarlas.

1.
Código Javascript:
Ver original
  1. $(window).load(function() {
  2. $('#slider').nivoSlider();
  3.  });

2.
Código Javascript:
Ver original
  1. <script type="text/javascript">
  2. $(window).load(function() {
  3. $('#slider').nivoSlider({
  4. effect: 'random', // Specify sets like: 'fold,fade,sliceDown'
  5. slices: 15, // For slice animations
  6. boxCols: 8, // For box animations
  7. boxRows: 4, // For box animations
  8. animSpeed: 500, // Slide transition speed
  9. pauseTime: 3000, // How long each slide will show
  10. startSlide: 0, // Set starting Slide (0 index)
  11. directionNav: true, // Next & Prev navigation
  12. directionNavHide: true, // Only show on hover
  13. controlNav: false, // 1,2,3... navigation
  14. controlNavThumbs: false, // Use thumbnails for Control Nav
  15. pauseOnHover: true, // Stop animation while hovering
  16. manualAdvance: false, // Force manual transitions
  17. prevText: 'Prev', // Prev directionNav text
  18. nextText: 'Next', // Next directionNav text
  19. randomStart: false, // Start on a random slide
  20. beforeChange: function(){}, // Triggers before a slide transition
  21. afterChange: function(){}, // Triggers after a slide transition
  22. slideshowEnd: function(){}, // Triggers after all slides have been shown
  23. lastSlide: function(){}, // Triggers when last slide is shown
  24. afterLoad: function(){} // Triggers when slider has loaded
  25. });
  26. });
  27. </script>

Pero en ambas se me cargan al entrar a la página las cuatro imágenes

verticalmente

¿Cómo puedo hacer que no se carguen así las imágenes?

Gracias por su ayuda
__________________
Diseñador Gráfico publicitario