MediaWiki:Guidedtour-tour-inicio.js

Busca en cnbGuatemala con Google

Nota: tras guardar, quizás necesites actualizar la caché de tu navegador para ver los cambios.

  • Firefox/Safari: Mantén presionada la tecla Mayús mientras pulsas el botón Actualizar, o presiona Ctrl+F5 o Ctrl+R (⌘+R en Mac)
  • Google Chrome: presiona Ctrl+Shift+R (⌘+Mayús+R en Mac)
  • Internet Explorer: mantén presionada Ctrl mientras pulsas Actualizar, o presiona Ctrl+F5
  • Opera: dirígete a Menú → Configuración (Opera → Preferencias en Mac) y luego a Privacidad y seguridad → Borrar datos de navegación → Imágenes y archivos en caché.
( function ( window, document, $, mw, gt ) {	
	var pageName = 'Help:Guided tours/guider',
		tour;
	tour = new gt.TourBuilder( {	
		name: 'inicio'
	} );

	
	tour.firstStep( {
		name: 'portada',		
		title: 'Primeros pasos',		
		description: 'Esta es tu puerta de acceso al CNB en línea. ¡Sigue explorando!',
                position: 'topRight',
		overlay: true
	} )
	
	.next( 'portada1' );

	tour.step( {		
		name: 'portada1',
		title: 'Primeros pasos',
		description: 'Desde la portada puedes dirigirte al contenido de cada nivel',
		attachTo: '#p-Mallas_curriculares_por_nivel_y_.C3.A1rea',                
		position: 'left',
                overlay: false
	} )
	.next( 'portada2' )	
	.back( 'portada' );

       tour.step( {		
		name: 'portada2',
		title: 'Primeros pasos',
		description: 'También puedes llegar directamente a las mallas curriculares por área.',
		attachTo: '#n-Inicial',                
		position: 'left',
                overlay: false
	} )
	.next( 'portada3' )	
	.back( 'portada1' );


	tour.step( {
		/*
		 * Test out mediawiki description pages
		 */
		name: 'description',
		title: 'Test MediaWiki description pages',

		// Name of the page to parse
		description: pageName,

		overlay: true,

		// This means the wikitext for the description will be loaded from the
		// page name in the description field.
		onShow: gt.getPageAsDescription,

		buttons: [ {
			// This makes a button which acts like a wikilink to 'Help:Guided tours/guider'
			action: 'wikiLink',
			page: pageName,
			name: 'Go to description page',
			// This specifies that the button takes you to the next step of a process,
			// which affects its appearance.
			type: 'progressive'
		}, {
			// This makes the okay button on this step end the tour.
			action: 'end'
		} ]
	} )
	.back( 'callout' );

// The following should be the last line of your tour.
} ( window, document, jQuery, mediaWiki, mediaWiki.guidedTour ) );