PageSourceSearch

https://www.medicinacutaneaila.com/js/functions.js

js medicinacutaneaila.com collected 2026-10-08 08:11:02 UTC 2,214 bytes, 112 lines download raw bytes

1function nuevoAjax()
2{ 
3	/* Crea el objeto AJAX. Esta funcion es generica para cualquier utilidad de este tipo, por
4	lo que se puede copiar tal como esta aqui */
5	
6	var xmlhttp=false; 
7	try 
8	{ 
9		// Creacion del objeto AJAX para navegadores no IE
10		xmlhttp=new ActiveXObject("Msxml2.XMLHTTP"); 
11	}
12	catch(e)
13	{ 
14		try
15		{ 
16			// Creacion del objet AJAX para IE 
17			xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); 
18		} 
19		catch(E) { xmlhttp=false; }
20	}
21	if (!xmlhttp && typeof XMLHttpRequest!='undefined') { xmlhttp=new XMLHttpRequest(); } 
22
23	return xmlhttp; 
24}
25
26$(function() {
27  // Closes the Responsive Menu on Menu Item Click
28$('.navbar-collapse ul li a').click(function() {
29    $('.navbar-toggle:visible').click();
30});
31
32});
33
34 $(document).ready(function(){
35 $('ul.nav li').mouseenter(function(e) {
36								 
37		 
38          $(this).children('ul').slideDown(200);
39 
40			 
41        }).mouseleave(function(e) {
42
43            $(this).children('ul').slideUp();
44        });	 
45
46$('.btnAbstract').click(function(e){
47			$("#abstract").fadeIn();
48			var idarticulo = $(this).attr('data');
49			
50			ajax=nuevoAjax();
51			ajax.open("GET","ajax_fns.php?tipo=abstract&id="+idarticulo);
52			ajax.onreadystatechange=function() 
53				{ 
54				if (ajax.readyState==1)
55				{
56					 
57				}
58				if (ajax.readyState==4)
59				{
60						$("#abstract #content").html(ajax.responseText);
61  
62				}
63			}
64			ajax.send(null);
65
66			$('html, body').stop().animate({
67			
68			scrollTop: $('#abstract').offset().top - 100	}, 1000);
69			e.stopPropagation();
70			
71});
72
73
74		
75		$(".close").click(function() {
76			$("#abstract").fadeOut();
77		});
78		/*$('body').click(function() {
79			$("#abstract").fadeOut();
80		});	*/
81		
82		
83}); 
84
85function cargarAbstract(elm){
86		    $("#abstract").fadeIn();
87			var idarticulo = $(elm).attr('data');
88			
89			ajax=nuevoAjax();
90			ajax.open("GET","ajax_fns.php?tipo=abstract&id="+idarticulo);
91			ajax.onreadystatechange=function() 
92				{ 
93				if (ajax.readyState==1)
94				{
95					 
96				}
97				if (ajax.readyState==4)
98				{
99					 
100						$("#abstract #content").html(ajax.responseText);
101  
102				}
103			}
104			ajax.send(null);
105
106			$('html, body').stop().animate({
107			
108			scrollTop: $('#abstract').offset().top - 100	}, 1000);
109			//e.stopPropagation();
110	
111	
112}

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.