PageSourceSearch

https://www.poderjudicialqro.gob.mx/_js/funGeneral.js?1.0.0

js poderjudicialqro.gob.mx collected 2026-10-09 22:32:58 UTC 5,883 bytes, 187 lines download raw bytes

1
2	function create_external(the_id,url,objifr_style)
3	{
4		//alert()
5		var inserted=document.getElementById(the_id);
6		if(/*@cc_on!@*/false)
7		{
8			inserted.innerHTML='<iframe src="' + url + '" style="'+ objifr_style +'"><\/iframe>'
9		}
10		else 
11		{//while (inserted.firstChild)
12			//{
13			//inserted.removeChild(inserted.firstChild);
14			//}
15			OBJ = document.createElement("object");
16			OBJ.setAttribute('type','text/html');
17			OBJ.setAttribute('data',url);
18			OBJ.setAttribute('id','elframelogin');
19			OBJ.setAttribute('style',objifr_style);
20			inserted.appendChild(OBJ);
21		}
22	}
23
24	function showPop( whichPop )
25	{
26		//alert(whichPop);
27		$("#"+ whichPop).html("<a href=''>Acceso a usuarios</a>")
28		/*var elem, vis;
29		elem = document.getElementById( whichPop );
30		vis = elem.style;
31		vis.display='block';
32		document.getElementById("ellogin").innerHTML = "<a href=''>Acceso a usuarios</a>";	*/
33	}
34
35	function ocultaAcceso()
36	{
37		var elem;
38		$("#elframelogin").hide()
39
40		//elem = document.getElementById("elframelogin");
41		//alert(elem.style.display);
42		//elem.style.display="none";			
43		$("#ellogin").css("display", "block").html("<a href='javascript:void(0)' onclick='showPop('ellogin');create_external('ellogin', 'sesion/accesar.php', 'position:absolute; width:200px; height:190px; left:10%; border:0px solid #BCC0AE; top:85%; background-color: #BCC0AE'); return false'>Acceso a usuarios</a>")
44
45		//alert( $("#ellogin").html() )
46		//elem2 = document.getElementById("ellogin" );
47		//elem2.style.display='block';		
48		//elem2.innerHTML = 	"<a href='javascript:void(0)' onclick='showPop('ellogin');create_external('ellogin', 'sesion/accesar.php', 'position:absolute; width:200px; height:190px; left:10%; border:0px solid #BCC0AE; top:85%; background-color: #BCC0AE'); return false'>Acceso a usuarios</a>";
49		showPop("ellogin");
50				
51	}
52
53	function showMenuOculto()
54	{
55		//alert($("#menuOculto").is(":visible"))
56		var elem, vis;
57		elem = document.getElementById("menuOculto");
58		//alert(elem.style.display);
59		if (elem.style.display=="block")
60			elem.style.display="none";
61		else	
62			elem.style.display="block";
63		//*/
64
65	}
66
67(function($) {  
68    $.get = function(key)   {  
69        key = key.replace(/[\[]/, '\\[');  
70        key = key.replace(/[\]]/, '\\]');  
71        var pattern = "[\\?&]" + key + "=([^&#]*)";  
72        var regex = new RegExp(pattern);  
73        var url = unescape(window.location.href);  
74        var results = regex.exec(url);  
75        if (results === null) {  
76            return null;  
77        } else {  
78            return results[1];  
79        }  
80    }  
81})(jQuery);  
82
83
84var optDataTable = { 
85    autoFill: true,
86    pageLength: 25,
87   
88    "language": {
89        "lengthMenu": "Mostrando _MENU_ registros por pagina",
90        "zeroRecords": "No se encontraron resultados - los sentimos",
91        "info": "Mostrando _START_ de _END_ de _TOTAL_ registros",
92        "infoEmpty": "<br><br>Registros no disponibles",
93        "infoFiltered": "(filtro de _MAX_ total registros)",
94        "search":  "Buscar: ",
95        "zeroRecords":    "Ninguna coicidencia encontrada",
96        "paginate": {
97            "first":      "Inicio",
98            "last":       "Ultimo",
99            "next":       "Siguiente",
100            "previous":   "Previo"
101        }
102    }
103    
104}; 
105
106var optDataTable2 = { 
107    autoFill: true,
108    pageLength: 100,
109   
110    "language": {
111        "lengthMenu": "Mostrando _MENU_ registros por pagina",
112        "zeroRecords": "No se encontraron resultados - los sentimos",
113        "info": "Mostrando _START_ de _END_ de _TOTAL_ registros",
114        "infoEmpty": "Registros no disponibles",
115        "infoFiltered": "(filtro de _MAX_ total registros)",
116        "search":  "Buscar: ",
117        "zeroRecords":    "Ninguna coicidencia encontrada",
118        "paginate": {
119            "first":      "Inicio",
120            "last":       "Ultimo",
121            "next":       "Siguiente",
122            "previous":   "Previo"
123        }
124    }
125    
126}; 
127var optDataTableBoletin = { 
128    autoFill: true,
129    pageLength: 5,
130    lengthMenu: [ 5,10],
131    pagingType :'simple',
132    paging:   true,
133    ordering: false,
134    "language": {
135        "lengthMenu": "Mostrando _MENU_ registros por pagina.",
136        "zeroRecords": "No se encontraron resultados - los sentimos",
137        "info": "Mostrando _START_ de _END_ de _TOTAL_ registros",
138        "infoEmpty": "Registros no disponibles",
139        "infoFiltered": "(filtro de _MAX_ total registros)",
140        "search":  "Buscar: ",
141        "zeroRecords":    "Ninguna coicidencia encontrada",
142        "paginate": {
143            "first":      "Inicio",
144            "last":       "Ultimo",
145            "next":       "Siguiente",
146            "previous":   "Previo"
147        }
148    }
149    
150}; 
151
152/*******************************************************************************************************************/
153//libreria general JS
154
155function muestraMensajeA(estilo, objeto, mensaje){
156	objeto.after('<div class="alert '+estilo+'" role="alert">'+mensaje+'</div>');
157}
158
159//accion para mostrar un loading 
160function muestraLoading(obj, momento ){
161    momento = momento || 'Despues';
162    img = "<img src='images/wait.gif' class='imgLoading' />";
163    if(momento ===  "Antes"){
164        obj.before(img);
165    }else if (momento ==="Despues"){
166        obj.after(img);
167    }
168}
169//remover loadings
170function ocultaLoading(){
171    $(".imgLoading").remove()
172}
173
174
175function esperaSubmit(objBoton){
176    //ocultamos el boton del contenido
177    objBoton.hide();
178    //cargamos un loadin haber como sale
179    muestraLoading(objBoton, 'Despues' );
180}
181
182function cargamosSubmit(objBoton){
183    //mostramos el tr del boton
184    objBoton.show();
185    //removemos el loading
186    ocultaLoading();
187}

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.