Cargando 4h3i2r

Minuto a Minuto 5n4d3r

Ver Todos 17264a

Editorial 5d5rw

GLORIETA
JORGE FERNÁNDEZ MENÉNDEZ
ROSA EVELIA VILLARRUEL FIGUEROA
JOSÉ ÁNGEL BRAMBILA LEAL

HEMEROTECA 2z8t

UNIVERSIDAD DE COLIMA

HEMEROTECA 2z8t

DIARIO DE COLIMA

SUSCRIPTORES 3s4t5q

VER PDFs

SUPLEMENTOS 4d2j4o

VER PDFs


' + '
' + '

' + this.titulo + ' 3a3e36

' + '
Por: ' + this.autor + ' | ' + this.fecha + ' 6c2u2r

' + '

' + shortText(this.abstract, 100) + '

' + '
' + '
' + '

' + '' + '

' + '
' + '
' + '

' + '' + this.categoria + '' + '

' + '
' + '
' + '
' + '' + '
'; $("#minuto_all_body").append(li); }); $("#minuto_all").modal("show"); } if (response.type == 0) { swal("Opps!", response.msg, "error"); } console.log(response); }, error: function (request, status, error) { swal("Opps!", "Ocurrio un error inesperado", "error"); console.error(request.responseText); //alert(request.responseText); }, complete: function (xhr, status) { //show_Status_Modal_close_(null); } }); }); // 4 // $.ajax({ // type: "GET", // url: "https://api.fixer.io/latest?base=USD", // data: {}, // success: function(result) { // success mispelled // console.log(result); // jQuery was autoparse json response // }, // error: function(x, e) { console.log(e); } // must be function, not implicit call // }); // $.get('https://openexchangerates.org/api/latest.json', {app_id: 'f5fbdfcd145947388ea406d1b4201348', // show_bid_ank: 1}, function(data) { // console.log(data); // // console.log("USD/GBP 'bid' price: " + data.rates.GBP.bid); // // console.log("USD/GBP 'ask' price: " + data.rates.GBP.ask); // }); $('#horizontalTab').easyResponsiveTabs({ type: 'default', //Types: default, vertical, width: 'auto', //auto or any width like 600px fit: true // 100% fit in a container }); $("#slider3").responsiveSlides({ auto: true, pager: true, nav: true, speed: 500, namespace: "callbacks", before: function () { $('.events').append("
  • before event fired.
  • "); }, after: function () { $('.events').append("
  • after event fired.
  • "); } }); $('.popup-with-zoom-anim').magnifiopup({ type: 'inline', fixedContentPos: false, fixedBgPos: true, overflowY: 'auto', closeBtnInside: true, preloader: false, midClick: true, removalDelay: 300, mainClass: 'my-mfp-zoom-in' }); $("#flexiselDemo1").flexisel({ visibleItems: 3, animationSpeed: 1000, autoPlay: true, autoPlaySpeed: 3000, pauseOnHover: true, enableResponsiveBreakpoints: true, responsiveBreakpoints: { portrait: { changePoint: 480, visibleItems: 1 }, landscape: { changePoint: 640, visibleItems: 2 }, tablet: { changePoint: 768, visibleItems: 3 } } }); $("#transition-timer-carousel").on("slide.bs.carousel", function (event) { //The animate class gets removed so that it jumps straight back to 0% $(".transition-timer-carousel-progress-bar", this) .removeClass("animate").css("width", "0%"); }).on("slid.bs.carousel", function (event) { //The slide transition finished, so re-add the animate class so that //the timer bar takes time to fill up $(".transition-timer-carousel-progress-bar", this) .addClass("animate").css("width", "100%"); }); //Kick off the initial slide animation when the document is ready $(".transition-timer-carousel-progress-bar", "#transition-timer-carousel") .css("width", "100%"); $.ajax({ type: "post", dataType: 'json', url: "https://diariodecolima.com/index.php/index/GetNoticiasPortada", success: function (response) { console.log(response); var cont = 1; var position = 'penultima'; var antepenultimaPosition = response.categorias.length - 1; var interChangeHtml = false; //console.log("total:"+response.categorias.length," antepenultimaPosition:"+antepenultimaPosition); $.each(response.categorias, function (index, value) { //console.log(value); var noticias_categoria = $.grep(response.noticias, function (v) { return v.categoria_id == value.id; }); var html = ""; if (cont > 0 && cont < 6) { html = Template1(value, noticias_categoria); $("#section-" + cont).html(html); } else if (cont > 5 && cont < antepenultimaPosition) { if (cont > 6) { var currentHtml = $("#more-news").html(); $("#more-news").html(currentHtml + AddCategoria(cont)); } if (interChangeHtml == false) { html = FullNewsTextOnImage(value, noticias_categoria); interChangeHtml = true; } else { html = FullNews(value, noticias_categoria); interChangeHtml = false; } $("#section-" + cont).html(html); } else { var list = noticias_categoria.slice(0, 6); html = ListOfNews(value, list); $("#section-" + position).html(html); position = "ultima"; } cont += 1; }); }, error: function (request, status, error) { console.error(request.responseText); //alert(request.responseText); }, complete: function (xhr, status) { //show_Status_Modal_close_(null); } }); $.ajax({ type: "post", dataType: 'json', url: "https://diariodecolima.com/index.php/index/GetDenunciaCiudadana", success: function (response) { var categoria = { titulo: "Denuncia Ciudadana", url: "https://diariodecolima.com/index.php/noticias/denuncias" }; var html = StaticNews(categoria, response); $("#denuncia-ciudadana").html(html); }, error: function (request, status, error) { console.error(request.responseText); //alert(request.responseText); }, complete: function (xhr, status) { //show_Status_Modal_close_(null); } }); $.ajax({ type: "post", dataType: 'json', url: "https://diariodecolima.com/index.php/index/GetSuplementos", success: function (response) { var categoria = { titulo: "Suplementos", url_pdf: "https://diariodecolima.com/", url: "https://diariodecolima.com/index.php/suplementos/index" }; var html = Carrusel(categoria, response); $("#suplemento").html(html); }, error: function (request, status, error) { console.error(request.responseText); //alert(request.responseText); }, complete: function (xhr, status) { //show_Status_Modal_close_(null); } }); }); //Catch images not found and replace with default $(document).ajaxComplete(function () { $('img').error(function () { $(this).attr('src', 'http://diariodecolima.com/assets/images/noticias/default.jpg'); }); });