Contenido
Buscar
Rafael Nadal
Así reaccionó el mundo deportivo tras el anuncio del retiro de Rafael Nadal
El tenista, de 38 años, ganó 22 torneos de Grand Slam durante una era sin precedentes que compartió con sus rivales Roger Federer y Novak Djokovic.
// ——————————————————————————————————————————-
// 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 < numNodes; i++) {
figureEl = thumbElements[i]; //
// 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) {
//
item.title = figureEl.children[1].innerHTML;
}
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 < 5) {
return params;
}
var vars = hash.split('&');
for (var i = 0; i < vars.length; i++) {
if(!vars[i]) {
continue;
}
var pair = vars[i].split('=');
if(pair.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 < items.length; j++) {
if(items[j].pid == index) {
options.index = j;
break;
}
}
} else {
// in URL indexes start from 1
options.index = parseInt(index, 10) – 1;
}
} else {
options.index = parseInt(index, 10);
}
// exit if index not found
if( isNaN(options.index) ) {
return;
}
if(disableAnimation) {
options.showAnimationDuration = 0;
}
// Pass data to PhotoSwipe and initialize it
gallery = new PhotoSwipe( pswpElement, PhotoSwipeUI_Default, items, options);
gallery.init();
};
// loop through all gallery elements and bind events
var galleryElements = document.querySelectorAll( gallerySelector );
for(var i = 0, l = galleryElements.length; i < l; i++) {
galleryElements[i].setAttribute('data-pswp-uid', i+1);
galleryElements[i].onclick = onThumbnailsClick;
}
// Parse URL and open gallery if it contains #&pid=3&gid=1
var hashData = photoswipeParseHash();
if(hashData.pid && hashData.gid) {
openPhotoSwipe( hashData.pid , galleryElements[ hashData.gid – 1 ], true, true );
}
};
// execute above function
initPhotoSwipeFromDOM('.my-gallery');
// ======================================
// FIN SCRIPTS PHOTOSWIPE
// ======================================
CIUDAD DE MÉXICO (apro).- Después del repentino anuncio del retiro de Rafael Nadal del tenis profesional, diversas personalidades del medio deportivo reaccionaron y mandaron mensajes a través de redes sociales para el deportista de 38 años. Durante su carrera Nadal ganó 22 torneos de Grand Slam.
Nadal hizo el anuncio al postear un conmovedor video en redes sociales, allí el mundo del deporte se unió para despedirlo. Desde la FIFA, clubes de futbol, jugadores, pilotos de F1, boxeadores y demás.
“Muchas gracias por todas las alegrías que nos has dado todos estos años Rafael Nadal. Eres todo un ejemplo amigo. Gran profesional. Gran persona. Ahora toca descansar y disfrutar de los tuyos”, escribió el español Iker Casillas.
Muchas gracias por todas las alegrías que nos has dado todos estos años @RafaelNadal . Eres todo un ejemplo amigo !! Gran profesional! Gran persona!! Ahora toca descansar y disfrutar de los tuyos. ????
— Iker Casillas (@IkerCasillas) October 10, 2024
Tenistas como Hubert Hurkacz y Jakub Mensik también se unieron a la conversación: “Héroe del tenis y fuente de inspiración”, le describe Hurkacz, quien logró ganar al español en su único precedente este año en Roma.
Por su parte el tenista checo Jakub Mensik agradeció la figura de Rafa: “Eres una verdadera leyenda y uno de los mejores deportistas de todos los tiempos”.
Tennis hero and inspiration. Wishing you all the best for the future! ?? @RafaelNadal pic.twitter.com/Zi5QnyFPQ9
— Hubert Hurkacz (@HubertHurkacz) October 10, 2024
El entrenador del Real Madrid, Carlo Ancelotti, también tuvo unas palabras para Nadal: “Tu vida deportiva ha sido espectacular y también una inspiración para todos nosotros que amamos el deporte. Estoy convencido de que también tu vida futura seguirá igual”
Ciao, Rafa! Te deseo lo mejor para tu futuro. Tu vida deportiva ha sido espectacular y también una inspiración para todos nosotros que amamos el deporte. Estoy convencido de que también tu vida futura seguirá igual. Un abrazo y mil gracias @RafaelNadal !! pic.twitter.com/GZm8zYiTU3
— Carlo Ancelotti (@MrAncelotti) October 10, 2024
El serbio Novak Djokovic escribió un emotivo mensaje en sus redes sociales en el que anunció que estará en Málaga para rendir homenaje a Nadal, acompañado de varias fotos juntos.
“Rafa, un post no es suficiente para expresar el respeto que siento por ti y por lo que has hecho por nuestro deporte. Has inspirado a millones de niños a empezar a jugar al tenis y creo que ése es probablemente el mayor logro que alguien puede desear. Tu tenacidad, dedicación y espíritu de lucha se enseñarán durante décadas. Tu legado vivirá para siempre. Sólo tú sabes lo que has tenido que soportar para convertirte en icono del tenis y del deporte en general. Gracias por llevarme al límite tantas veces en nuestra rivalidad que más me ha marcado como jugador. Tu pasión por representar a España siempre ha sido notable. Te deseo la mejor despedida posible en Málaga con el equipo de Copa Davis de España. Estaré allí en persona para rendir homenaje a tu estelar carrera”.
Rafa, one post is not enough to express the respect I have for you and what you have done for our sport. You have inspired millions of children to start playing tennis and I think that’s probably greatest achievement anyone can wish for. Your tenacity, dedication, fighting spirit… pic.twitter.com/HO9kUkyccN
— Novak Djokovic (@DjokerNole) October 10, 2024
Mil gracias a todos
Many thanks to all
Merci beaucoup à tous
Grazie mille à tutti
????
???? ??? ?????
???? ??????
Obrigado a todos
Vielen Dank euch allen
Tack alla
????? ?????
Gràcies a tots pic.twitter.com/7yPRs7QrOi
— Rafa Nadal (@RafaelNadal) October 10, 2024
Comentarios
Otras Noticias
// autoTrigger on scroll until after the third request is loaded
$(‘.scroll’).jscroll({
autoTriggerUntil: 3,
loadingHtml: ‘Cargando mas noticias… ‘,
nextSelector: ‘.boton-ver-mas’,
});
window._taboola = window._taboola || [];
_taboola.push({
mode: ‘thumbnails-a-3×2’,
container: ‘taboola-mobile-below-article-thumbnails’,
placement: ‘Mobile Below Article Thumbnails’,
target_type: ‘mix’
});
// 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);