Ver Mensaje Individual
  #2 (permalink)  
Antiguo 11/03/2008, 09:34
Avatar de GatorV
GatorV
$this->role('moderador');
 
Fecha de Ingreso: mayo-2006
Ubicación: /home/ams/
Mensajes: 38.567
Antigüedad: 18 años
Puntos: 2135
Re: Paginación con Divs

Yo este tipo de paginación la hago con Prototype, pero te puede dar una idea:
Código:
var currentStep = 1;

function goNext() {
	Element.hide( 'step' + currentStep );
	++currentStep;
	Element.show( 'step' + currentStep );
}

function goPrev() {
	Element.hide( 'step' + currentStep );
	--currentStep;
	Element.show( 'step' + currentStep );
}

Event.observe(window, 'load', function() {
	Element.hide( 'step2' );
	Element.hide( 'step3' );
	Element.hide( 'step4' );
});
Luego tengo cada Div con su id="step1", o "step2", o "stepN". Espero te sea de utilidad.

Saludos.