Cambios

Busca en cnbGuatemala con Google

sin resumen de edición
Línea 6: Línea 6:     
     if (mw.cookie.get('buscar_tour')){
 
     if (mw.cookie.get('buscar_tour')){
         //return;
+
         return;
 
     }
 
     }
   Línea 20: Línea 20:  
     tour.firstStep( {
 
     tour.firstStep( {
 
         name: 'buscar',
 
         name: 'buscar',
         title: '¿Buscas algo?',
+
         title: '¿Buscas algo? <br> ¡Es muy fácil encontrar material <br> en el CNB en línea!',
        description: '¡Es muy fácil encontrar material en el CNB en línea!',
+
        description: 'Puedes buscar contenido de dos maneras: con el buscador wiki o con el buscador de Google ubicado al final del menú lateral.',
 
         position: 'topLeft',
 
         position: 'topLeft',
 
         attachTo: '#p-search',
 
         attachTo: '#p-search',
Línea 113: Línea 113:  
     overlay: false
 
     overlay: false
 
} )
 
} )
     .next( 'buscar9' )
+
     .next( 'buscar6' )
 
     .back( 'buscar4' );
 
     .back( 'buscar4' );
   Línea 122: Línea 122:  
     description: '¡Pruébalo! Escribe <i>criterio +evaluativo</i> o <i>criterio -evaluativo</i>, presiona la tecla <i>Enter</i> y observa los resultados.',
 
     description: '¡Pruébalo! Escribe <i>criterio +evaluativo</i> o <i>criterio -evaluativo</i>, presiona la tecla <i>Enter</i> y observa los resultados.',
 
     attachTo: '#p-search',
 
     attachTo: '#p-search',
     position: 'left',
+
     position: 'bottomLeft',
 
     closeOnClickOutside: false,
 
     closeOnClickOutside: false,
 
     allowAutomaticOkay: false,
 
     allowAutomaticOkay: false,
Línea 141: Línea 141:  
     .back( 'buscar5' )
 
     .back( 'buscar5' )
 
     .next( 'buscar7' );
 
     .next( 'buscar7' );
        Línea 152: Línea 151:  
     closeOnClickOutside: false,
 
     closeOnClickOutside: false,
 
     overlay: false,
 
     overlay: false,
    buttons: [ {
  −
        name: 'Mostrar ejemplo',
  −
        onclick: function () {
  −
            $('#cse-search-box input[type="text"]').focus();
  −
            $('#cse-search-box input[type="text"]').val('criterio');
  −
            $('#cse-search-box input[type="text"]').focus();
  −
  −
        }
  −
    } ],
   
} )
 
} )
 
     .back( 'buscar6' )
 
     .back( 'buscar6' )
 
     .next( 'buscar8' );
 
     .next( 'buscar8' );
 +
 +
 
tour.step( {
 
tour.step( {
 
     name: 'buscar8',
 
     name: 'buscar8',