Diferencia entre revisiones de «MediaWiki:Guidedtour-tour-inicio.js»

De CNB
Ir a la navegación Ir a la búsqueda
Busca en cnbGuatemala con Google

 
(No se muestran 73 ediciones intermedias de 2 usuarios)
Línea 1: Línea 1:
/*
 
* Guided Tour to test guided tour features.
 
*/
 
// Copy the next line into the start of your tour.
 
 
( function ( window, document, $, mw, gt ) {
 
( function ( window, document, $, mw, gt ) {
  
// Declare a variable for use later
+
      if ( mw.config.get( 'wgPageName' ) !== 'Bienvenidos_al_Currículum_Nacional_Base' ) {
var pageName = 'Help:Guided tours/guider',
+
return;
tour;
+
}
  
tour = new gt.TourBuilder( {
+
      if (mw.cookie.get('inicio_tour')){
/*
+
                return;
* This is the name of the tour.  It must be lowercase, without any hyphen (-) or
+
        }
* period (.) characters.
+
 
*
+
     
* The page where you save an on-wiki tour must be named
+
      tour = new gt.TourBuilder( {
* MediaWiki:Guidedtour-tour-{name}.js , in this example MediaWiki:Guidedtour-tour-mytest.js
 
*/
 
 
name: 'inicio'
 
name: 'inicio'
 
} );
 
} );
  
// Information defining each tour step
+
      mw.cookie.set('inicio_tour','done');
 +
       
 +
       
 +
var pageName = 'Bienvenidos_al_Currículum_Nacional_Base',
 +
tour;
  
// This tour shows a central overlay at the start of the tour.
+
// Guiders appear in the center if another position is not specified.
 
// To specify the first step of the tour, use .firstStep instead of .step
 
 
tour.firstStep( {
 
tour.firstStep( {
name: 'overlay',
+
name: 'portada',
// Note that for on-wiki tours, we use title and description with the actual text.
+
title: 'Hola, esta es tu puerta de acceso al CNB en línea. ¡Sigue explorando!',
// The title appears in the title bar of the guider.
+
description: 'Selecciona la flecha para ver lo que puedes encontrar en esta página.',
title: 'Primeros pasos',
+
                position: 'topRight',
 +
                closeOnClickOutside: false,
 +
overlay: true
 +
} )
 +
 +
.next( 'portada1' );
  
// The description appears in the body
+
tour.step( {
description: 'Esta es tu puerta de acceso al CNB en línea. ¡Sigue explorando!',
+
name: 'portada1',
                position: 'right',
+
title: 'Desde la portada puedes explorar los niveles del currículo.',
 +
description: '',
 +
attachTo: '#Inicial-y-Preprimaria-main',              
 +
position: 'top',
 +
                closeOnClickOutside: false,
 +
                overlay: false,
 +
} )
 +
.next( 'portada2' )
 +
.back( 'portada' );
  
// This specifies that there is an overlay behind the guider.
+
      tour.step( {
overlay: true
+
name: 'portada2',
 +
title: 'Selecciona [Expandir] para ver el contenido de cada nivel.',
 +
description: 'Pruébalo ahora, que no interrumpirás esta guía.',
 +
attachTo: '#Tabla-contenidos-del-CNB-expand',               
 +
position: 'top',
 +
                closeOnClickOutside: false,
 +
                overlay: false,
 
} )
 
} )
// This specifies the next step of the tour, and will automatically generate a next button.
+
.next( 'portada3' )
// 'callout' refers to the name used in the step immediately below.  Although putting the steps
+
.back( 'portada1' );
// in a meaningful order is recommended, any step can be specified as next/back.
 
.next( 'callout' );
 
  
tour.step( {
+
      tour.step( {
/*
+
name: 'portada3',
* Callout of left menu
+
title: 'Aquí puedes llegar directamente a las mallas curriculares por área.',
*/
+
description: 'Selecciona la cabeza de flecha (el triángulo a la izquierda) para abrir y cerrar las opciones del menú. No interrumpe esta guía.',
name: 'callout',
+
attachTo: 'div[id^="p-Mallas_curriculares_Inicia"]',               
title: 'Test callouts',
+
position: 'left',
description: 'This is the community portal page.',
+
                 closeOnClickOutside: false,
 
+
                 overlay: false
                 // This positions the guider next to a page element, in this
+
} )
                 // case the portal link (which is "Community portal" on English
+
.next( 'portada4' )
                // Wikipedia, but varies by site).
+
.back( 'portada2' );
                // The string is a jQuery selector. "#n-portal" means the HTML
 
                // element with this id attribute, and "a" means an a, or link,
 
                // element inside that.
 
attachTo: '#n-portal a',
 
  
                // This means the guider shows to the right of the Community Portal link
+
      tour.step( {
 +
name: 'portada4',
 +
title: '¡Además puedes seguir lo que se comenta en las redes sociales!',
 +
description: '',
 +
attachTo: '#twitterMainLink',               
 
position: 'right',
 
position: 'right',
 +
                closeOnClickOutside: false,
 +
                overlay: false
 +
} )
 +
.next( 'portada5' )
 +
.back( 'portada3' );
 +
       
 +
      tour.step( {
 +
name: 'portada5',
 +
title: 'Los 4 módulos te orientarán para aplicar el currículo en el aula...',
 +
description: '',
 +
attachTo: '#modulo-fundamentos-id',               
 +
position: 'top',
 +
                closeOnClickOutside: false,
 +
                overlay: false
 
} )
 
} )
.next( 'description' )
+
.next( 'portada6' )
// The 'back' property specifies that you can go back from this step, and where to go
+
.back( 'portada4' );
// if the back button is clicked.
 
.back( 'overlay' );
 
  
tour.step( {
+
      tour.step( {
/*
+
name: 'portada6',
* Test out mediawiki description pages
+
title: '... y sin duda encontrarás material interesante en estas secciones de recursos complementarios.',
*/
+
description: '',
name: 'description',
+
attachTo: '#p-Recursos_de_Lectoescritura',               
title: 'Test MediaWiki description pages',
+
position: 'left',
 
+
                closeOnClickOutside: false,
// Name of the page to parse
+
                overlay: false
description: pageName,
+
} )
 
+
.next( 'portada7' )
overlay: true,
+
.back( 'portada5' );
 
+
       
// This means the wikitext for the description will be loaded from the
+
      tour.step( {
// page name in the description field.
+
name: 'portada7',
onShow: gt.getPageAsDescription,
+
title: '¿Tienes preguntas? Consulta la sección de ayuda. Y ¡sigue explorando el sitio!',
 
+
description: '',
buttons: [ {
+
        attachTo: '#p-Ayuda_y_otros',              
// This makes a button which acts like a wikilink to 'Help:Guided tours/guider'
+
position: 'right',
action: 'wikiLink',
+
                closeOnClickOutside: false,
page: pageName,
+
                overlay: false
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' );
+
.back( 'portada6' );
 +
     
  
// The following should be the last line of your tour.
 
 
} ( window, document, jQuery, mediaWiki, mediaWiki.guidedTour ) );
 
} ( window, document, jQuery, mediaWiki, mediaWiki.guidedTour ) );

Revisión actual del 09:28 10 mar 2017

( function ( window, document, $, mw, gt ) {

       if ( mw.config.get( 'wgPageName' ) !== 'Bienvenidos_al_Currículum_Nacional_Base' ) {
		return;
	}

       if (mw.cookie.get('inicio_tour')){
                return;
        }

       
       tour = new gt.TourBuilder( {	
		name: 'inicio'
	} );

       mw.cookie.set('inicio_tour','done');
        
        	
	var pageName = 'Bienvenidos_al_Currículum_Nacional_Base',
		tour;	

	
	tour.firstStep( {
		name: 'portada',		
		title: 'Hola, esta es tu puerta de acceso al CNB en línea. ¡Sigue explorando!',		
		description: 'Selecciona la flecha para ver lo que puedes encontrar en esta página.',
                position: 'topRight',
                closeOnClickOutside: false,
		overlay: true
	} )
	
	.next( 'portada1' );

	tour.step( {		
		name: 'portada1',
		title: 'Desde la portada puedes explorar los niveles del currículo.',
		description: '',
		attachTo: '#Inicial-y-Preprimaria-main',                
		position: 'top',
                closeOnClickOutside: false,
                overlay: false,
	} )
	.next( 'portada2' )	
	.back( 'portada' );

       tour.step( {		
		name: 'portada2',
		title: 'Selecciona [Expandir] para ver el contenido de cada nivel.',
		description: 'Pruébalo ahora, que no interrumpirás esta guía.',
		attachTo: '#Tabla-contenidos-del-CNB-expand',                
		position: 'top',
                closeOnClickOutside: false,
                overlay: false,
	} )
	.next( 'portada3' )	
	.back( 'portada1' );

       tour.step( {		
		name: 'portada3',
		title: 'Aquí puedes llegar directamente a las mallas curriculares por área.',
		description: 'Selecciona la cabeza de flecha (el triángulo a la izquierda) para abrir y cerrar las opciones del menú. No interrumpe esta guía.',
		attachTo: 'div[id^="p-Mallas_curriculares_Inicia"]',                
		position: 'left',
                closeOnClickOutside: false,
                overlay: false
	} )
	.next( 'portada4' )	
	.back( 'portada2' );

       tour.step( {		
		name: 'portada4',
		title: '¡Además puedes seguir lo que se comenta en las redes sociales!',
		description: '',
		attachTo: '#twitterMainLink',                
		position: 'right',
                closeOnClickOutside: false,
                overlay: false
	} )
	.next( 'portada5' )	
	.back( 'portada3' );
        
       tour.step( {		
		name: 'portada5',
		title: 'Los 4 módulos te orientarán para aplicar el currículo en el aula...',
		description: '',
		attachTo: '#modulo-fundamentos-id',                
		position: 'top',
                closeOnClickOutside: false,
                overlay: false
	} )
	.next( 'portada6' )	
	.back( 'portada4' );

       tour.step( {		
		name: 'portada6',
		title: '... y sin duda encontrarás material interesante en estas secciones de recursos complementarios.',
		description: '',
		attachTo: '#p-Recursos_de_Lectoescritura',                
		position: 'left',
                closeOnClickOutside: false,
                overlay: false
	} )
	.next( 'portada7' )	
	.back( 'portada5' );
        
       tour.step( {		
		name: 'portada7',
		title: '¿Tienes preguntas? Consulta la sección de ayuda. Y ¡sigue explorando el sitio!',
		description: '',
        	attachTo: '#p-Ayuda_y_otros', 	               
		position: 'right',
                closeOnClickOutside: false,
                overlay: false
	} )
	.back( 'portada6' );
       

} ( window, document, jQuery, mediaWiki, mediaWiki.guidedTour ) );

Conjunto de experiencias, planificadas o no, que tienen lugar en los centros educativos como posibilidad de aprendizaje del alumnado. Una perspectiva tradicional acentúa el carácter de plan (con elementos como objetivos, contenidos, metodología y evaluación), frente a un enfoque práctico que destaca las experiencias vividas en el proceso educativo.

En el continuo de coaching es el rol de ser muy directo y enseñar, mostrar, guiar, etc.

Término introducido por Le Boterf, entendido como los conocimientos, procedimientos y actitudes que es preciso emplear para resolver una situación. Unos son recursos internos, que posee la persona, tales como conocimientos, procedimientos y actitudes