1 2(function($){ 3 $.noConflict(); 4 $(document).ready(function(){ 5 6 var mostrarMenuAbout = false; 7 var mostrarMenuProf = false; 8 var mostrarMenu = false; 9 var mostrarMenuTec = false; 10 var mostrarMenuCiencia = false; 11 12 var currentYear = new Date().getFullYear(); 13 $('#current-year').text(currentYear); 14 15 $("#ver-mas-metodologia").click(function() { 16 17 $('#completo-texto-metodologia').toggle("linear"); 18 $('#incompleto-texto-metodologia').toggle(); 19 if(screen.width < 600){ 20 $('#card1-indicators').attr("style","height: 41rem;"); 21 $('#btn-orange-metodologia').attr("style","top: 100%;"); 22 $('#enlaces-metodologia').attr("style","top: 120px;"); 23 }else{ 24 $('#card1-indicators').attr("style","height: 52rem;"); 25 $('#btn-orange-metodologia').attr("style","top: 100%;"); 26 $('#enlaces-metodologia').attr("style","top: 120px;"); 27 } 28 29 }); 30 31 $("#ver-menos-metodologia").click(function() { 32 $('#card1-indicators').attr("style","height: 270px;"); 33 $('#btn-orange-metodologia').attr("style","top: 115%;"); 34 $('#enlaces-metodologia').attr("style","top: 47%;"); 35 $('#completo-texto-metodologia').toggle("linear"); 36 $('#incompleto-texto-metodologia').toggle(); 37 38 }); 39 40 $("#ver-mas-revista").click(function() { 41 42 $('#enlaces-revista').attr("style","top: 120px;"); 43 $('#completo-texto-revista').toggle("linear"); 44 $('#incompleto-texto-revista').toggle(); 45 if(screen.width < 600){ 46 $('#card2-indicators').attr("style","height: 29rem;"); 47 $('#btn-pink-revista').attr("style","top: 100%;"); 48 }else{ 49 $('#card2-indicators').attr("style","height: 33.5rem;"); 50 $('#btn-pink-revista').attr("style","top: 100%;"); 51 } 52 53 }); 54 55 $("#ver-menos-revista").click(function() { 56 $('#card2-indicators').attr("style","height: 270px;"); 57 $('#btn-pink-revista').attr("style","top: 115%;"); 58 $('#enlaces-revista').attr("style","top: 47%;"); 59 $('#completo-texto-revista').toggle("linear"); 60 $('#incompleto-texto-revista').toggle(); 61 62 }); 63 $("#ver-mas-institucion").click(function() { 64 65 $('#completo-texto-institucion').toggle("linear"); 66 $('#incompleto-texto-institucion').toggle(); 67 if(screen.width < 600){ 68 $('#card3-indicators').attr("style","height: 29rem;"); 69 $('#btn-purple-institucion').attr("style","top: 107%;"); 70 $('#enlaces-institucion').attr("style","top: 120px;"); 71 }else{ 72 $('#card3-indicators').attr("style","height: 33.5rem;"); 73 $('#btn-purple-institucion').attr("style","top: 107%;"); 74 $('#enlaces-institucion').attr("style","top: 120px;"); 75 } 76 77 }); 78 79 $("#ver-menos-institucion").click(function() { 80 $('#card3-indicators').attr("style","height: 270px;"); 81 $('#btn-purple-institucion').attr("style","top: 115%;"); 82 $('#enlaces-institucion').attr("style","top: 47%;"); 83 $('#completo-texto-institucion').toggle("linear"); 84 $('#incompleto-texto-institucion').toggle(); 85 86 }); 87 $("#ver-mas-pais").click(function() { 88 89 $('#completo-texto-pais').toggle("linear"); 90 $('#incompleto-texto-pais').toggle(); 91 if(screen.width < 600){ 92 $('#card4-indicators').attr("style","height: 29rem;"); 93 $('#btn-green-pais').attr("style","top: 100%;"); 94 $('#enlaces-pais').attr("style","top: 120px;"); 95 }else{ 96 $('#card4-indicators').attr("style","height: 33.5rem;"); 97 $('#btn-green-pais').attr("style","top: 100%;"); 98 $('#enlaces-pais').attr("style","top: 120px;"); 99 } 100 101 }); 102 103 $("#ver-menos-pais").click(function() { 104 $('#card4-indicators').attr("style","height: 270px;"); 105 $('#btn-green-pais').attr("style","top: 115%;"); 106 $('#enlaces-pais').attr("style","top: 47%;"); 107 $('#completo-texto-pais').toggle("linear"); 108 $('#incompleto-texto-pais').toggle(); 109 110 }); 111 112 $(".ver-prod").click(function(evt){ 113 jQuery('html, body').animate({ 114 scrollTop: jQuery('#container-mapa-prod').offset().top-50 115 }, 500, 'swing'); 116 }); 117 $("#ver-proff").click(function(evt){ 118 jQuery('html, body').animate({ 119 scrollTop: jQuery('#container-cards-prof').offset().top-50 120 }, 500, 'swing'); 121 });
122 $("#btn-menu-prof").click(function(evt){ 123 jQuery('html, body').animate({ 124 scrollTop: jQuery('#container-cards-prof').offset().top-50 125 }, 500, 'swing'); 126 }); 127 $("#ver-flujo").click(function(evt){ 128 jQuery('html, body').animate({ 129 scrollTop: jQuery('#container-cards-prof').offset().top-50 130 }, 500, 'swing'); 131 }); 132 $("#col-hhr").click(function(evt){ 133 jQuery('html, body').animate({ 134 scrollTop: jQuery('#container-cards-linked').offset().top-50 135 }, 500, 'swing'); 136 }); 137 $("#to-home").click(function(){ 138 window.location.href = "home.oa"; 139 }); 140 $(".img-fl-news").click(function(evt){ 141 window.location.href = "/recientes.oa"; 142 }); 143 $("#btn-fullArticles").click(function(){ 144 $("#modal-fullArticles").attr("style","display: flex;"); 145 146 }); 147 $(".btn-close-modal").click(function(){ 148 $("#modal-fullArticles").attr("style","display: none;"); 149 150 }); 151 $("#modal-fullArticles").contents().find("div.row").click(function(modal){ 152 modal.stopPropagation(); 153 }); 154 $("#modal-fullArticles").contents().find("div.modal-full").click(function(modal){ 155 modal.stopPropagation(); 156 }); 157 $("#modal-fullArticles").contents().find("div.modal-full div").click(function(modal){ 158 modal.stopPropagation(); 159 }); 160 $("#modal-fullArticles").click(function(){ 161 $("#modal-fullArticles").attr("style","display: none;"); 162 }); 163 var menuHover = false; 164 $('.tiene-submenu').click(function(){ 165 if (!menuHover){ 166 var topMenu = $(this).position().top; 167 $(this).siblings('.menu-visible-hidden').css({ 168 display: 'block', 169 left: $(this).position().left, 170 top: topMenu, 171 width: $(this).width() 172 }); 173 174 $('.blog-xml-jats').animate({ 175 top: (topMenu + 60), 176 opacity: 1 177 }, 600, function(){ 178 menuHover = true; 179 }); 180 setTimeout(function(){ 181 $('.marcalyc').animate({ 182 top: (topMenu + 30), 183 opacity: 1 184 }); 185 }, 300); 186 } 187 else { 188 $(this).siblings('.menu-visible-hidden').animate({ 189 top: ($(this).position().top), 190 opacity: 0 191 }, function(){ 192 $(this).siblings('.menu-visible-hidden').css({ 193 display: 'none' 194 }); 195 menuHover = false; 196 }); 197 } 198 }); 199 200 $('.postula-revista').click(function(e){ 201 window.location.href = "postulacion.oa"; 202 e.stopPropagation(); 203 }); 204 $("#diamont-access").click(function(){ 205 jQuery('html, body').animate({ 206 scrollTop: jQuery('#home-principios-valores').offset().top-40 207 }, 500, 'swing'); 208 }); 209 $("#principios-valores").click(function(){ 210 jQuery('html, body').animate({ 211 scrollTop: jQuery('#home-principios-valores').offset().top-50 212 }, 500, 'swing'); 213 }); 214 $("#services").click(function(){ 215 jQuery('html, body').animate({ 216 scrollTop: jQuery('#container-icons').offset().top-50 217 }, 500, 'swing'); 218 }); 219 $("#collections-base").click(function(){ 220 jQuery('html, body').animate({ 221 scrollTop: jQuery('#container-cards-linked').offset().top-50 222 }, 500, 'swing'); 223 }); 224 $('.icons-redalyc .icons div span img').click(function(){ 225 var alt = $(this).attr('alt'); 226 227 if (alt == "coleccionDeRevistas"){ 228 window.location.href = "coleccionHome.oa"; 229 } 230 else if (alt == "autoresHome"){ 231 window.location.href = "autorHome.oa"; 232 } 233 else if (alt == "marcalyc"){ 234 window.open("http://marcalyc.redalyc.org/", "_blank"); 235 } 236 else if (alt == "editores"){ 237 window.location.href = "postulacion.oa"; 238 } 239 else if(alt == "indicadores"){ 240 window.location.href = "indicadores.oa"; 241 } 242 else if(alt == "Recientes"){ 243 window.location.href = "recientes.oa"; 244 } 245 else if(alt == "Periscopio"){ 246 window.location.href = "/redalyc/periscopio/redalyc-orcid.html"; 247 } 248 249 else if (alt == "contenidos"){ 250 window.open("http://portal.amelica.org/", "_blank"); 251 } 252 else if (alt == "xml"){ 253 window.open("http://portal.amelica.org/ameli/", "_blank"); 254 } 255 else if (alt == "ojs"){ 256 window.open("http://ojs.amelica.org/index.php", "_blank"); 257 } 258 else if (alt == "metricas"){ 259 window.open("http://www.amelica.org/proyectos/metricas.html", "_blank"); 260 } 261 else if (alt == "profesionalizacion"){ 262 window.open("http://www.amelica.org/proyectos/profesionalizacion.html", "_blank"); 263 } 264 else if (alt == "cienciaAbierta"){ 265 window.open("http://www.amelica.org/proyectos/ciencia.html", "_blank"); 266 } 267 else if (alt == "aura"){ 268 window.open("http://aura.amelica.org/", "_blank"); 269 } 270 else if (alt == "blog"){ 271 window.open("http://www.amelica.org/index.php/index-entradas/", "_blank"); 272 } 273 else if (alt == "repositorios"){ 274 window.open("http://www.amelica.org/proyectos/repositorios.html", "_blank"); 275 } 276 else if (alt == "observatorio"){ 277 window.open("http://portal.amelica.org/observatorio/", "_blank"); 278 } 279 });
280 $('.img-fl-news').hover(function(){ 281 282 var contenidoTooltip=$("input#numbernews").val(); 283 $('.tooltip').append('<span>' + contenidoTooltip + '</span>'); 284 $('.tooltip').css({ 285 top: ($(this).offset().top + 50), 286 left: ($(this).offset().left + 23) 287 }); 288 $('.tooltip').show(50); 289 }, function(){ 290 $('.tooltip').hide(50); 291 $('.tooltip').empty(); 292 293 }); 294 $('.txt-more-recons').hover(function(){ 295 296 var contenidoTooltip=$("input#reconsText").val(); 297 $('.tooltip').append('<span>' + contenidoTooltip + '</span>'); 298 $('.tooltip').css({ 299 top: ($(this).offset().top + 25), 300 left: ($(this).offset().left + 65) 301 }); 302 $('.tooltip').show(50); 303 }, function(){ 304 $('.tooltip').hide(50); 305 $('.tooltip').empty(); 306 307 }); 308 $('div.item').hover(function(){ 309 var alt = $(this).attr('alt'); 310 if(alt!="null"){ 311 var src="img/"+alt.replace("deslect","select")+".png"; 312 $(this).find(".img-hv").attr("src",src); 313 } 314 },function(){ 315 var alt = $(this).attr('alt'); 316 if(alt!="null"){ 317 var src="img/"+alt.replace("select","deslect")+".png"; 318 $(this).find(".img-hv").attr("src",src); 319 } 320 }); 321 $('div.item-prof').hover(function(){ 322 var alt = $(this).attr('alt'); 323 if(alt!="null"){ 324 var src="img/"+alt.replace("deslect","select")+".png"; 325 $(this).find(".img-hv-prof").attr("src",src); 326 } 327 },function(){ 328 var alt = $(this).attr('alt'); 329 if(alt!="null"){ 330 var src="img/"+alt.replace("select","deslect")+".png"; 331 $(this).find(".img-hv-prof").attr("src",src); 332 } 333 }); 334 $('div.card-prof').hover(function(){ 335 var alt = $(this).attr('alt'); 336 if(alt!="null"){ 337 var src="img/"+alt.replace("deslect","select")+".png"; 338 $(this).find(".img-hv").attr("src",src); 339 } 340 },function(){ 341 var alt = $(this).attr('alt'); 342 if(alt!="null"){ 343 var src="img/"+alt.replace("select","deslect")+".png"; 344 $(this).find(".img-hv").attr("src",src); 345 } 346 }); 347 $('#anterior-coleccion, #siguiente-coleccion').hover(function(){ 348 var alt = $(this).attr('alt'); 349 var contenidoTooltip = ''; 350 351 if (alt == "coleccionDeRevistas"){ 352 contenidoTooltip = tooltips["journals"]; 353 } 354 else if (alt == "autoresHome"){ 355 contenidoTooltip = tooltips["authors"]; 356 } 357 else if (alt == "marcalyc"){ 358 contenidoTooltip = "Marcalyc"; 359 } 360 else if (alt == "editores"){ 361 contenidoTooltip = tooltips["editors"]; 362 } 363 else if (alt == "indicadores"){ 364 contenidoTooltip = tooltips["indicators"]; 365 } 366 else if (alt == "contenidos"){ 367 contenidoTooltip = tooltips["portal"]; 368 } 369 else if (alt == "xml"){ 370 contenidoTooltip = "AmeliCA XML"; 371 } 372 else if (alt == "ojs"){ 373 contenidoTooltip = tooltips["ojs"]; 374 } 375 else if (alt == "metricas"){ 376 contenidoTooltip = tooltips["metrics"]; 377 } 378 else if (alt == "profesionalizacion"){ 379 contenidoTooltip = tooltips["editorial"]; 380 } 381 else if (alt == "cienciaAbierta"){ 382 contenidoTooltip = tooltips["science"]; 383 } 384 else if (alt == "aura"){ 385 contenidoTooltip = tooltips["ip"]; 386 } 387 else if (alt == "blog"){ 388 contenidoTooltip = tooltips["blog"]; 389 } 390 else if (alt == "repositorios"){ 391 contenidoTooltip = tooltips["repository"]; 392 } 393 else if (alt == "observatorio"){ 394 contenidoTooltip = tooltips["observatory"]; 395 } 396 else{ 397 contenidoTooltip = alt; 398 } 399 400 $('.tooltip').append('<span>' + contenidoTooltip + '</span>'); 401 $('.tooltip').css({ 402 top: ($(this).offset().top - 10), 403 left: ($(this).offset().left + 23) 404 }); 405 $('.tooltip').show(50); 406 }, function(){ 407 $('.tooltip').hide(50); 408 $('.tooltip').empty(); 409 }); 410 411 $('#mundo > img').click(function(){ 412 $('html, body').animate({ 413 scrollTop: $('#home-coleccion-revistas').offset().top 414 }, 500, 'swing'); 415 }); 416 417 $('.to-home').click(function(){ 418 $('html, body').animate({ 419 scrollTop: $('#home-principal').offset().top 420 }, 500, 'swing'); 421 }); 422 423 $('.modelo').click(function(){ 424 $('html, body').animate({ 425 scrollTop: $('#home-modelo').offset().top 426 }, 500, 'swing'); 427 }); 428 429 430 var flechaVisible = false; 431 $('#mundo > img').hover(function(){ 432 if (!flechaVisible){ 433 $('#flecha-abajo').animate({ 434 top: ($(this).position().top + $(this).height() + 50), 435 opacity: 1 436 }, function(){ 437 flechaVisible = true; 438 }); 439 } 440 }, function(){ 441 $('#flecha-abajo').animate({ 442 opacity: 0 443 }, function(){ 444 flechaVisible = false; 445 $('#flecha-abajo').css('top', '17%'); 446 }); 447 }); 448 449 450 $('.boton-menu-about').click(function(){ 451 452 if (mostrarMenu) { 453 $('#menu-indexation').fadeOut(500); 454 mostrarMenu = false; 455 } 456 if (mostrarMenuCiencia) { 457 $('#menu-openCience').fadeOut(500); 458 mostrarMenuCiencia = false; 459 } 460 if (mostrarMenuTec) { 461 $('#menu-tecnologias').fadeOut(500); 462 mostrarMenuTec = false; 463 } 464 465 if (!mostrarMenuAbout){ 466 $(this).siblings('#menu-about').css({ 467 top: ($(this).position().top + 25), 468 //left: ($(this).position().left + 1) 469 left: ($(this).position().left - 30) 470 }); 471 $(this).siblings('#menu-about').fadeIn(500); 472 mostrarMenuAbout = true; 473 } 474 else{ 475 $(this).siblings('#menu-about').fadeOut(500); 476 mostrarMenuAbout = false; 477 } 478 }); 479 $('.boton-menu-index').click(function(){ 480 var widthScreen=screen.width; 481 482 if (mostrarMenuAbout) { 483 $('#menu-about').fadeOut(500); 484 mostrarMenuAbout = false; 485 } 486 if (mostrarMenuCiencia) { 487 $('#menu-openCience').fadeOut(500); 488 mostrarMenuCiencia = false; 489 } 490 if (mostrarMenuTec) { 491 $('#menu-tecnologias').fadeOut(500); 492 mostrarMenuTec = false; 493 } 494 if (!mostrarMenu){ 495 if(screen.width <= 600){ 496 $(this).siblings('#menu-indexation').css({ 497 top: ($(this).position().top + 25), 498 left: ($(this).position().left -40) 499 });
500 $('#menu-indexation').css({top:($(this).position().top + 25),left:0}); 501 console.log("phone::"); 502 }else{ 503 $(this).siblings('#menu-indexation').css({ 504 top: ($(this).position().top + 25), 505 /*left: ($(this).position().left + 1)*/ 506 left: ($(this).position().left - 5) 507 }); 508 } 509 $(this).siblings('#menu-indexation').fadeIn(500); 510 511 mostrarMenu = true; 512 } 513 else{ 514 $(this).siblings('#menu-indexation').fadeOut(500); 515 mostrarMenu = false; 516 } 517 }); 518 $('.btn-openCience').click(function(){ 519 var widthScreen=screen.width; 520 521 if (mostrarMenuAbout) { 522 $('#menu-about').fadeOut(500); 523 mostrarMenuAbout = false; 524 } 525 if (mostrarMenu) { 526 $('#menu-indexation').fadeOut(500); 527 mostrarMenu = false; 528 } 529 if (mostrarMenuTec) { 530 $('#menu-tecnologias').fadeOut(500); 531 mostrarMenuTec = false; 532 } 533 if (!mostrarMenuCiencia){ 534 if(screen.width <= 600){ 535 $(this).siblings('#menu-openCience').css({ 536 top: ($(this).position().top + 25), 537 left: ($(this).position().left -40) 538 }); 539 $('#menu-openCience').css({top:($(this).position().top + 25),left:0}); 540 console.log("phone::"); 541 }else{ 542 $(this).siblings('#menu-openCience').css({ 543 top: ($(this).position().top + 25), 544 //left: ($(this).position().left + 1) 545 left: ($(this).position().left - 5) 546 }); 547 } 548 $(this).siblings('#menu-openCience').fadeIn(500); 549 550 mostrarMenuCiencia = true; 551 } 552 else{ 553 $(this).siblings('#menu-openCience').fadeOut(500); 554 mostrarMenuCiencia = false; 555 } 556 }); 557 558 $('.boton-menu-tecn').click(function(){ 559 560 if (mostrarMenuAbout) { 561 $('#menu-about').fadeOut(500); 562 mostrarMenuAbout = false; 563 } 564 if (mostrarMenu) { 565 $('#menu-indexation').fadeOut(500); 566 mostrarMenu = false; 567 } 568 if (mostrarMenuCiencia) { 569 $('#menu-openCience').fadeOut(500); 570 mostrarMenuCiencia = false; 571 } 572 573 if (!mostrarMenuTec){ 574 $(this).siblings('#menu-tecnologias').css({ 575 top: ($(this).position().top + 25), 576 /*left: ($(this).position().left + 1)*/ 577 left: ($(this).position().left) 578 }); 579 $(this).siblings('#menu-tecnologias').fadeIn(500); 580 mostrarMenuTec = true; 581 } 582 else{ 583 $(this).siblings('#menu-tecnologias').fadeOut(500); 584 mostrarMenuTec = false; 585 } 586 }); 587 588 $(window).scroll(function(){ 589 var scrollTop = $(this).scrollTop(); 590 var limite = $('.menu-principal').height() - 50; 591 console.log(limite); 592 if (scrollTop > limite){ 593 if(screen.width <= 600){ 594 $('.menu-principal').attr("style","background-image: url(../img/redalyc-backg-ag.png);" + 595 "display: initial; height: 13rem;"); 596 } 597 else if(screen.width >= 1700){ 598 $('.menu-principal').attr("style","background-image: url(../img/redalyc-backg-ag.png);" + 599 "display: initial; height: 8.9rem;"); 600 }else{ 601 $('.menu-principal').attr("style","background-image: url(../img/redalyc-backg-ag.png);" + 602 "display: initial; height: 7rem;"); 603 } 604 ////$("#shadow-browsre").attr({ 'style': 'transform: rotate(180deg);' }); 605 } 606 else if (scrollTop <= limite){ 607 $('.menu-principal').attr("style","background-image: unset; display: table; height: initial;"); 608 ///$("#shadow-browsre").attr({ 'style': 'transform: rotate(0deg);' }); 609 } 610 $("#menu-indexation").attr("style","display:none"); 611 $("#menu-tecnologias").attr("style","display:none"); 612 $("#menu-about").attr("style","display:none"); 613 $("#menu-hv-prof").attr("style","display:none"); 614 $("#menu-openCience").attr("style","display:none"); 615 mostrarMenuAbout = false; 616 mostrarMenu = false; 617 mostrarMenuTec = false; 618 mostrarMenuProf=false; 619 }); 620 var velocity = 0.1; 621 622 function update(posE){ 623 var pos = $(window).scrollTop(); 624 $('#container-browser').each(function() { 625 var $element = $(this); 626 // subtract some from the height b/c of the padding 627 var height = $element.height(); 628 $(this).css('backgroundPosition', posE + Math.round((height - pos) * velocity) + 'px'); 629 }); 630 }; 631 632 633 $('#papalotes-modelo > div > img').mouseenter(function(){ 634 $(this).siblings('.informacion-papalote').css({ 635 'z-index': 3 636 }); 637 638 $(this).siblings('.informacion-papalote').stop().animate({ 639 opacity: 1 640 }, 500); 641 }); 642
643 $('.informacion-papalote').mouseleave(function(){ 644 645 $(this).stop().animate({ 646 opacity: 0 647 }, 500, function(){ 648 $(this).css({ 649 'z-index': 0 650 }); 651 }); 652 }); 653// $('.card-row-indicators').click(function(evt){ 654// var parentname=$(this).attr("id"); 655// $(".card-row-indicators").attr("style","box-shadow: 1px 4px 10px .1px rgb(0 0 0 / 25%);"); 656// $(".card-ind-text-high").attr("style","color: #1C2327;"); 657// $(this).attr("style","box-shadow: 1px 4px 10px 5px rgb(0 0 0 / 25%);"); 658// if(parentname=="card1-indicators"){ 659// 660// $("#card1-title").attr("style","color: #C8602B;"); 661// }else if(parentname=="card2-indicators"){ 662// 663// $("#card2-title").attr("style","color: #9C2B7E;"); 664// }else if(parentname=="card3-indicators"){ 665// 666// $("#card3-title").attr("style","color: #733783;"); 667// }else if(parentname=="card4-indicators"){ 668// 669// $("#card4-title").attr("style","color: #92B645;"); 670// } 671// }); 672 $('.card-row-linked').click(function(evt){ 673 var parentname=$(this).attr("id"); 674 $(".card-row-linked").attr("style","box-shadow: 1px 4px 10px .1px rgb(0 0 0 / 25%);"); 675 $(".card-linked-text").attr("style","color: #1C2327;"); 676 $(this).attr("style","box-shadow: 1px 4px 10px 5px rgb(0 0 0 / 25%);"); 677 678 if(parentname=="card1-linked"){ 679 680 $("#tit-ancestral").attr("style","color: #083654;"); 681 }else if(parentname=="card2-linked"){ 682 683 $("#tit-pandemics").attr("style","color: #0071BC;"); 684 }else if(parentname=="card3-linked"){ 685 686 $("#tit-genre").attr("style","color: #662D91;"); 687 } 688 }); 689 690 $('#element-banner1').on( 'click','.bnES',function(){ 691 var url="https://latmetricas.wordpress.com/programacion/"; 692 window.open(url, "_blank"); 693 }); 694 $('#element-banner2').on( 'click','.bnES',function(){ 695 var url="https://ces.uc.pt/pt/agenda-noticias/agenda-de-eventos/2021/o-digital-o-tradicional-o-novo-normal/inscricao"; 696 window.open(url, "_blank"); 697 }); 698 $('#element-banner3').on( 'click','.bnES',function(){ 699 var url="https://oaspa.org/oaspa-2021-conference-program/"; 700 window.open(url, "_blank"); 701 }); 702 $('#element-banner4').on( 'click','.bnES',function(){ 703 var url="http://amelica.org/concurso-latinoamericano-de-ensayo/resultados/"; 704 window.open(url, "_blank"); 705 }); 706 $('#element-banner4').on( 'click','.bnEN',function(){ 707 var url="http://amelica.org/concurso-latinoamericano-de-ensayo/resultados/en/"; 708 window.open(url, "_blank"); 709 }); 710 $('#element-colaboration2').on( 'click','.image-banner-esp',function(){ 711 var url="/redalyc/acerca-de/consejoAsesor.html"; 712 window.open(url, "_blank"); 713 }); 714 715 716 $("#card1,#card2,#card3").click(function(){ 717 window.open("http://semantic.redalyc.org/conocimientoancestral","_blank"); 718 }); 719 $("#card4,#card5,#card6").click(function(){ 720 window.open("http://amelica.org/epidemics","_blank"); 721 }); 722 723 $('#relat-unesco').click(function(){ 724 window.open("https://es.unesco.org", "_blank"); 725 }); 726 $('#relat-ioi').click(function(){ 727 window.open("https://investinopen.org", "_blank"); 728 }); 729 $('#relat-doaj').click(function(){ 730 window.open("https://doaj.org", "_blank"); 731 }); 732 $('#relat-scoss').click(function(){ 733 window.open("https://scoss.org", "_blank"); 734 }); 735 $('#relat-indian').click(function(){ 736 window.open("https://www.isical.ac.in", "_blank"); 737 }); 738 $('#relat-clacso').click(function(){ 739 window.open("https://www.clacso.org", "_blank"); 740 }); 741 $('#relat-shutleworth').click(function(){ 742 window.open("https://shuttleworthfoundation.org/", "_blank"); 743 }); 744 setTimeout(function(){ 745 $(function(){ 746 if(screen.width >= 1200 && screen.width <= 1400){ 747 $('div#slider').rbtSlider({ 748 'height':'100%', 749 'dots': false, 750 'arrows': true, 751 'auto': 50 752 }); 753 $('div#slider3').rbtSlider({ 754 'height':'300px', 755 'dots': false, 756 'arrows': true, 757 'auto': 60 758 }); 759 $('div#sliderReconocim').rbtSlider({ 760 'height':'300px', 761 'dots': false, 762 'arrows': true, 763 'auto': 300 764 });
765 $('div#sliderScoss-arca').rbtSlider({ 766 'height':'147px', 767 'dots': false, 768 'arrows': true, 769 'auto': 10 770 }); 771 }else if(screen.width >= 601 && screen.width <= 900){ 772 $('div#slider').rbtSlider({ 773 'height':'96%', 774 'dots': false, 775 'arrows': true, 776 'auto': 30 777 }); 778 $('div#slider3').rbtSlider({ 779 'height':'600px', 780 'dots': false, 781 'arrows': true, 782 'auto': 60 783 }); 784 $('div#sliderReconocim').rbtSlider({ 785 'height':'400px', 786 'dots': false, 787 'arrows': true, 788 'auto': 300 789 }); 790 $('div#sliderScoss-arca').rbtSlider({ 791 'height':'147px', 792 'dots': false, 793 'arrows': true, 794 'auto': 10 795 }); 796 }else if(screen.width <= 600){ 797 $('div#slider').rbtSlider({ 798 'height':'96%', 799 'dots': false, 800 'arrows': true, 801 'auto': 30 802 }); 803 $('div#slider3').rbtSlider({ 804 'height':'600px', 805 'dots': false, 806 'arrows': true, 807 'auto': 60 808 }); 809 $('div#sliderReconocim').rbtSlider({ 810 'height':'800px', 811 'dots': false, 812 'arrows': true, 813 'auto': 300 814 }); 815 $('div#sliderScoss-arca').rbtSlider({ 816 'height':'340px', 817 'dots': false, 818 'arrows': false, 819 'auto': 10 820 }); 821 }else{ 822 $('div#slider').rbtSlider({ 823 'height':'96%', 824 'dots': false, 825 'arrows': true, 826 'auto': 30 827 }); 828 $('div#slider3').rbtSlider({ 829 'height':'300px', 830 'dots': false, 831 'arrows': true, 832 'auto': 60 833 }); 834 $('div#sliderReconocim').rbtSlider({ 835 'height':'300px', 836 'dots': false, 837 'arrows': true, 838 'auto': 300 839 }); 840 $('div#sliderScoss-arca').rbtSlider({ 841 'height':'180px', 842 'dots': false, 843 'arrows': true, 844 'auto': 10 845 }); 846 } 847 $(".background-arcadia").click(function(evt){ 848 window.open("https://redalyc.org/arcadia", "_blank"); 849 }); 850 851 $(".background-cumbre").click(function(evt){ 852 window.open("https://globaldiamantoa.org/", "_blank"); 853 }); 854 $(".background-posters .imges").click(function(evt){ 855 window.open("https://globaldiamantoa.org/llamada-a-posters", "_blank"); 856 }); 857 $(".background-posters .imgen").click(function(evt){ 858 window.open("https://globaldiamantoa.org/en/call-for-presentations", "_blank"); 859 }); 860 861 }); 862 try{ 863 $('div#slider div.ctrlNext').get(0).click(); 864 }catch(e){} 865 },1000); 866 }); 867 function getParametroURL(parametro){ 868 var parametros = window.parent.location.search.substring(1).split('&'); 869 870 for (var i = 0; i < parametros.length; i++){ 871 if (parametros[i].indexOf(parametro + '=') != -1){ 872 return decodeURI(parametros[i].split('=')[1]); 873 } 874 } 875 return ""; 876 } 877 878 var lang = getParametroURL("lang"); 879 if(lang){ 880 $.each($(".tr"), function( i, url ){ 881 var href = $(this).attr("href"); 882 883 if(href.indexOf("lang") > 0){ 884 href = href.replace(/es|en/gi, function (x) { 885 return lang; 886 }); 887 $(this).attr("href", href); 888 }else{ 889 $(this).attr("href", url + "&lang="+ lang); 890 } 891 892 href = $(this).attr("href"); 893 if(href.indexOf("?") < 0){ 894 href = href.replace(/&/gi, function (x) { 895 return "?"; 896 }); 897 $(this).attr("href", href); 898 } 899 }); 900 } 901 902})(jQuery);
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.