Cambios

Busca en cnbGuatemala con Google

sin resumen de edición
Línea 2: Línea 2:     
     tour = new gt.TourBuilder({
 
     tour = new gt.TourBuilder({
         name: 'mallahipertextoa'
+
         name: 'mallahipertexto'
 
     });
 
     });
    +
    if (mw.cookie.get('mallahipertexto_tour')) {
 +
        return;
 +
    }
 +
 +
    mw.cookie.set('mallahipertexto_tour', 'done');   
 +
 +
    var recursosUrl = window.location.toString();
 +
    recursosUrl = recursosUrl .replace("title=", 'title=Recursos:');
 +
    recursosUrl = recursosUrl .replace("&tour=mallahipertexto", '&tour=mallahipertextorecursos');
 +
    $("#ca-Recursos span a").prop("href", recursosUrl );
 +
 +
    tour.firstStep({
 +
        name: 'mallahipertexto',
 +
        title: '¡Esta malla curricular tiene recursos educativos alineados!',
 +
        description: 'Esto significa que hay recursos educativos vinculados a las competencias y los saberes (contenidos).',
 +
        position: 'topLeft',
 +
        closeOnClickOutside: false,
 +
        overlay: true
 +
    })
 +
 +
        .next('mallahipertexto1');
 +
 +
    tour.step({
 +
        name: 'mallahipertexto1',
 +
        title: 'Además de identificar los aprendizajes deseados, podrás encontrar materiales que te ayudarán a lograrlos.',
 +
        description: '',
 +
        attachTo: 'table.wikitable',
 +
        position: 'top',
 +
        closeOnClickOutside: false,
 +
        overlay: false
 +
    })
 +
        .next('mallahipertexto2')
 +
        .back('mallahipertexto');
 +
 +
    tour.step({
 +
        name: 'mallahipertexto2',
 +
        title: 'Observa los colores del texto. Todo lo que está en azul es un hipervínculo.',
 +
        description: '',
 +
        attachTo: 'table.wikitable th:first-child',
 +
        position: 'topRight',
 +
        closeOnClickOutside: false,
 +
        overlay: false
 +
    })
 +
        .next('mallahipertexto3')
 +
        .back('mallahipertexto1');
 +
 +
    tour.step({
 +
        name: 'mallahipertexto3',
 +
        title: 'También puedes ver todos los recursos asociados a la malla desde la pestaña "Recursos".',
 +
        description: 'Pruébalo ahora y ¡aprovéchalos! Hay videos, animaciones y sitios web informativos.',
 +
        attachTo: '#ca-Recursos',
 +
        position: 'bottomRight',
 +
        closeOnClickOutside: false,
 +
        overlay: false,
 +
 +
        buttons: [{
 +
            name: 'Muéstrame cómo',
 +
            onclick: function () {
 +
                //mw.guidedTour.launcher.launchTour('mallahipertexto','gt-mallahipertexto-4');
 +
                //mw.guidedTour.launcher.launchTour('mallahipertexto');
 +
                var url = window.location.toString();
 +
                url = url.replace("title=", 'title=Recursos:');
 +
                url = url.replace("&tour=mallahipertexto", '&tour=mallahipertextorecursos');                       
 +
                window.location = url ;
 +
                //mw.libs.guiders.next();
 +
            }
 +
        }],
 +
 +
    })       
 +
        .back('mallahipertexto2');
    
}(window, document, jQuery, mediaWiki, mediaWiki.guidedTour) );
 
}(window, document, jQuery, mediaWiki, mediaWiki.guidedTour) );