Foros del Web » Programando para Internet » Jquery »

(jQuery) Modificar jQuery cycle plugin

Estas en el tema de (jQuery) Modificar jQuery cycle plugin en el foro de Jquery en Foros del Web. Arme un Carrusel donde pasan las imagenes en forma individual . Sin embago necesito mover esas imagenes en bloques de a 4 imagenes. El plugin ...
  #1 (permalink)  
Antiguo 09/11/2011, 13:29
 
Fecha de Ingreso: marzo-2008
Mensajes: 1.020
Antigüedad: 16 años, 1 mes
Puntos: 21
(jQuery) Modificar jQuery cycle plugin

Arme un Carrusel donde pasan las imagenes en forma individual. Sin embago necesito mover esas imagenes en bloques de a 4 imagenes.

El plugin lo pueden ver aca:
Documentacion: http://malsup.com/jquery/cycle/options.html
Ejemplo: http://www.malsup.com/jquery/cycle/scrollhv.html


Código Javascript:
Ver original
  1. <script type="text/javascript">
  2.  
  3.  
  4. $(document).ready(function() {
  5.         $("#slide").cycle({
  6.             speed:  'slow',
  7.             timeout: 0,
  8.             sync: 1,
  9.             fx: 'scrollHorz',
  10.             next: '.next',
  11.             prev: '.previous'
  12.         });
  13.  
  14.     $(function(){
  15.         $("img.roll").mouseover(function(){
  16.             $('.download').hide();
  17.             $(this).parents('.box').find('.download').show().css({ "visibility" : "visible" });
  18.         });
  19.        
  20.     });
  21.  
  22. });
  23. </script>

Código HTML:
Ver original
  1. <section id="slider" class="container">         <div id="slide">             <a href="[URL="http://www.forosdelweb.com/view-source:http://www.smuld.com/clientes/vintage-guitar/#"]#[/URL]"><img class="roll left" alt="Taylor" src="[URL="http://www.forosdelweb.com/view-source:http://www.smuld.com/clientes/vintage-guitar/img/vintage-guitar-img.png"]img/vintage-guitar-img.png[/URL]" /></a>             <a href="[URL="http://www.forosdelweb.com/view-source:http://www.smuld.com/clientes/vintage-guitar/#"]#[/URL]"><img class="roll left" alt="Taylor" src="[URL="http://www.forosdelweb.com/view-source:http://www.smuld.com/clientes/vintage-guitar/img/vintage-guitar-img.png"]img/vintage-guitar-img.png[/URL]" /></a>             <a href="[URL="http://www.forosdelweb.com/view-source:http://www.smuld.com/clientes/vintage-guitar/#"]#[/URL]"><img class="roll left" alt="Taylor" src="[URL="http://www.forosdelweb.com/view-source:http://www.smuld.com/clientes/vintage-guitar/img/vintage-guitar-img.png"]img/vintage-guitar-img.png[/URL]" /></a>             <a href="[URL="http://www.forosdelweb.com/view-source:http://www.smuld.com/clientes/vintage-guitar/#"]#[/URL]"><img class="roll left" alt="Taylor" src="[URL="http://www.forosdelweb.com/view-source:http://www.smuld.com/clientes/vintage-guitar/img/vintage-guitar-img.png"]img/vintage-guitar-img.png[/URL]" /></a>         </div>     <a href="[URL="http://www.forosdelweb.com/view-source:http://www.smuld.com/clientes/vintage-guitar/#"]#[/URL]" class="previous"><img alt="Anterior" src="[URL="http://www.forosdelweb.com/view-source:http://www.smuld.com/clientes/vintage-guitar/img/vintage-back.png"]img/vintage-back.png[/URL]" /></a>     <a href="[URL="http://www.forosdelweb.com/view-source:http://www.smuld.com/clientes/vintage-guitar/#"]#[/URL]" class="next"><img alt="Siguiente" src="[URL="http://www.forosdelweb.com/view-source:http://www.smuld.com/clientes/vintage-guitar/img/vintage-fw.png"]img/vintage-fw.png[/URL]" /></a>     </section>
__________________
_
  #2 (permalink)  
Antiguo 09/11/2011, 21:12
Avatar de newboy_master  
Fecha de Ingreso: enero-2008
Ubicación: Granada
Mensajes: 882
Antigüedad: 16 años, 3 meses
Puntos: 46
Respuesta: (jQuery) Modificar jQuery cycle plugin

Revisa el código fuente de este ejemplo:
http://www.malsup.com/jquery/cycle/div.html

Salu2.
__________________
@jslirola - Programador Web Freelance.

Etiquetas: Ninguno
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 04:04.