Contenido
- 1 Buscar
- 2 CDMX
- 3 Otras Noticias
- 4 EU revela participación para capturar a Ovidio Guzmán mediante la “Operación Paisano”
- 5 Está en declive el poder de AMLO y le pasará factura a Morena, asegura su exasesor de campaña
- 6 ¿Por qué el primer recorrido del Tren Maya fue a baja velocidad? Así lo explicó Alstom
CDMX
Camión de la RTP choca en la Guerrero; presuntamente explotó su tanque de combustible
La organización independiente, #NiUnRepartidorMenos, puntualizó en sus redes sociales que el tanque de gas explotó y que la unidad chocó al dar vuelta, llevándose un bolardo y afectando la carrocería.
// ------------------------------------------------------------------------------------------------------------------------------- // PHOTOSWIPE
var initPhotoSwipeFromDOM = function(gallerySelector) {
// parse slide data (url, title, size ...) from DOM elements // (children of gallerySelector) var parseThumbnailElements = function(el) { var thumbElements = el.childNodes, numNodes = thumbElements.length, items = [], figureEl, linkEl, size, item;
for(var i = 0; i element
// include only element nodes if(figureEl.nodeType !== 1) { continue; }
linkEl = figureEl.children[0]; // element
size = linkEl.getAttribute('data-size').split('x');
// create slide object item = { src: linkEl.getAttribute('href'), w: parseInt(size[0], 10), h: parseInt(size[1], 10) };
if(figureEl.children.length > 1) {
//
if(linkEl.children.length > 0) { // thumbnail element, retrieving thumbnail url item.msrc = linkEl.children[0].getAttribute('src'); }
item.el = figureEl; // save link to element for getThumbBoundsFn items.push(item); }
return items; };
// find nearest parent element var closest = function closest(el, fn) { return el && ( fn(el) ? el : closest(el.parentNode, fn) ); };
// triggers when user clicks on thumbnail var onThumbnailsClick = function(e) { e = e || window.event; e.preventDefault ? e.preventDefault() : e.returnValue = false;
var eTarget = e.target || e.srcElement;
// find root element of slide var clickedListItem = closest(eTarget, function(el) { return (el.tagName && el.tagName.toUpperCase() === 'FIGURE'); });
if(!clickedListItem) { return; }
// find index of clicked item by looping through all child nodes // alternatively, you may define index via data- attribute var clickedGallery = clickedListItem.parentNode, childNodes = clickedListItem.parentNode.childNodes, numChildNodes = childNodes.length, nodeIndex = 0, index;
for (var i = 0; i = 0) { // open PhotoSwipe if valid index found openPhotoSwipe( index, clickedGallery ); } return false; };
// parse picture index and gallery index from URL (#&pid=1&gid=2) var photoswipeParseHash = function() { var hash = window.location.hash.substring(1), params = {};
if(hash.length getThumbBoundsFn section of documentation for more info var thumbnail = items[index].el.getElementsByTagName('img')[0], // find thumbnail pageYScroll = window.pageYOffset || document.documentElement.scrollTop, rect = thumbnail.getBoundingClientRect();
return {x:rect.left, y:rect.top + pageYScroll, w:rect.width}; }
};
// PhotoSwipe opened from URL if(fromURL) { if(options.galleryPIDs) { // parse real index when custom PIDs are used // http://photoswipe.com/documentation/faq.html#custom-pid-in-url for(var j = 0; j
CIUDAD DE MÉXICO (apro)- Una unidad de la Red de Transporte de Pasajeros (RTP) chocó en la esquina de las calles Valeriano Trujano y Mina, de la colonia Guerrero, en la alcaldía Cuauhtémoc, debido a que presuntamente explotó su tanque de gas. No se reportaron heridos.
A las 14:15 horas, el Heroico Cuerpo de Bomberos de la Ciudad de México detalló en su cuenta de X, antes Twitter, que sus elementos se encontraban en el sitio laborando en el lavado de cinta asfáltica debido a que el tanque de combustible de un camión de servicio público se dañó.
Una hora después, informaron que la vialidad había sido restablecida y dieron por concluido el servicio que fue requerido el lugar ubicado a inmediaciones de la Alameda Central.
La organización independiente, #NiUnRepartidorMenos, puntualizó en sus redes sociales que el tanque de gas explotó y que la unidad chocó al dar vuelta, llevándose un bolardo y afectando la carrocería.
Agregó que no hubo lesionados y que además trabajaron en el lugar policías de la Secretaría de Seguridad Ciudadana (SSC).
Comentarios
Otras Noticias
// Obtener todos los elementos con clase .col-md-12 var colElements = document.querySelectorAll('.col-md-12');
// Iterar sobre cada elemento colElements.forEach(function(element) { // Verificar si tiene un hijo inmediato con clase .titulo-region var tituloRegion = element.querySelector('.titulo-region');
if (tituloRegion) { // Agregar la clase .is-sticky al elemento padre element.classList.add('is-sticky'); } });
// Obtener el elemento article dentro de .fila-especial-v2 .p50 var articleElement = document.querySelector('.home .fila-especial-v2 .p50 article');
// Obtener el texto del elemento .z-foto .bajada p var bajadaText = articleElement.querySelector('.z-foto .bajada p').textContent;
// Crear un nuevo elemento para mostrar el texto obtenido var textoElement = document.createElement('p'); textoElement.textContent = bajadaText;
// Obtener el elemento .z-txt .titulo dentro del article var tituloElement = articleElement.querySelector('.z-txt .titulo');
// Insertar el nuevo elemento al final del article articleElement.appendChild(textoElement);
Cortesía de Proceso.