Dossiers de presse

Recherche

/** Demande la génération du pdf et le télécharge */ function downloadPDFDoc (data_id, urlData){ //window.open(urlData+'?mode=pdf&bprint=1'); populateIframe(urlData+'?mode=pdf&bprint=1'); //window.location.href = urlData+'?mode=pdf&bprint=1'; } /** Lance une recherche sur le HashTag sélectionné parmi les articles de l'agenda */ var searchHashTag = function(strHashTag){ strHashTag = ( typeof strHashTag !== 'undefined' ? strHashTag : false ); if(!strHashTag){ return null; } submitForm(strHashTag); } /** Soumet le PDF */ var submitForm = function (strHashTag){ var searchHashTagForm = document.createElement('FORM'); searchHashTagForm.name = 'searchHashTag'; searchHashTagForm.method = 'POST'; searchHashTagForm.action = 'https://presse.metropole.rennes.fr/accueil/documents-presse/dossiers-de-presse'; var inputDate = document.createElement('INPUT'); inputDate.type = 'TEXT'; inputDate.name = 'search_texte'; inputDate.value = strHashTag; searchHashTagForm.appendChild(inputDate); var bSearch = document.createElement('INPUT'); bSearch.type = 'HIDDEN'; bSearch.name = 'bS'; bSearch.value = 1; searchHashTagForm.appendChild(bSearch); var bSearch = document.createElement('INPUT'); bSearch.type = 'HIDDEN'; bSearch.name = 'bSCalendar'; bSearch.value = 0; searchHashTagForm.appendChild(bSearch); document.body.appendChild(searchHashTagForm); searchHashTagForm.submit(); };

Documents 121 à 150 sur 178