PageSourceSearch

https://www.ulagos.cl/wp-content/themes/ulagos2026/funciones/postgrado/cursos/hero.js?ver=2.0.0

js ulagos.cl collected 2026-10-01 11:31:26 UTC 1,106 bytes, 40 lines download raw bytes

1
2    var elmnt = document.getElementById("menuprin");
3    var elemento = document.getElementById("barra");
4
5
6    //var altura = $('.menu1').offset().top;
7      
8      var altura = $('#menuprin').offset().top;
9
10      $(window).on('scroll', function(){
11
12
13
14     if( elmnt.offsetWidth > '1023') {
15
16            if ( $(window).scrollTop() > altura ){
17              
18            
19              $('#menuprin').addClass('navbar-fixed-top'); 
20              
21              if(elemento === null){
22              $( '.section3-destacadoshero' ).css( "margin-top", "96px" );
23              }else{
24                  $( '.section3-destacadoshero' ).css( "margin-top", "auto" );
25
26              }
27
28            } else { 
29              $('#menuprin').removeClass('navbar-fixed-top'); // agrega la clase que vuelve invisible el menu 2
30              $( '.section3-destacadoshero' ).css( "margin-top", "auto" );
31              $( '#barra' ).css( "margin-top", "auto" );
32              
33
34              //$('#color0').removeClass('color0-fixed'); // agrega la clase que vuelve invisible el menu 2
35            }
36
37
38      }
39
40          });

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.