CINXE.COM

El Punt Avui - Catalunya per municipis

<!DOCTYPE html> <html lang="ca" > <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta property="fb:pages" content="130110720405295" /><!-- EPA --> <meta property="fb:pages" content="538826472956169" /><!-- JAP --> <meta name="robots" content="max-snippet:200, max-image-preview:large, max-video-preview:-1"> <link rel="manifest" href="/templates/d2015/manifest.json"/> <link rel="dns-prefetch" href="//fonts.googleapis.com"/> <link rel="dns-prefetch" href="//fonts.gstatic.com"/> <link rel="dns-prefetch" href="//translate.google.com"/> <link rel="dns-prefetch" href="//adservice.google.es"/> <link rel="dns-prefetch" href="//www.google.com"/> <link rel="dns-prefetch" href="//www.google.es"/> <link rel="dns-prefetch" href="//www.google-analytics.com"/> <link rel="dns-prefetch" href="//www.googletagservices.com"/> <link rel="dns-prefetch" href="//platform.twitter.com"/> <link rel="dns-prefetch" href="//connect.facebook.net"/> <link rel="dns-prefetch" href="//www.facebook.com"/> <link rel="dns-prefetch" href="//syndication.twitter.com"/> <link rel="dns-prefetch" href="//tpc.googlesyndication.com"/> <link rel="preload" href="/templates/d2015/fonts/Open_Sans/OpenSans-Regular.woff2" as="font" crossorigin> <link rel="preload" href="/templates/d2015/fonts/Open_Sans/OpenSans-Bold.woff2" as="font" crossorigin> <link rel="preload" href="/templates/d2015/fonts/Open_Sans/OpenSans-ExtraBold.woff2" as="font" crossorigin> <link rel="preload" href="/templates/d2015/fonts/fontawesome-webfont.woff?v=4.0.3" as="font" crossorigin> <!-- link rel="preload" href="/media/jui/fonts/IcoMoon.woff" as="font" crossorigin --> <link href="https://www.elpuntavui.cat/templates/d2015/favicons/icon512.png" rel="shortcut icon" /> <link href="https://www.elpuntavui.cat/templates/d2015/favicons/icon512.png" rel="shortcut icon" /> <link rel="apple-touch-icon" href="https://www.elpuntavui.cat/templates/d2015/favicons/icon512.png" /> <link rel="apple-touch-startup-image" href="https://www.elpuntavui.cat/templates/d2015/favicons/icon512.png" /> <link rel="search" type="application/opensearchdescription+xml" title="El Punt Avui" href="https://www.elpuntavui.cat/widgets/elpuntavui.xml" /> <link rel="alternate" media="only screen and (min-width: 641px)" href="/canals/politica/eleccionseuropees2019/catalunya.html?vermobil=0"/> <script type="application/ld+json"> { "@context": "https://schema.org", "@type": "WebSite", "url": "https://www.elpuntavui.cat/", "potentialAction": { "@type": "SearchAction", "target": "https://www.elpuntavui.cat/cercar.html?searchword={search_term_string}", "query-input": "required name=search_term_string" }, "publisher": { "@type": "Organization", "name": "El Punt Avui", "logo": { "@type": "ImageObject", "url": "https://www.elpuntavui.cat/templates/d2015/images/logo.png", "width": 440, "height": 50 }, "description": "Notícies en català dels Països Catalans i els seus municipis, actualitat d'Europa i el món. Societat, Territori, Política, Economia, Cultura, Comunicació, Opinió i Esports" } } </script> <script data-schema="organization" type="application/ld+json"> { "@context": "https://schema.org" , "@type":"Organization" , "name":"El Punt Avui" , "url":"https://www.elpuntavui.cat/" , "logo":"https://www.elpuntavui.cat/templates/d2015/images/logo.png" , "sameAs":["https://www.facebook.com/elpuntavui" ,"https://twitter.com/elpuntavui" ,"https://mastodont.cat/@elpuntavui" ,"https://t.me/elpuntavui" ,"https://www.instagram.com/el_punt_avui/" ,"https://plus.google.com/+ElpuntavuiCat" ,"https://www.instagram.com/el_punt_avui/" ] } </script> <!-- META FOR IOS & HANDHELD --> <meta name="viewport" content="width=device-width, user-scalable=yes, initial-scale=1" /> <script type="text/javascript"> var globalItemid = '5025'; function epaOpenMenu() { jQuery('#menu-sempre-button').click(); } </script> <script type="text/javascript"> if (navigator.userAgent.match(/IEMobile\/10\.0/)) { var msViewportStyle = document.createElement("style"); msViewportStyle.appendChild( document.createTextNode("@-ms-viewport{width:auto!important}") ); document.getElementsByTagName("head")[0].appendChild(msViewportStyle); } </script> <meta name="HandheldFriendly" content="true"/> <meta name="apple-mobile-web-app-capable" content="yes"/> <!-- FI META FOR IOS & HANDHELD --> <!--HEAD--> <meta charset="utf-8" /> <base href="https://www.elpuntavui.cat/canals/politica/eleccionseuropees2019/catalunya.html" /> <meta name="keywords" content="noticies, articles, cultura, economia, territori, societat, política, comunicació, opinió, esports, punt, avui, avui+, diari, digital, girona, barcelona, tarragona, lleida, catalunya, gerona, lerida, agenda, local, informacio, directe, nacio, països, catalans, català" /> <meta name="x-ua-compatible" content="IE=edge,chrome=1" /> <meta name="description" content="Notícies en català dels Països Catalans i els seus municipis, actualitat d'Europa i el món. Societat, Territori, Política, Economia, Cultura, Comunicació, Opinió i Esports" /> <title>El Punt Avui - Catalunya per municipis </title> <link href="https://www.elpuntavui.cat/templates/d2015/css/eleccions/eleccions.min-20241127133850.css" rel="stylesheet" /> <link href="https://www.elpuntavui.cat/templates/d2015/css/eleccions/europees.min-20241127133850.css" rel="stylesheet" /> <link href="https://www.elpuntavui.cat/templates/d2015/css/eleccions/eu2019.min-20241127133850.css" rel="stylesheet" /> <link href="https://www.elpuntavui.cat/media/master/css/bootstrap.min.css" rel="stylesheet" /> <link href="https://www.elpuntavui.cat/media/epa/slick/css/slick.min-20241112130211.css" rel="stylesheet" /> <link href="https://www.elpuntavui.cat/media/master/css/font-awesome.min.css" rel="stylesheet" /> <link href="https://www.elpuntavui.cat/media/epa/css/jquery.lazyloadxt.fadein.min-20241112130211.css" rel="stylesheet" /> <link href="https://www.elpuntavui.cat/media/epa/gritter/css/jquery.gritter.min-20241112130211.css" rel="stylesheet" /> <link href="https://www.elpuntavui.cat/templates/d2015/css/d2015.min-20241127133850.css" rel="stylesheet" /> <link href="https://www.elpuntavui.cat/templates/d2015/css/mobil.min-20241127133850.css" rel="stylesheet" /> <link href="https://www.elpuntavui.cat/templates/d2015/css/temporal.min-20241127133850.css" rel="stylesheet" /> <script src="https://www.elpuntavui.cat/media/jui/js/jquery.min.js"></script> <script src="https://www.elpuntavui.cat/media/epa/d3/js/d3.min-20241112130211.js"></script> <script src="https://www.elpuntavui.cat/media/epa/d3/js/d3.tip-20241112130211.js"></script> <script src="https://www.elpuntavui.cat/media/epa/d3/js/topojson.v1.min-20241112130211.js"></script> <script src="https://www.elpuntavui.cat/media/epa/d3/js/rainbowvis-20241112130211.js"></script> <script src="https://www.elpuntavui.cat/media/master/js/bootstrap.min.js" defer></script> <script src="https://www.elpuntavui.cat/media/epa/slick/js/slick.min-20241112130211.js" defer></script> <script src="https://www.elpuntavui.cat/media/master/js/jquery.timeago.min.js" defer></script> <script src="https://www.elpuntavui.cat/media/epa/js/typeahead.bundle.min-20241112130211.js" defer></script> <script src="https://www.elpuntavui.cat/media/epa/js/jquery.lazyloadxt.min-20241112130211.js" defer></script> <script src="https://www.elpuntavui.cat/media/epa/js/jquery.lazyloadxt.epasrcset.min-20241112130211.js" defer></script> <script src="https://www.elpuntavui.cat/media/epa/gritter/js/jquery.gritter.min-20241112130211.js" defer></script> <script src="https://www.elpuntavui.cat/media/epa/js/epanoticies.load.min-20241112130211.js" defer></script> <script src="https://www.elpuntavui.cat/media/epa/dfp/js/dfptags.min-20241112130211.js" defer></script> <!--[if lt IE 9]><script src="https://www.elpuntavui.cat/media/system/js/html5fallback.js"></script><![endif]--> <script> jQuery(document).ready(function ($) { $('a.reload').on('click', function(){ location.reload(true); return false; }); }); jQuery(document).ready(function () { var current = jQuery('ul.menu-app-seccions li.current'); if (current.length==0) { current = jQuery('ul.menu-app-seccions li:first'); } if (current.length==1) { var menu = jQuery('div.navigation.menu-app-seccions'); var myScrollPos = current.offset().left + menu.scrollLeft() - menu.width()/2; menu.scrollLeft(myScrollPos); } }); DFP_PAGE_VARS={"p":"P08","c":"BARCELONES","m":"BARCELONA","portada":"R","s":["secciosense"],"itemid":"5025","modul_id":"2927","m18":"N"}; </script> <!--FIHEAD--> <script> //per GA4 var gs_codi_zona = 'P08-BARCELONES-BARCELONA'; var gs_appid = '107'; var gs_vermobil = 'Mobil'; var gs_user_tipus = 'Guest'; var gs_user_id = ''; var gs_adblock = 'No'; var gs_component = 'com_epaeleccions'; var gs_item_id = '5025'; </script> <!-- Google Tag Manager --> <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer','GTM-WLHSLLV');</script> <!-- End Google Tag Manager --> <script> function gtag(){dataLayer.push(arguments); console.log('GTAG'); console.log(arguments); } jQuery(document).ready(function() { if (typeof gtag !== 'undefined') { if (typeof DFP_CANALS !== 'undefined') { for (var key=0;key< DFP_CANALS.length; key++) { let epa_ga_dims = "canal-"+DFP_CANALS[key]+"-"; gtag('event', 'canal_view', { "canal": epa_ga_dims, }); } } if (typeof DFP_TEMES !== 'undefined') { for (var key=0;key< DFP_TEMES.length; key++) { let epa_ga_dims = "tema-"+DFP_TEMES[key]+"-"; gtag('event', 'canal_view', { "canal": epa_ga_dims, }); } } } }); </script> <!-- Ad Blocker de Google --> <script async src="https://fundingchoicesmessages.google.com/i/pub-7100198739575460?ers=1" nonce="NB28DMe8FbBPUjtjNhVSKg"></script><script nonce="NB28DMe8FbBPUjtjNhVSKg">(function() {function signalGooglefcPresent() {if (!window.frames['googlefcPresent']) {if (document.body) {const iframe = document.createElement('iframe'); iframe.style = 'width: 0; height: 0; border: none; z-index: -1000; left: -1000px; top: -1000px;'; iframe.style.display = 'none'; iframe.name = 'googlefcPresent'; document.body.appendChild(iframe);} else {setTimeout(signalGooglefcPresent, 0);}}}signalGooglefcPresent();})();</script> <script> (function(){/* Copyright The Closure Library Authors. SPDX-License-Identifier: Apache-2.0 */ 'use strict';var aa=function(a){var b=0;return function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}}},ba="function"==typeof Object.create?Object.create:function(a){var b=function(){};b.prototype=a;return new b},k;if("function"==typeof Object.setPrototypeOf)k=Object.setPrototypeOf;else{var m;a:{var ca={a:!0},n={};try{n.__proto__=ca;m=n.a;break a}catch(a){}m=!1}k=m?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError(a+" is not extensible");return a}:null} var p=k,q=function(a,b){a.prototype=ba(b.prototype);a.prototype.constructor=a;if(p)p(a,b);else for(var c in b)if("prototype"!=c)if(Object.defineProperties){var d=Object.getOwnPropertyDescriptor(b,c);d&&Object.defineProperty(a,c,d)}else a[c]=b[c];a.v=b.prototype},r=this||self,da=function(){},t=function(a){return a};var u;var w=function(a,b){this.g=b===v?a:""};w.prototype.toString=function(){return this.g+""};var v={},x=function(a){if(void 0===u){var b=null;var c=r.trustedTypes;if(c&&c.createPolicy){try{b=c.createPolicy("goog#html",{createHTML:t,createScript:t,createScriptURL:t})}catch(d){r.console&&r.console.error(d.message)}u=b}else u=b}a=(b=u)?b.createScriptURL(a):a;return new w(a,v)};var A=function(){return Math.floor(2147483648*Math.random()).toString(36)+Math.abs(Math.floor(2147483648*Math.random())^Date.now()).toString(36)};var B={},C=null;var D="function"===typeof Uint8Array;function E(a,b,c){return"object"===typeof a?D&&!Array.isArray(a)&&a instanceof Uint8Array?c(a):F(a,b,c):b(a)}function F(a,b,c){if(Array.isArray(a)){for(var d=Array(a.length),e=0;e<a.length;e++){var f=a[e];null!=f&&(d[e]=E(f,b,c))}Array.isArray(a)&&a.s&&G(d);return d}d={};for(e in a)Object.prototype.hasOwnProperty.call(a,e)&&(f=a[e],null!=f&&(d[e]=E(f,b,c)));return d} function ea(a){return F(a,function(b){return"number"===typeof b?isFinite(b)?b:String(b):b},function(b){var c;void 0===c&&(c=0);if(!C){C={};for(var d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),e=["+/=","+/","-_=","-_.","-_"],f=0;5>f;f++){var h=d.concat(e[f].split(""));B[f]=h;for(var g=0;g<h.length;g++){var l=h[g];void 0===C[l]&&(C[l]=g)}}}c=B[c];d=Array(Math.floor(b.length/3));e=c[64]||"";for(f=h=0;h<b.length-2;h+=3){var y=b[h],z=b[h+1];l=b[h+2];g=c[y>>2];y=c[(y&3)<< 4|z>>4];z=c[(z&15)<<2|l>>6];l=c[l&63];d[f++]=""+g+y+z+l}g=0;l=e;switch(b.length-h){case 2:g=b[h+1],l=c[(g&15)<<2]||e;case 1:b=b[h],d[f]=""+c[b>>2]+c[(b&3)<<4|g>>4]+l+e}return d.join("")})}var fa={s:{value:!0,configurable:!0}},G=function(a){Array.isArray(a)&&!Object.isFrozen(a)&&Object.defineProperties(a,fa);return a};var H;var J=function(a,b,c){var d=H;H=null;a||(a=d);d=this.constructor.u;a||(a=d?[d]:[]);this.j=d?0:-1;this.h=null;this.g=a;a:{d=this.g.length;a=d-1;if(d&&(d=this.g[a],!(null===d||"object"!=typeof d||Array.isArray(d)||D&&d instanceof Uint8Array))){this.l=a-this.j;this.i=d;break a}void 0!==b&&-1<b?(this.l=Math.max(b,a+1-this.j),this.i=null):this.l=Number.MAX_VALUE}if(c)for(b=0;b<c.length;b++)a=c[b],a<this.l?(a+=this.j,(d=this.g[a])?G(d):this.g[a]=I):(d=this.l+this.j,this.g[d]||(this.i=this.g[d]={}),(d=this.i[a])? G(d):this.i[a]=I)},I=Object.freeze(G([])),K=function(a,b){if(-1===b)return null;if(b<a.l){b+=a.j;var c=a.g[b];return c!==I?c:a.g[b]=G([])}if(a.i)return c=a.i[b],c!==I?c:a.i[b]=G([])},M=function(a,b){var c=L;if(-1===b)return null;a.h||(a.h={});if(!a.h[b]){var d=K(a,b);d&&(a.h[b]=new c(d))}return a.h[b]};J.prototype.toJSON=function(){var a=N(this,!1);return ea(a)}; var N=function(a,b){if(a.h)for(var c in a.h)if(Object.prototype.hasOwnProperty.call(a.h,c)){var d=a.h[c];if(Array.isArray(d))for(var e=0;e<d.length;e++)d[e]&&N(d[e],b);else d&&N(d,b)}return a.g},O=function(a,b){H=b=b?JSON.parse(b):null;a=new a(b);H=null;return a};J.prototype.toString=function(){return N(this,!1).toString()};var P=function(a){J.call(this,a)};q(P,J);function ha(a){var b,c=(a.ownerDocument&&a.ownerDocument.defaultView||window).document,d=null===(b=c.querySelector)||void 0===b?void 0:b.call(c,"script[nonce]");(b=d?d.nonce||d.getAttribute("nonce")||"":"")&&a.setAttribute("nonce",b)};var Q=function(a,b){b=String(b);"application/xhtml+xml"===a.contentType&&(b=b.toLowerCase());return a.createElement(b)},R=function(a){this.g=a||r.document||document};R.prototype.appendChild=function(a,b){a.appendChild(b)};var S=function(a,b,c,d,e,f){try{var h=a.g,g=Q(a.g,"SCRIPT");g.async=!0;g.src=b instanceof w&&b.constructor===w?b.g:"type_error:TrustedResourceUrl";ha(g);h.head.appendChild(g);g.addEventListener("load",function(){e();d&&h.head.removeChild(g)});g.addEventListener("error",function(){0<c?S(a,b,c-1,d,e,f):(d&&h.head.removeChild(g),f())})}catch(l){f()}};var ia=r.atob("aHR0cHM6Ly93d3cuZ3N0YXRpYy5jb20vaW1hZ2VzL2ljb25zL21hdGVyaWFsL3N5c3RlbS8xeC93YXJuaW5nX2FtYmVyXzI0ZHAucG5n"),ja=r.atob("WW91IGFyZSBzZWVpbmcgdGhpcyBtZXNzYWdlIGJlY2F1c2UgYWQgb3Igc2NyaXB0IGJsb2NraW5nIHNvZnR3YXJlIGlzIGludGVyZmVyaW5nIHdpdGggdGhpcyBwYWdlLg=="),ka=r.atob("RGlzYWJsZSBhbnkgYWQgb3Igc2NyaXB0IGJsb2NraW5nIHNvZnR3YXJlLCB0aGVuIHJlbG9hZCB0aGlzIHBhZ2Uu"),la=function(a,b,c){this.h=a;this.j=new R(this.h);this.g=null;this.i=[];this.l=!1;this.o=b;this.m=c},V=function(a){if(a.h.body&&!a.l){var b= function(){T(a);r.setTimeout(function(){return U(a,3)},50)};S(a.j,a.o,2,!0,function(){r[a.m]||b()},b);a.l=!0}},T=function(a){for(var b=W(1,5),c=0;c<b;c++){var d=X(a);a.h.body.appendChild(d);a.i.push(d)}b=X(a);b.style.bottom="0";b.style.left="0";b.style.position="fixed";b.style.width=W(100,110).toString()+"%";b.style.zIndex=W(2147483544,2147483644).toString();b.style["background-color"]=ma(249,259,242,252,219,229);b.style["box-shadow"]="0 0 12px #888";b.style.color=ma(0,10,0,10,0,10);b.style.display= "flex";b.style["justify-content"]="center";b.style["font-family"]="Roboto, Arial";c=X(a);c.style.width=W(80,85).toString()+"%";c.style.maxWidth=W(750,775).toString()+"px";c.style.margin="24px";c.style.display="flex";c.style["align-items"]="flex-start";c.style["justify-content"]="center";d=Q(a.j.g,"IMG");d.className=A();d.src=ia;d.style.height="24px";d.style.width="24px";d.style["padding-right"]="16px";var e=X(a),f=X(a);f.style["font-weight"]="bold";f.textContent=ja;var h=X(a);h.textContent=ka;Y(a, e,f);Y(a,e,h);Y(a,c,d);Y(a,c,e);Y(a,b,c);a.g=b;a.h.body.appendChild(a.g);b=W(1,5);for(c=0;c<b;c++)d=X(a),a.h.body.appendChild(d),a.i.push(d)},Y=function(a,b,c){for(var d=W(1,5),e=0;e<d;e++){var f=X(a);b.appendChild(f)}b.appendChild(c);c=W(1,5);for(d=0;d<c;d++)e=X(a),b.appendChild(e)},W=function(a,b){return Math.floor(a+Math.random()*(b-a))},ma=function(a,b,c,d,e,f){return"rgb("+W(Math.max(a,0),Math.min(b,255)).toString()+","+W(Math.max(c,0),Math.min(d,255)).toString()+","+W(Math.max(e,0),Math.min(f, 255)).toString()+")"},X=function(a){a=Q(a.j.g,"DIV");a.className=A();return a},U=function(a,b){0>=b||null!=a.g&&0!=a.g.offsetHeight&&0!=a.g.offsetWidth||(na(a),T(a),r.setTimeout(function(){return U(a,b-1)},50))},na=function(a){var b=a.i;var c="undefined"!=typeof Symbol&&Symbol.iterator&&b[Symbol.iterator];b=c?c.call(b):{next:aa(b)};for(c=b.next();!c.done;c=b.next())(c=c.value)&&c.parentNode&&c.parentNode.removeChild(c);a.i=[];(b=a.g)&&b.parentNode&&b.parentNode.removeChild(b);a.g=null};var pa=function(a,b,c,d,e){var f=oa(c),h=function(l){l.appendChild(f);r.setTimeout(function(){f?(0!==f.offsetHeight&&0!==f.offsetWidth?b():a(),f.parentNode&&f.parentNode.removeChild(f)):a()},d)},g=function(l){document.body?h(document.body):0<l?r.setTimeout(function(){g(l-1)},e):b()};g(3)},oa=function(a){var b=document.createElement("div");b.className=a;b.style.width="1px";b.style.height="1px";b.style.position="absolute";b.style.left="-10000px";b.style.top="-10000px";b.style.zIndex="-10000";return b};var L=function(a){J.call(this,a)};q(L,J);var qa=function(a){J.call(this,a)};q(qa,J);var ra=function(a,b){this.l=a;this.m=new R(a.document);this.g=b;this.i=K(this.g,1);b=M(this.g,2);this.o=x(K(b,4)||"");this.h=!1;b=M(this.g,13);b=x(K(b,4)||"");this.j=new la(a.document,b,K(this.g,12))};ra.prototype.start=function(){sa(this)}; var sa=function(a){ta(a);S(a.m,a.o,3,!1,function(){a:{var b=a.i;var c=r.btoa(b);if(c=r[c]){try{var d=O(P,r.atob(c))}catch(e){b=!1;break a}b=b===K(d,1)}else b=!1}b?Z(a,K(a.g,14)):(Z(a,K(a.g,8)),V(a.j))},function(){pa(function(){Z(a,K(a.g,7));V(a.j)},function(){return Z(a,K(a.g,6))},K(a.g,9),K(a.g,10),K(a.g,11))})},Z=function(a,b){a.h||(a.h=!0,a=new a.l.XMLHttpRequest,a.open("GET",b,!0),a.send())},ta=function(a){var b=r.btoa(a.i);a.l[b]&&Z(a,K(a.g,5))};(function(a,b){r[a]=function(c){for(var d=[],e=0;e<arguments.length;++e)d[e-0]=arguments[e];r[a]=da;b.apply(null,d)}})("__h82AlnkH6D91__",function(a){"function"===typeof window.atob&&(new ra(window,O(qa,window.atob(a)))).start()});}).call(this); window.__h82AlnkH6D91__("WyJwdWItNzEwMDE5ODczOTU3NTQ2MCIsW251bGwsbnVsbCxudWxsLCJodHRwczovL2Z1bmRpbmdjaG9pY2VzbWVzc2FnZXMuZ29vZ2xlLmNvbS9iL3B1Yi03MTAwMTk4NzM5NTc1NDYwIl0sbnVsbCxudWxsLCJodHRwczovL2Z1bmRpbmdjaG9pY2VzbWVzc2FnZXMuZ29vZ2xlLmNvbS9lbC9BR1NLV3hYZVI3N0Zzd3BYTks1NlFKY2RuYkl2WEZKSVlmUlhWSFF2S1JDclltcVBkZ0JadkZwTFc5ZjQwdE5EOTIyRGotempMT0NiYUNLemdEQ1p1Z2FlQm1fTDJBXHUwMDNkXHUwMDNkP3RlXHUwMDNkVE9LRU5fRVhQT1NFRCIsImh0dHBzOi8vZnVuZGluZ2Nob2ljZXNtZXNzYWdlcy5nb29nbGUuY29tL2VsL0FHU0tXeFZTR084TXlYMnN5alJfR0I3S0FQbXRpTXk4VS00R2ZZQWx4enltSWtaY25wWjBDa3YwU3dFc1V2S1dLZVI4T2pkOXBmWTJpazg3SWVZSk9lTmpvQjA0QlFcdTAwM2RcdTAwM2Q/YWJcdTAwM2QxXHUwMDI2c2JmXHUwMDNkMSIsImh0dHBzOi8vZnVuZGluZ2Nob2ljZXNtZXNzYWdlcy5nb29nbGUuY29tL2VsL0FHU0tXeFd1Rk9DZVp3LTRHMy1ZSnNFUjBoWl9XeHNBT0htVzhKb1NWeVdUb2JqRFNsRTY3cXJYallrYjR4QkY5Z3Y5ckNmV19MeFZZUEpxYUZ6RlhkdkZEa3BZR0FcdTAwM2RcdTAwM2Q/YWJcdTAwM2QyXHUwMDI2c2JmXHUwMDNkMSIsImh0dHBzOi8vZnVuZGluZ2Nob2ljZXNtZXNzYWdlcy5nb29nbGUuY29tL2VsL0FHU0tXeFc1LVB0dUJLNFlfcGl3Mk1KQU1hejl2c3diQUdnaXJXVk11TlRfeGxRdnFXQ2hKNUMwMnVaSFotb0FxR0VmeTNxVGxRd1FsWE5SWUlxNVlkM2Y5M09tVVFcdTAwM2RcdTAwM2Q/c2JmXHUwMDNkMiIsImRpdi1ncHQtYWQiLDIwLDEwMCwiY0hWaUxUY3hNREF4T1RnM016azFOelUwTmpBXHUwMDNkIixbbnVsbCxudWxsLG51bGwsImh0dHBzOi8vd3d3LmdzdGF0aWMuY29tLzBlbW4vZi9wL3B1Yi03MTAwMTk4NzM5NTc1NDYwLmpzP3VzcXBcdTAwM2RDQkUiXSwiaHR0cHM6Ly9mdW5kaW5nY2hvaWNlc21lc3NhZ2VzLmdvb2dsZS5jb20vZWwvQUdTS1d4Vi1yUGlYNjk4UkVtbGNEdTRaQnZfLVhDT3hiYnNOdTNuQzJHR1o2ZmF1RElFVmhNR3BBOE1KdFpaUDlkOTJhMVpsT3Jic05nWDFxUXl2U0Q0My03cEJCd1x1MDAzZFx1MDAzZCJd"); </script> <ins id="1019109_EPA_191010" class="ggdfp-slot" data-unitname="/1019109/EPA" data-keys='{"p":"P08","c":"BARCELONES","m":"BARCELONA","portada":"R","s":["secciosense"],"itemid":"5025","modul_id":"258","m18":"N","type":"wall"}' data-size="[[1,1]]" data-outofpage="true"></ins><ins id="1019109_EPA_914272" class="ggdfp-slot" data-unitname="/1019109/EPA" data-keys='{"p":"P08","c":"BARCELONES","m":"BARCELONA","portada":"R","s":["secciosense"],"itemid":"5025","modul_id":"260","m18":"N","type":"inter"}' data-size="[[1,1]]" data-outofpage="true"></ins> <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries --> <!-- WARNING: Respond.js doesn't work if you view the page via file:// --> <!--[if lt IE 9]> <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script> <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script> <![endif]--> <!-- css3-mediaqueries.js for IE less than 9 --> <!--[if lt IE 9]> <script src="https://css3-mediaqueries-js.googlecode.com/svn/trunk/css3-mediaqueries.js"></script> <![endif]--> <script> var epaUsuariEsGuest = '1'; var epaUsuariEsPremium = '0'; function netejaLocHash(loc) { const anticache = 'h=1' if (loc.indexOf("#")>0) { loc = loc.slice(0, loc.indexOf("#")); //console.log(loc); } if (loc.indexOf(anticache)>0) { loc = loc.slice(0, loc.indexOf(anticache)-1) + loc.slice(loc.indexOf(anticache)+3, loc.length); //console.log(loc); } if (loc.indexOf("?")>0) { loc = loc + '&' + anticache; } else { loc = loc + '?' + anticache; } return loc; } function goToHash(hash){ if (jQuery('a[id="' + hash.replace('#','') + '"]').length) { document.location.hash=hash.replace('#',''); //console.log('Hash directe: ' + document.location.href); } else { var loc = netejaLocHash(document.location.href); document.location.href = loc + hash; //console.log('Hash no carregat: [' + hash + ']' + document.location.href); } } jQuery(document).ready(function($) { jQuery("#system-message .alert").each(function(i,el){ jQuery.gritter && jQuery.gritter.add({ title: jQuery(el).find('h4.alert-heading').html(), text: jQuery(el).find('div').html(), sticky: true, time: 12000, class_name: 'gritter-warning gritter-dalt' }); jQuery(el).addClass('hide'); }); $('.dropdown-toggle').dropdown(); //$('.collapse').collapse(); @TODO Comentat per fer funcionar l'edició impresa amb colapse $('#myModal').modal('hide'); if (jQuery.fn.typeahead) $('.typeahead').typeahead(); $('.tabs').button(); $('.tip').tooltip(); $(".alert-message").alert(); $('[data-toggle="popover"]').popover(); $('*[rel=tooltip]').tooltip(); // Turn radios into btn-group $('.radio.btn-group label').addClass('btn'); $(".btn-group label:not(.active)").click(function() { var label = $(this); var input = $('#' + label.attr('for')); if (!input.prop('checked')) { label.closest('.btn-group').find("label").removeClass('active btn-success btn-danger btn-primary'); if (input.val() == '') { label.addClass('active btn-primary'); } else if (input.val() == 0) { label.addClass('active btn-danger'); } else { label.addClass('active btn-success'); } input.prop('checked', true); } }); $(".btn-group input[checked=checked]").each(function() { if ($(this).val() == '') { $("label[for=" + $(this).attr('id') + "]").addClass('active btn-primary'); } else if ($(this).val() == 0) { $("label[for=" + $(this).attr('id') + "]").addClass('active btn-danger'); } else { $("label[for=" + $(this).attr('id') + "]").addClass('active btn-success'); } }); }); </script> </head> <style> /* inhabilita element actiu css de bootstrap. Perquè no pinti abans d'hora */ .nav-pills>li.active>a, .nav-pills>li.active>a:hover, .nav-pills>li.active>a:focus { color: inherit; background-color: transparent; } </style> <body class="site amb-avis-cookies com_epaeleccions view-mapes no-layout no-task itemid-5025 template-d2015 template-2022 tmpl-index frontal03 versio-mobil app107 titol mapa catalunya guest"> <!-- Google Tag Manager (noscript) --> <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-WLHSLLV" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> <!-- End Google Tag Manager (noscript) --> <div class="body"> <a name="top"></a> <div class="container"> <div class="banner-top"> <div id="epamodul2298inner" class="publicitat sense-anunci mes-noticies inner" data-module-id="2298" ><ins id="1019109_EPA_403062" class="ggdfp-slot" data-unitname="/1019109/EPA" data-keys='{"p":"P08","c":"BARCELONES","m":"BARCELONA","portada":"R","s":["secciosense"],"itemid":"5025","modul_id":"2298","m18":"N","type":"epa_capcalerapetit"}' data-size="[[320,30]]" data-outofpage="false"></ins></div> <div id="epamodul560inner" class="publicitat sense-anunci mes-noticies inner" data-module-id="560" ><ins id="1019109_EPA_270397" class="ggdfp-slot" data-unitname="/1019109/EPA" data-keys='{"p":"P08","c":"BARCELONES","m":"BARCELONA","portada":"R","s":["secciosense"],"itemid":"5025","modul_id":"560","m18":"N","type":"mega1"}' data-size="[[320,50],[300,50],[300,100],[320,100],[300,120]]" data-outofpage="false"></ins></div> </div> <!--top--> <div class="header-container"> <header class="header" role="banner"> <div class="versioweb"><p><a href="/canals/politica/eleccionseuropees2019/catalunya.html?vermobil=0">Web clàssic</a></p></div> <div class="header-inner clearfix"> <div id="brand"> <a class="brand" href="/"> <img width="440" height="50" class="logotip-elpuntavui-top" src="https://www.elpuntavui.cat/templates/d2015/images/logo-elpuntavui-4-amb-llac.png" /><div class="site-title" title="El Punt Avui">Diari independent, català, comarcal i democràtic</div> </a> </div> <div id="data-top" > <section id="epamodul3514" class="sub epa-mobil-position-data guest no-editar-estat"> <div class="mes-noticiesx section-content epa-mobil-position-data cachemode-nocache modul-visible" data-module-id="3514"> <div id="epamodul3514inner" class="guest mes-noticies inner" data-module-id="3514" > <!-- Button trigger modal --> <div class="modal fade modal-login" tabindex="-1" data-backdrop="static" data-keyboard="false" > <div class="modal-dialog"> <div class="modal-content"> <div class="modal-body login-article-tarifes"> <button class="close" type="button" data-dismiss="modal"><div class="eptool-tancar-tip" style="text-align: right;">[X]</div></button> <h3 class="modal-login-title">Estic registrat i vull presentar-me</h3> <div class="modal-layout-form-login"><div class="login"> <div class="form userdata"> <form action="https://segur.elpunt.cat/index.php" method="post" name="login" id="form-login" class="form-form-login"> <input type="hidden" name="option" value="com_epuser" /> <input type="hidden" name="origin" value="segur2017" /> <input type="hidden" name="task" value="login" /> <input type="hidden" name="return" value="aHR0cHM6Ly93d3cuZWxwdW50YXZ1aS5jYXQvaW5kZXgucGhwP29wdGlvbj1jb21fZXBhbG9naW4mdGFzaz1sb2dpbiZyZXR1cm49YUhSMGNITTZMeTkzZDNjdVpXeHdkVzUwWVhaMWFTNWpZWFF2WTJGdVlXeHpMM0J2YkdsMGFXTmhMMlZzWldOamFXOXVjMlYxY205d1pXVnpNakF4T1M5allYUmhiSFZ1ZVdFdWFIUnRiRDkwUFRFM016STROamd4TVRjPQ==" /> <input type="hidden" name="d81382c57bc58fc78ccbfbdbec4dfdb7" value="1" /> <div class="form-login"> <div class="form-login-row user"> <input type="text" name="username" autocorrect="off" autocapitalize="none" placeholder="Correu-e" class="inputbox modlgn-username" value=""/> </div> <div class="form-login-row passwd"> <input type="password" name="passwd" autocorrect="off" autocapitalize="none" placeholder="Contrasenya" class="inputbox modlgn-passwd" value=""/> </div> <div class="form-login-row"> <input type="submit" name="submit" class="button" value="Entra" /> <p class="valor modlgn-remember"><input type="checkbox" id="remember" checked="checked" name="remember" class="inputbox" value="yes" alt="Recorda'm" /><label for="remember">Recorda'm</label></p> </div> </div> </form> </div> <div class="opcions"> <ul class="modlgn-options-list"> <li><a rel="nofollow,noindex" href="/component/epalogin/?task=recordar&amp;return=aHR0cHM6Ly93d3cuZWxwdW50YXZ1aS5jYXQvY2FuYWxzL3BvbGl0aWNhL2VsZWNjaW9uc2V1cm9wZWVzMjAxOS9jYXRhbHVueWEuaHRtbD90PTE3MzI4NjgxMTc="><strong>He oblidat la contrasenya</strong></a></li> </ul> </div> </div> </div> <div class="ajuda"> <ul> <li><a href="/registre/ajuda.html"><b>Consulta el text d'ajuda</b></a></li> <li><a href="/registre/compte/registrat.html?return=aHR0cHM6Ly93d3cuZWxwdW50YXZ1aS5jYXQvY2FuYWxzL3BvbGl0aWNhL2VsZWNjaW9uc2V1cm9wZWVzMjAxOS9jYXRhbHVueWEuaHRtbD90PTE3MzI4NjgxMTc=&msg=8815b31bee32138881808c0e2320487e"><b>Registra't gratuïtament</b></a></li> <li><a href="/registre/compte/abonat.html?return=aHR0cHM6Ly93d3cuZWxwdW50YXZ1aS5jYXQvY2FuYWxzL3BvbGl0aWNhL2VsZWNjaW9uc2V1cm9wZWVzMjAxOS9jYXRhbHVueWEuaHRtbD90PTE3MzI4NjgxMTc=&msg=afafe842e1036b26446b08a023622db2"><b>Fes-te subscriptor per 4 € al mes</b></a></li> </ul> </div><!--cat:tarifes-elpuntavui-login--> </div> </div> </div> </div> <div class="nomusuari "> <ul class="opcions-usuari"> <li class="login"><button type="button" class="modal-button-button" class="" data-toggle="modal" data-target=".modal-login">Identifica't</button></li> <li class="registre"> <a href="/registre/compte.html">Registra't</a> </li> </ul> </div> </div> </div> </section> <div class="preu-capcalera"> <a href="/registre/tarifes.html">Preu: dia 1 € / any 48 €</a> </div> </div> <div class="header-search"> <div class="data"> <p class="data"><span class="dia">Divendres,</span> 29 novembre 2024</p> </div> <div class="epamunicipi-selector" id="epamunicipi-selector3517"> <ul class=" nav nav-pills"> <li> <a href="/barcelona.html?vermobil=1" title="El Punt Avui - Barcelona" data-municipi="64511" class="btn epamunicipi-btn active" title="Anar a l'edició Barcelona">Barcelona</a> </li> <li> <a name="epamunicipi-selector" href="/component/epageneric/?view=canvimunicipi&amp;format=raw&amp;ruta_base=&amp;posicionar=1" class="canvimunicipi" title="Canviar de municipi">Tria el teu municipi</a> </li> </ul> </div> <div class="modultemps llistat"> <a href="/serveis/eltemps/barcelona.html?utm_source=elpuntavui&amp;utm_campaign=portada&amp;utm_medium=temps" title="El temps a Barcelona"> <h3 class="title-temps">Barcelona</h3> </a> <div class="dies-4 col-xs-12"> <div class="dia-item"> <p class="dia ">Avui</p> <img class="nuvols" src="https://www.elpuntavui.cat//media/epa/images/temps/12.png" alt="Clarianes" title="Clarianes"/> <p class="temp"><span class="min">9&ordm;</span><span class="max">18&ordm;</span></p> </div> <div class="dia-item"> <p class="dia ">Dissabte</p> <img class="nuvols" src="https://www.elpuntavui.cat//media/epa/images/temps/12.png" alt="Clarianes" title="Clarianes"/> <p class="temp"><span class="min">11&ordm;</span><span class="max">18&ordm;</span></p> </div> <div class="dia-item"> <p class="dia ">Diumenge</p> <img class="nuvols" src="https://www.elpuntavui.cat//media/epa/images/temps/14.png" alt="Ennuvolat" title="Ennuvolat"/> <p class="temp"><span class="min">13&ordm;</span><span class="max">18&ordm;</span></p> </div> <div class="dia-item"> <p class="dia ">Dilluns</p> <img class="nuvols" src="https://www.elpuntavui.cat//media/epa/images/temps/13.png" alt="Clarianes" title="Clarianes"/> <p class="temp"><span class="min">12&ordm;</span><span class="max">20&ordm;</span></p> </div> </div> </div> </div> </div> </header> <nav class="navigation" role="navigation"> <nav id="menu-sempre" class="navbar navbar-default affix-top" data-spy="affix" data-offset-top="200"> <div class="navbar-header"> <a class="navbar-brand" href="/"><span>El Punt Avui</span></a> <button type="button" id="menu-sempre-button" class="menu-sempre btn btn-default collapsed" data-toggle="modal" data-target="#navbar" aria-expanded="false" aria-controls="navbar"> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> <div class="search"> <form action="index.php" method="post" class="form-inline" id="mod_search487"> <button type="button" id="mod-search-boto" class="btn btn-link" data-toggle="popover"data-html="true" data-placement="left" data-content="&lt;div class=&quot;input-group&quot;&gt; &lt;input name=&quot;searchword&quot; id=&quot;mod-search-searchword&quot; maxlength=&quot;200&quot; class=&quot;inputbox search-query form-control input-lg&quot; type=&quot;search&quot; size=&quot;20&quot; placeholder=&quot;Cercar ...&quot; /&gt; &lt;span class=&quot;input-group-btn&quot;&gt;&lt;button class=&quot;button btn btn-primary btn-lg&quot; onclick=&quot;this.form.submit();&quot;&gt; &lt;span class=&quot;glyphicon glyphicon-search&quot;&gt;&lt;/span&gt;&lt;/button&gt;&lt;/span&gt;&lt;/div&gt;"><span class="glyphicon glyphicon-search"></span> Cercar</button> <input type="hidden" name="option" value="com_search"/> <input type="hidden" name="task" value="search"/> <input type="hidden" name="datainici" value="" /> <input type="hidden" name="datafi" value="" /> <input type="hidden" name="Itemid" value="139"/> </form> </div> <script> jQuery(document).ready(function (){ jQuery('#mod-search-boto').on('shown.bs.popover', function () { jQuery('#mod-search-searchword').focus(); }) }) </script> </div> </nav> <div class="navigation nav-nivell-3"> <ul class="nav nivell-3 menu activepath-3011-300-768 path-3011-300-768 active-768 mnu-ppal" id="mnu-ppal"> <li class="item-768 elpuntavui mnu-2015-04-30-00-45-21 active current"><a href="/canals.html?vermobil=1" >Tots els canals</a></li><li class="item-5010 elpuntavui mnu-eleccions-europees-2024"><a href="/canals/politica/eleccions-europees-2024.html?vermobil=1" >Eleccions Europees 2024</a></li><li class="item-5784 elpuntavui mnu-eleccions-parlament-2024"><a href="/canals/politica/eleccions-al-parlament-2024.html?vermobil=1" >Eleccions al Parlament 2024</a></li><li class="item-5757 elpuntavui mnu-eleccions-generals-2023"><a href="/canals/politica/eleccions-generals-23j.html?vermobil=1" >Eleccions generals 2023</a></li><li class="item-5549 elpuntavui mnu-guerra-a-ucraina"><a href="/especials/guerra-a-ucraina.html?vermobil=1" >Guerra a Ucraïna</a></li></ul></div> </nav> <div id="navbar" class="modal fade"> <div class="modal-dialog modal-lg"> <div class="modal-content"> <div class="section-content mapaweb"> <div class="modal-body contingutsweb"> <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button> <div class="search"> <form action="/article.html" method="post" class="form-inline"> <label for="mod-search-searchword" class="element-invisible">Cercar ...</label> <input name="searchword" id="mod-search-searchword" autocomplete="off" maxlength="200" class="inputbox search-query" type="text" size="20" value="Cercar ..." onblur="if (this.value=='') this.value='Cercar ...';" onfocus="if (this.value=='Cercar ...') this.value='';" /> <button class="button btn btn-primary" onclick="this.form.searchword.focus();">Cercar</button> <input type="hidden" name="task" value="search" /> <input type="hidden" name="option" value="com_search" /> <input type="hidden" name="Itemid" value="139" /> </form> </div> <section id="epamodul2676" class="sub epa-mobil-menu guest menuprincipal-superior "> <div class="mes-noticiesx section-content epa-mobil-menu cachemode-nocache modul-visible" data-module-id="2676"> <div id="epamodul2676inner" class="guest mes-noticies inner" data-module-id="2676" ><div class="navigation nav-pills nav-nivell-1"> <ul class="nav nivell-1 menu nav-pills activepath-3565-4908 path-3565-4908 active-4908 menu-seccions" id="menu-seccions"> <li class="item-4004 elpuntavuimobil mnu-visualitzacio deeper parent"><a href="/./?vermobil=0" class=" visualitzacio hidden">Visualització</a><ul class="nav-child unstyled small"><li class="item-5208 elpuntavuimobil mnu-reload"><a href="#" class=" reload" rel="nofollow">Recarregar</a></li><li class="item-4007 elpuntavuimobil mnu-versio-classica"><a href="/./?vermobil=0" >Web versió clàssica</a></li><li class="item-4009 elpuntavuimobil mnu-versio-mobil"><a href="/./?vermobil=1" >Web versió mòbil</a></li><li class="item-5090 elpuntavuimobil mnu-el-punt-avui"><a href="/edicio/paper/el-punt-avui.html" >Edició impresa</a></li></ul></li><li class="item-3552 elpuntavuimobil mnu-seccions-mobil deeper parent"><a href="/barcelona.html?vermobil=1" >Seccions</a><ul class="nav-child unstyled small"><li class="item-3553 elpuntavuimobil mnu-portada"><a href="/barcelona.html?vermobil=1" >Portada</a></li><li class="item-3554 elpuntavuimobil mnu-local"><a href="/municipi/barcelona.html?vermobil=1" >Local</a></li><li class="item-3555 elpuntavuimobil mnu-divers"><a href="/punt-divers.html?vermobil=1" >Successos</a></li><li class="item-3556 elpuntavuimobil mnu-societat"><a href="/societat.html?vermobil=1" >Societat</a></li><li class="item-3557 elpuntavuimobil mnu-politica"><a href="/politica.html?vermobil=1" >Política</a></li><li class="item-3558 elpuntavuimobil mnu-economia"><a href="/economia.html?vermobil=1" >Economia</a></li><li class="item-3559 elpuntavuimobil mnu-cultura"><a href="/cultura.html?vermobil=1" >Cultura</a></li><li class="item-4785 elpuntavuimobil mnu-europa-mon"><a href="/europa.html?vermobil=1" >Europa-Món</a></li><li class="item-3560 elpuntavuimobil mnu-comunicacio"><a href="/comunicacio.html?vermobil=1" >Comunicació</a></li><li class="item-3561 elpuntavuimobil mnu-opinio"><a href="/opinio.html?vermobil=1" >Opinió</a></li><li class="item-3563 elpuntavuimobil mnu-esports"><a href="/esports.html?vermobil=1" >Esports</a></li></ul></li><li class="item-3565 elpuntavuimobil mnu-mes-menus-mobil active deeper parent"><a href="/agenda/portada/barcelona.html" >Més</a><ul class="nav-child unstyled small"><li class="item-3566 elpuntavuimobil mnu-agenda"><a href="/agenda/portada/barcelona.html" >Agenda</a></li><li class="item-4242 elpuntavuimobil mnu-cinema"><a href="/cinema/portada/barcelona.html" >Cinema</a></li><li class="item-3567 elpuntavuimobil mnu-necrologiques"><a href="/serveis/necrologiques/barcelona.html" >Necrològiques</a></li><li class="item-3964 elpuntavuimobil mnu-farmacies"><a href="/serveis/farmacies/barcelona.html" >Farmàcies</a></li><li class="item-3995 elpuntavuimobil mnu-eltemps"><a href="/serveis/eltemps/barcelona.html" >El temps</a></li><li class="item-4779 elpuntavuimobil mnu-entreteniments"><a href="/serveis/entreteniments.html" >Entreteniments</a></li><li class="item-5055 elpuntavuimobil mnu-diccionaris"><a href="/serveis/diccionaris/multidiccionari.html" >Diccionaris</a></li><li class="item-4908 elpuntavuimobil mnu-epcanals active current"><a href="/canals.html?vermobil=1" >Canals</a></li><li class="item-5037 elpuntavuimobil mnu-temes"><a href="/mes-menus/temes-alias/tots-els-temes.html?vermobil=1" >Temes</a></li><li class="item-4970 elpuntavuimobil mnu-televisio"><a href="/serveis/televisio.html" >Televisió</a></li><li class="item-5168 elpuntavuimobil mnu-hemeroteca"><a href="/cercar.html" >Hemeroteca</a></li><li class="item-5258 elpuntavuimobil mnu-cercador-alies"><a href="/cercar.html" >Cercador</a></li><li class="item-5262 elpuntavuimobil mnu-compte"><a href="/registre/compte.html" >Compte d'usuari</a></li></ul></li><li class="item-4767 elpuntavuimobil mnu-participacio-mobil deeper parent"><a href="/participacio/galeries/galeries.html" >Participació</a><ul class="nav-child unstyled small"><li class="item-4770 elpuntavuimobil mnu-enviar-fotos"><a href="/participacio/enviar-fotos.html" >Enviar una foto</a></li></ul></li><li class="item-4018 elpuntavuimobil mnu-grup-hermes deeper parent"><a href="/epa/qui-som.html" >Empresa</a><ul class="nav-child unstyled small"><li class="item-4019 elpuntavuimobil mnu-qui-som"><a href="/epa/qui-som.html" >Qui som</a></li><li class="item-4022 elpuntavuimobil mnu-contacte"><a href="/epa/contacte/atencio-client.html" >Contacte</a></li><li class="item-4025 elpuntavuimobil mnu-avisos-legals"><a href="/epa/avisos-legals.html" >Avisos legals</a></li><li class="item-4024 elpuntavuimobil mnu-politica-de-cookies"><a href="/epa/politica-de-cookies.html" >Política de cookies</a></li><li class="item-4030 elpuntavuimobil mnu-normes-de-participacio"><a href="/epa/normes-participacio.html" >Normes de participació</a></li><li class="item-4027 elpuntavuimobil mnu-publicitat"><a href="/epa/publicitat/web.html" >Publicitat</a></li></ul></li></ul></div></div> </div> </section> </div> </div> </div><!-- /.modal-content --> </div><!-- /.modal-dialog --> </div><!-- /.modal --> </div> <!--fullwidth--> <!-- Content --> <div class=""> <!-- Component --> <main id="content" role="main" class=""> <div id="system-message-container"> </div> <section id="epamodul2265" class="seccio epa-mobil-uppercomponent guest menu-26m2019 europees menu-canal"> <div class="mes-noticiesx section-content epa-mobil-uppercomponent cachemode-nocache modul-visible" data-module-id="2265"> <div id="epamodul2265inner" class="guest mes-noticies inner" data-module-id="2265" ><div class="navigation nav-pills menu-eleccions nav-nivell-4"> <ul class="nav nivell-4 menu nav-pills menu-eleccions activepath-2008-2057-4973-5025 path-2008-2057-4973 active-5025 menu-26m2019eu" id="menu-26m2019eu"> <li class="item-4974 elpuntavui-canals mnu-noticies"><a href="/canals/politica/eleccionseuropees2019.html?vermobil=1" ><img src="/elements/docs/2019/europees2019/logo-resultats.europees-animat.gif" alt="Notícies " /><span class="image-title">Notícies </span></a></li><li class="item-4997 elpuntavui-canals mnu-resultats-2019"><a href="/canals/politica/eleccionseuropees2019/resultats-2019/999-europa/998-estat-espanyol/509-catalunya/8-barcelona/9013-barcelones/8019-barcelona.html?layout=div" ><img src="/elements/docs/2019/europees2019/logo-resultats.europees-animat.gif" alt="Resultats poble a poble " /><span class="image-title">Resultats poble a poble </span></a></li><li class="item-5000 elpuntavui-canals mnu-eleccions-europees-2019"><a href="/canals/politica/eleccionseuropees2014.html?vermobil=1" ><img src="/elements/docs/2019/europees2019/logo-resultats.europees-animat.gif" alt="Eleccions europees 2014" /><span class="image-title">Eleccions europees 2014</span></a></li><li class="item-5025 elpuntavui-canals mnu-catalunya active current"><a href="/canals/politica/eleccionseuropees2019/catalunya.html" ><img src="/elements/docs/2019/eleccions-28a/logo-resultats-xarxes-anim.gif" alt="Catalunya per municipis " /><span class="image-title">Catalunya per municipis </span></a></li></ul></div></div> </div> </section> <div class="moduletable noSwipe shortcuts"> <div class="navigation nav-pills menu-app-seccions nav-nivell-1"> <ul class="nav nivell-1 menu nav-pills menu-app-seccions activepath-2008 path-2008 active-2008 menu-app-seccions" id="menu-app-seccions"> <li class="item-5219 elpuntavui-mobil-seccion mnu-portada-ms"><a href="/barcelona.html?vermobil=1" >Portada</a></li><li class="item-5252 elpuntavui-mobil-seccion mnu-ultima-hora-ms"><a href="/en-temps-real.html" >Última hora</a></li><li class="item-5220 elpuntavui-mobil-seccion mnu-edicio-girona"><a href="/edicio-girona/girona.html?vermobil=1" >Girona</a></li><li class="item-5255 elpuntavui-mobil-seccion mnu-local-ms"><a href="/municipi/barcelona.html?vermobil=1" >Municipis</a></li><li class="item-5256 elpuntavui-mobil-seccion mnu-serveis-ms"><a href="/mes-menus/serveis.html" >Serveis</a></li></ul></div> </div> <!-- Right --> <!-- Begin Content --> <div class="mapaelectoral titol mapa catalunya "> <style type="text/css"> #mapaelectoralcontent div.mapa { width: 400px; height: 400px; } </style> <h1>Mapa municipal de Catalunya de les Eleccions Europees 2019</h1> <div class="explicacio"> El mapa mostra el repartiment municipal del vot. Els colors més forts indiquen un percentatge de vot més alt en aquell municipi.</div> <div id="mapaelectoral"> <div id="mapaelectoral-029d36355bb63b862acba038f17181d5"> <div id="mapaelectoral"> <div class="cartogram__controls"> <span class="text">Esculli una dada: </span> <select class="opcions-mapa"> </select> </div> <mapaelectoralcontent id="mapaelectoralcontent"><div class="loading"><span class="glyphicon glyphicon-refresh glyphicon-refresh-animate"></span> Carregant el mapa, esperi ...</div></mapaelectoralcontent> <div class="cartogram__legend"> <div class="llegenda"> <div class="titol partit"> <div class="nom"></div> <div class="mitjana">%Vot Catalunya</div> <div class="electes">Diputats</div> <div class="num-municipis">Núm. municipis</div> </div> <div class="elspartits"> </div> </div> <p class="escrutat">Escrutat: <span class="escrutatval"></span></p> </div> </div> <script class="llegenda-partit-template" type="text/html"> <div class="partit"> <div class="valnom"> <div class="cartogram__gradient-key"> <span class="min-percent-legend"></span><span class="max-percent-legend"></span> </div> <div class="opcioactual"></div> </div> <div class="mitjana valmitjana"></div> <div class="electes valelectes"></div> <div class="num-municipis valmunicipis"></div> </div> </script> </div> <script type="text/javascript"> var opcio_actual = 0; var colorsPerDefecte = ['ff0000', '660000', 'ff2a00', '661100', 'ff5500', '662200', 'ff8000', '663300', 'ffaa00', '664400', 'ffd500', '665500', 'ffff00', '666600' , 'd4ff00', '556600', 'aaff00', '446600', '80ff00', '336600', '55ff00', '226600']; jQuery(document).ready(function () { function cutHex(h) { return (h.charAt(0) == "#") ? h.substring(1, 7) : h } var partits = {}; var getPartits = function (opcio_actual) { var divOpcionsMapa = jQuery("#mapaelectoral-029d36355bb63b862acba038f17181d5 .opcions-mapa"); var cache = (sessionStorage) ? JSON.parse(sessionStorage.getItem('mapa029d36355bb63b862acba038f17181d554catmunicipis1partits')) : null; var pintat = false; if (0 && cache !== null) { var d = new Date(); if (cache.escrutat == '99.97' && cache.ttl > d.getTime()) { jQuery('#mapaelectoral-029d36355bb63b862acba038f17181d5 .opcions-mapa').html(cache.htmlOpcionsMapa); partits = cache.partits; jQuery('#mapaelectoral-029d36355bb63b862acba038f17181d5 .escrutatval').html(cache.htmlEscrutat); pintat = true; } } if (!pintat) { var data = JSON.parse('{"partits":[{"partit_id":"540010024","partit_sigles":"JxCAT-JUNTS","partit_nom":"JxCAT-JUNTS","vots":"987149","perc_vots":"28.52","num_diputats":"0","ordreresultat":"1","ordrepartit":"100","color":"#d8729a","logo":null,"option_meaning":"neutral","partit_id_suma":"540010024","alias":"540010024-jxcat-junts"},{"partit_id":"540010003","partit_sigles":"PSC","partit_nom":"PSC","vots":"766107","perc_vots":"22.14","num_diputats":"0","ordreresultat":"1","ordrepartit":"100","color":"#ef1920","logo":null,"option_meaning":"neutral","partit_id_suma":"540010003","alias":"540010003-psc"},{"partit_id":"540010006","partit_sigles":"ERC-ARA REP\u00daBLIQUES","partit_nom":"ERC-ARA REP\u00daBLIQUES","vots":"733401","perc_vots":"21.19","num_diputats":"0","ordreresultat":"1","ordrepartit":"100","color":"#ffa344","logo":null,"option_meaning":"neutral","partit_id_suma":"540010006","alias":"540010006-erc-ara-republiques"},{"partit_id":"540010023","partit_sigles":"Cs","partit_nom":"Cs","vots":"298781","perc_vots":"8.63","num_diputats":"0","ordreresultat":"1","ordrepartit":"100","color":"#ff6600","logo":null,"option_meaning":"neutral","partit_id_suma":"540010023","alias":"540010023-cs"},{"partit_id":"540010020","partit_sigles":"CeC-PODEMOS","partit_nom":"CeC-PODEMOS","vots":"292088","perc_vots":"8.44","num_diputats":"0","ordreresultat":"1","ordrepartit":"100","color":"#673063","logo":null,"option_meaning":"neutral","partit_id_suma":"540010020","alias":"540010020-cec-podemos"},{"partit_id":"540010030","partit_sigles":"PP","partit_nom":"PP","vots":"178950","perc_vots":"5.17","num_diputats":"0","ordreresultat":"1","ordrepartit":"100","color":"#5081c1","logo":null,"option_meaning":"neutral","partit_id_suma":"540010030","alias":"540010030-pp"},{"partit_id":"540010025","partit_sigles":"VOX","partit_nom":"VOX","vots":"68824","perc_vots":"1.99","num_diputats":"0","ordreresultat":"1","ordrepartit":"100","color":"#7cbd2a","logo":null,"option_meaning":"neutral","partit_id_suma":"540010025","alias":"540010025-vox"},{"partit_id":"540010009","partit_sigles":"PACMA","partit_nom":"PACMA","vots":"48733","perc_vots":"1.41","num_diputats":"0","ordreresultat":"1","ordrepartit":"100","color":"#b5c031","logo":null,"option_meaning":"neutral","partit_id_suma":"540010009","alias":"540010009-pacma"},{"partit_id":"540010029","partit_sigles":"CV-EC","partit_nom":"CV-EC","vots":"11713","perc_vots":"0.34","num_diputats":"0","ordreresultat":"1","ordrepartit":"100","color":"#a0bf38","logo":null,"option_meaning":"neutral","partit_id_suma":"540010029","alias":"540010029-cv-ec"},{"partit_id":"540010031","partit_sigles":"RECORTES CERO-LV-GVE","partit_nom":"RECORTES CERO-LV-GVE","vots":"6822","perc_vots":"0.20","num_diputats":"0","ordreresultat":"1","ordrepartit":"100","color":null,"logo":null,"option_meaning":"neutral","partit_id_suma":"540010031","alias":"540010031-recortes-cero-lv-gve"},{"partit_id":"540010027","partit_sigles":"piratescat\/ep","partit_nom":"pirates.cat\/ep","vots":"4937","perc_vots":"0.14","num_diputats":"0","ordreresultat":"1","ordrepartit":"100","color":null,"logo":null,"option_meaning":"neutral","partit_id_suma":"540010027","alias":"540010027-piratescat-ep"},{"partit_id":"540010001","partit_sigles":"IFem","partit_nom":"I.Fem","vots":"4616","perc_vots":"0.13","num_diputats":"0","ordreresultat":"1","ordrepartit":"100","color":"#c21822","logo":null,"option_meaning":"neutral","partit_id_suma":"540010001","alias":"540010001-ifem"},{"partit_id":"540010019","partit_sigles":"PCPE-PCPC-PCPA","partit_nom":"PCPE-PCPC-PCPA","vots":"4485","perc_vots":"0.13","num_diputats":"0","ordreresultat":"1","ordrepartit":"100","color":null,"logo":null,"option_meaning":"neutral","partit_id_suma":"540010019","alias":"540010019-pcpe-pcpc-pcpa"},{"partit_id":"540010016","partit_sigles":"CPE","partit_nom":"CPE","vots":"3899","perc_vots":"0.11","num_diputats":"0","ordreresultat":"1","ordrepartit":"100","color":null,"logo":null,"option_meaning":"neutral","partit_id_suma":"540010016","alias":"540010016-cpe"},{"partit_id":"540010002","partit_sigles":"CEUS","partit_nom":"CEUS","vots":"3546","perc_vots":"0.10","num_diputats":"0","ordreresultat":"1","ordrepartit":"100","color":"#00902f","logo":null,"option_meaning":"neutral","partit_id_suma":"540010002","alias":"540010002-ceus"},{"partit_id":"540010028","partit_sigles":"VOLT","partit_nom":"VOLT","vots":"2890","perc_vots":"0.08","num_diputats":"0","ordreresultat":"1","ordrepartit":"100","color":null,"logo":null,"option_meaning":"neutral","partit_id_suma":"540010028","alias":"540010028-volt"},{"partit_id":"540010011","partit_sigles":"PCTC","partit_nom":"PCTC","vots":"2724","perc_vots":"0.08","num_diputats":"0","ordreresultat":"1","ordrepartit":"100","color":null,"logo":null,"option_meaning":"neutral","partit_id_suma":"540010011","alias":"540010011-pctc"},{"partit_id":"540010021","partit_sigles":"PUM+J","partit_nom":"PUM+J","vots":"2492","perc_vots":"0.07","num_diputats":"0","ordreresultat":"1","ordrepartit":"100","color":null,"logo":null,"option_meaning":"neutral","partit_id_suma":"540010021","alias":"540010021-pum-j"},{"partit_id":"540010004","partit_sigles":"ALTER","partit_nom":"ALTER","vots":"2432","perc_vots":"0.07","num_diputats":"0","ordreresultat":"1","ordrepartit":"100","color":null,"logo":null,"option_meaning":"neutral","partit_id_suma":"540010004","alias":"540010004-alter"},{"partit_id":"540010005","partit_sigles":"CXE","partit_nom":"CXE","vots":"2157","perc_vots":"0.06","num_diputats":"0","ordreresultat":"1","ordrepartit":"100","color":null,"logo":null,"option_meaning":"neutral","partit_id_suma":"540010005","alias":"540010005-cxe"},{"partit_id":"540010018","partit_sigles":"IZQP","partit_nom":"IZQP","vots":"1832","perc_vots":"0.05","num_diputats":"0","ordreresultat":"1","ordrepartit":"100","color":"#67a96a","logo":null,"option_meaning":"neutral","partit_id_suma":"540010018","alias":"540010018-izqp"},{"partit_id":"540010015","partit_sigles":"PACT","partit_nom":"PACT","vots":"1552","perc_vots":"0.04","num_diputats":"0","ordreresultat":"1","ordrepartit":"100","color":null,"logo":null,"option_meaning":"neutral","partit_id_suma":"540010015","alias":"540010015-pact"},{"partit_id":"540010032","partit_sigles":"CEX-CREX-PREX","partit_nom":"CEX-CREX-PREX","vots":"1321","perc_vots":"0.04","num_diputats":"0","ordreresultat":"1","ordrepartit":"100","color":null,"logo":null,"option_meaning":"neutral","partit_id_suma":"540010032","alias":"540010032-cex-crex-prex"},{"partit_id":"540010008","partit_sigles":"AD\u00d1","partit_nom":"AD\u00d1","vots":"1269","perc_vots":"0.04","num_diputats":"0","ordreresultat":"1","ordrepartit":"100","color":null,"logo":null,"option_meaning":"neutral","partit_id_suma":"540010008","alias":"540010008-adn"},{"partit_id":"540010022","partit_sigles":"MCR","partit_nom":"MCR","vots":"1220","perc_vots":"0.04","num_diputats":"0","ordreresultat":"1","ordrepartit":"100","color":null,"logo":null,"option_meaning":"neutral","partit_id_suma":"540010022","alias":"540010022-mcr"},{"partit_id":"540010014","partit_sigles":"AxS\u00cd","partit_nom":"AxS\u00cd","vots":"1177","perc_vots":"0.03","num_diputats":"0","ordreresultat":"1","ordrepartit":"100","color":null,"logo":null,"option_meaning":"neutral","partit_id_suma":"540010014","alias":"540010014-axsi"},{"partit_id":"540010017","partit_sigles":"MIEL","partit_nom":"MIEL","vots":"1096","perc_vots":"0.03","num_diputats":"0","ordreresultat":"1","ordrepartit":"100","color":null,"logo":null,"option_meaning":"neutral","partit_id_suma":"540010017","alias":"540010017-miel"},{"partit_id":"540010007","partit_sigles":"CONTIGO","partit_nom":"CONTIGO","vots":"1074","perc_vots":"0.03","num_diputats":"0","ordreresultat":"1","ordrepartit":"100","color":null,"logo":null,"option_meaning":"neutral","partit_id_suma":"540010007","alias":"540010007-contigo"},{"partit_id":"540010012","partit_sigles":"FAC","partit_nom":"FAC","vots":"885","perc_vots":"0.03","num_diputats":"0","ordreresultat":"1","ordrepartit":"100","color":null,"logo":null,"option_meaning":"neutral","partit_id_suma":"540010012","alias":"540010012-fac"},{"partit_id":"540010013","partit_sigles":"PH","partit_nom":"PH","vots":"884","perc_vots":"0.03","num_diputats":"0","ordreresultat":"1","ordrepartit":"100","color":null,"logo":null,"option_meaning":"neutral","partit_id_suma":"540010013","alias":"540010013-ph"},{"partit_id":"540010026","partit_sigles":"IGRE","partit_nom":"IGRE","vots":"784","perc_vots":"0.02","num_diputats":"0","ordreresultat":"1","ordrepartit":"100","color":null,"logo":null,"option_meaning":"neutral","partit_id_suma":"540010026","alias":"540010026-igre"},{"partit_id":"540010010","partit_sigles":"SAIn","partit_nom":"SAIn","vots":"523","perc_vots":"0.02","num_diputats":"0","ordreresultat":"1","ordrepartit":"100","color":null,"logo":null,"option_meaning":"neutral","partit_id_suma":"540010010","alias":"540010010-sain"}],"escrutini":"99.97","cens":"5408485","total":{"partit_id":"3","partit_sigles":"VOTS","partit_nom":"Vots","vots":"3473436","perc_vots":"64.23","num_diputats":0,"ordreresultat":"0","ordrepartit":"3","color":null,"logo":null,"option_meaning":"neutral","partit_id_suma":"3","alias":"3-participacio"},"blancs":{"partit_id":"5","partit_sigles":"EN BLANC","partit_nom":"En Blanc","vots":"20501","perc_vots":"0.59","num_diputats":"0","ordreresultat":"0","ordrepartit":"5","color":null,"logo":null,"option_meaning":"neutral","partit_id_suma":"5"},"nuls":{"partit_id":"4","partit_sigles":"NULS","partit_nom":"Nuls","vots":"12562","perc_vots":"0.36","num_diputats":"0","ordreresultat":"0","ordrepartit":"4","color":null,"logo":null,"option_meaning":"neutral","partit_id_suma":"4"}}'); var val_escrutat = data.escrutini; var colorsUtilitzats = 0; divOpcionsMapa.append("<option value='0'>Guanyadors</option>"); partits[data.total.partit_id] = {}; partits[data.total.partit_id].percentatge = data.total.perc_vots; partits[data.total.partit_id].vots = data.total.vots; partits[data.total.partit_id].color = "555555"; partits[data.total.partit_id].nom = "Participació"; partits[data.total.partit_id].alias = data.total.partit_id + "-participacio"; partits[data.total.partit_id].sigles = "Participació"; partits[data.total.partit_id].electes = 0; divOpcionsMapa.append("<option value='" + data.total.partit_id + "'>Participació</option>"); if (parseFloat(val_escrutat) < 100) { partits[2] = {}; partits[2].percentatge = data.total.perc_vots; partits[2].vots = data.total.vots; partits[2].color = "0000FF"; partits[2].nom = "% Escrutat"; partits[2].alias = "2-escrutini"; partits[2].sigles = "% Escrutat"; partits[2].electes = 0; divOpcionsMapa.append("<option value='2'>% Escrutat</option>"); } jQuery(data.partits).each(function (k, v) { if (v.partit_id) { partits[v.partit_id] = {}; partits[v.partit_id].percentatge = v.perc_vots; partits[v.partit_id].vots = v.vots; if (v.color) partits[v.partit_id].color = cutHex(v.color); else { if (colorsPerDefecte.length > colorsUtilitzats) { partits[v.partit_id].color = colorsPerDefecte[colorsUtilitzats++]; } else partits[v.partit_id].color = "d3d3d3"; } partits[v.partit_id].nom = v.partit_nom; partits[v.partit_id].alias = v.alias; partits[v.partit_id].sigles = v.partit_sigles; partits[v.partit_id].electes = v.num_diputats; divOpcionsMapa.append("<option value='" + v.partit_id + "'>" + v.partit_sigles + "</option>"); } }); jQuery('#mapaelectoral-029d36355bb63b862acba038f17181d5 .escrutatval').html(val_escrutat + ' %'); if (sessionStorage) { var d = new Date(); var cache = {}; cache.escrutat = '99.97'; cache.ttl = d.getTime() + 5 * 1000 * 60 * 60; cache.htmlOpcionsMapa = jQuery('#mapaelectoral-029d36355bb63b862acba038f17181d5 .opcions-mapa').html(); cache.partits = partits; cache.htmlEscrutat = jQuery('#mapaelectoral-029d36355bb63b862acba038f17181d5 .escrutatval').html(); try { sessionStorage.setItem('mapa029d36355bb63b862acba038f17181d554catmunicipis1partits', JSON.stringify(cache)); } catch(e) { console.log(e); sessionStorage.clear(); } } } divOpcionsMapa.find('option[value="' + opcio_actual + '"]').prop('selected', true) }; var municipis = []; var calculararraycolors = function (color, min, max) { var rainbow = new Rainbow(); rainbow.setNumberRange(min, max); rainbow.setSpectrum('white', color); var s = []; for (var i = min; i <= max; i++) { var hexColour = rainbow.colourAt(i); s[i] = '#' + hexColour; } return s; }; var enllac = function (d) { var id = jQuery(this).data().id; if (municipis[id]) { window.location = municipis[id].url; } }; var tip = d3.tip() .attr('class', 'd3-tip') .offset([-5, 0]) .html(function (d) { var id = jQuery(this).data().id; //var id = parseInt(d.id); if (municipis[id]) { var auxtext = ''; if (municipis[id].partit_id > 5) { auxtext += "<br/><span class='extra_info'>"; auxtext += "<span class='info_vots'><span class='label_vots'> Vots :</span> <span class='valor_vots' style='color: rgb(189,215,231)'>" + municipis[id].vots + "</span></span>"; if (typeof municipis[id].electes != 'undefined') { auxtext += "<br/><span class='info_electes'><span class='label_electes'> Electes :</span> <span class='valor_vots' style='color: rgb(189,215,231)'>" + municipis[id].electes + "</span></span>"; } auxtext += "</span>"; } return "<span class='nom_lloc'><strong>" + municipis[id].nom + "</strong></span>" + "<br />" + "<span> <span class='partit'><span class='label_partit'>" + partits[municipis[id].partit_id].nom + ":</span> <span class='percentatge_partit' style='color: rgb(189,215,231)'>" + municipis[id].percentatge + " %</span>" + auxtext; } return 'Sense dades'; }); jQuery('#mapaelectoral-029d36355bb63b862acba038f17181d5 .opcions-mapa').on('change', function () { var valor = jQuery(this).val(); canviarDades(valor); if (1) { var url = "canals/politica/eleccionseuropees2019/catalunya.html"; var title = "Catalunya per municipis - Guanyadors"; if (valor > 0) { url = "canals/politica/eleccionseuropees2019/catalunya/partits/" + partits[valor].alias + '.html'; title = "Catalunya per municipis - " + partits[valor].alias; } if (typeof (history.pushState) != "undefined") { var obj = {Page: title, Url: url}; history.pushState(obj, obj.Page, obj.Url); } } }); var pintaMapa = function (option) { var guanyadors = option == 0 ? 1 : 0; jQuery('#mapaelectoral-029d36355bb63b862acba038f17181d5 mapaelectoralcontent').html(''); d3.json('/layouts/epa/eleccions/inc/catalunya-municipis-topo_custom.json', function (json) { //Convert TopoJSON to GeoJSON json = topojson.feature(json, json.objects['catalunya-municipis_custom']); var svg = d3.select("#mapaelectoral-029d36355bb63b862acba038f17181d5 mapaelectoralcontent").append('div').attr('class', 'mapa mapa-cat').append("svg"); var contenidor_mapa = jQuery('#mapaelectoral-029d36355bb63b862acba038f17181d5 mapaelectoralcontent div.mapa-cat'); var width = contenidor_mapa.width(); var height = contenidor_mapa.height(); svg.attr('width', width).attr('height', height); svg.call(tip); // Create a unit projection. var projection = d3.geo.mercator() .scale(1) .translate([0, 0]); // Create a path generator. var path = d3.geo.path() .projection(projection); // Compute the bounds of a feature of interest, then derive scale & translate. var b = path.bounds(json), s = .95 / Math.max((b[1][0] - b[0][0]) / width, (b[1][1] - b[0][1]) / height), t = [(width - s * (b[1][0] + b[0][0])) / 2, (height - s * (b[1][1] + b[0][1])) / 2]; // Update the projection to use computed scale & translate. projection .scale(s) .translate(t); svg.selectAll("path") .data(json.features) .enter().append("path") .attr("d", path) .attr("class", "municipis") .attr("data-id", function (d) { return parseInt(d.id) }) .on('mouseover', tip.show) .on('mouseout', tip.hide) .on('click', enllac) .style("fill", function (d) { //Get data value if (municipis[parseInt(d.id)]) { var value = municipis[parseInt(d.id)].percentatge; if (value) { return (!0 || !guanyadors) ? arraycolors[municipis[parseInt(d.id)].partit_id][parseInt(value)] : '#' + partits[municipis[parseInt(d.id)].partit_id].color; } else { return "#fff"; } } return "#fff"; }) ; if (sessionStorage) { var d = new Date(); var cache = {}; cache.escrutat = '99.97'; cache.ttl = d.getTime() + 5 * 1000 * 60 * 60; cache.htmlMapa = jQuery('#mapaelectoral-029d36355bb63b862acba038f17181d5 mapaelectoralcontent').html(); //cache.municipis = municipis; cache.lastData = lastData; cache.htmlLlegenda = jQuery('#mapaelectoral-029d36355bb63b862acba038f17181d5 div.llegenda').html(); try { sessionStorage.setItem('mapa029d36355bb63b862acba038f17181d554catmunicipis1mapa' + option, JSON.stringify(cache)); } catch(e) { console.log(e); sessionStorage.clear(); } } }); }; var lastData = null; //Guardem les ultimes dades rebudes a cache pq ocupen menys que municipis pq guarda nuls var processarData = function (data) { municipis = []; for (var i = 0; i < data.length; i++) { if (parseInt(data[i].vots) > 0) { municipis[parseInt(data[i].codi)] = data[i]; } } } var canviarDades = function (option) { console.log(option); var cache = (sessionStorage) ? JSON.parse(sessionStorage.getItem('mapa029d36355bb63b862acba038f17181d554catmunicipis1mapa' + option)) : null; var pintat = false; if (!1 && cache !== null) { var d = new Date(); if (cache.escrutat == '99.97' && cache.ttl > d.getTime()) { jQuery('#mapaelectoral-029d36355bb63b862acba038f17181d5 mapaelectoralcontent').html(cache.htmlMapa); //municipis = cache.municipis; processarData(cache.lastData); jQuery('#mapaelectoral-029d36355bb63b862acba038f17181d5 div.llegenda').html(cache.htmlLlegenda); d3.selectAll('#mapaelectoral-029d36355bb63b862acba038f17181d5 mapaelectoralcontent svg') .call(tip) .selectAll('path') .on('mouseover', tip.show) .on('mouseout', tip.hide) .on('click', enllac); pintat = true; } } if (!pintat) { jQuery('#mapaelectoral-029d36355bb63b862acba038f17181d5 mapaelectoralcontent').html('<div class="loading"><span class="glyphicon glyphicon-refresh glyphicon-refresh-animate"></span> Carregant el mapa, esperi ...</div>'); var url = "index.php?option=com_epaeleccions&format=raw&task=csv.percentatgeMunicipis&eleccions_id=54&escrutat=99.97&partit_id=" + option; var guanyadors = 0; if (option == 0) { url = "index.php?option=com_epaeleccions&format=raw&task=csv.guanyadorsMunicipis&eleccions_id=54&escrutat=99.97"; guanyadors = 1; } d3.csv(url, function (data) { lastData = data; municipis = []; var partitsDiferents = []; var min = 0; var max = 0; for (var i = 0; i < data.length; i++) { if (parseInt(data[i].vots) > 0) { municipis[parseInt(data[i].codi)] = data[i]; if (typeof partitsDiferents[data[i].partit_id] == 'undefined') { partitsDiferents[data[i].partit_id] = {partit_id: data[i].partit_id, municipis: 1}; } else { partitsDiferents[data[i].partit_id].municipis++; } if (i == 0 || min > parseInt(data[i].percentatge)) { min = parseInt(data[i].percentatge); } if (i == 0 || max < parseInt(data[i].percentatge)) { max = parseInt(data[i].percentatge); } } } min = min < 5 ? 0 : min - 5; max = max > 95 ? 100 : max + 5; min = min > 100 ? 1 : min; // Durant les proves passa. if (municipis.length > 0) { var divLlegenda = jQuery('#mapaelectoral-029d36355bb63b862acba038f17181d5 div.llegenda'); var contentPartits = jQuery('#mapaelectoral-029d36355bb63b862acba038f17181d5 div.llegenda div.elspartits'); contentPartits.empty(); arraycolors = []; var numAmbElectes = 0; partitsDiferents.sort(function (a, b) { return b.municipis - a.municipis; }); for (var pd in partitsDiferents) { var p = partitsDiferents[pd].partit_id; if (typeof partits[p] != 'undefined') { arraycolors[p] = calculararraycolors(partits[p].color, min, max); var llegendaPartit = jQuery(jQuery('#mapaelectoral-029d36355bb63b862acba038f17181d5 .llegenda-partit-template').html()); llegendaPartit.find('.opcioactual').html(partits[p].sigles); llegendaPartit.find('.opcioactual').attr('title', partits[p].nom); llegendaPartit.find('.valmitjana').html(partits[p].percentatge + ' %'); if (typeof partits[p].electes != 'undefined') { llegendaPartit.find('.valelectes').html(partits[p].electes); if (partits[p].electes > 0) numAmbElectes++; } llegendaPartit.find('.valmunicipis').html(partitsDiferents[pd].municipis); if (!0 || !guanyadors) { llegendaPartit.find('.min-percent-legend').html(min + '%'); llegendaPartit.find('.max-percent-legend').html(max + '%'); llegendaPartit.find('.cartogram__gradient-key').css({ 'background': '-webkit-linear-gradient(left, white, #' + partits[p].color + ')', 'background': '-o-linear-gradient(right, white + #' + partits[p].color + ')', 'background': '-moz-linear-gradient(right, white, #' + partits[p].color + ')', 'background': 'linear-gradient(to right, white, #' + partits[p].color + ')', }); } else { llegendaPartit.find('.min-percent-legend').html(''); llegendaPartit.find('.max-percent-legend').html(''); llegendaPartit.find('.cartogram__gradient-key').css({ 'background': '#' + partits[p].color, }); } contentPartits.append(llegendaPartit); } else { var llegendaPartit = jQuery(jQuery('#mapaelectoral-029d36355bb63b862acba038f17181d5 .llegenda-partit-template').html()); llegendaPartit.find('.opcioactual').html('Partit id no trobat ' + p); contentPartits.append(llegendaPartit); arraycolors[p] = calculararraycolors('cccccc', min, max); } } if (!guanyadors) { divLlegenda.addClass('sense-num-municipis'); if (numAmbElectes == 0) { divLlegenda.addClass('sense-electes'); } else { divLlegenda.removeClass('sense-electes'); } for (var x in partitsDiferents) { switch (partitsDiferents[x].partit_id) { case 3: var text = divLlegenda.find('.mitjana').html(); divLlegenda.find('.mitjana').html(text.replace('Vot', 'Participació')); break; case 2: divLlegenda.addClass('sense-mitjana'); } break; } } else { divLlegenda.removeClass('sense-num-municipis'); divLlegenda.addClass('sense-electes'); } pintaMapa(option); } else { jQuery('#mapaelectoral-029d36355bb63b862acba038f17181d5 mapaelectoralcontent').html('<p class="error">No hi ha dades</p>'); } }); } }; getPartits(opcio_actual); canviarDades(opcio_actual); }); </script> </div> </div> <!-- End Content --> </main> </div> </div> <!-- Content --> </div> <!-- Footer --> <footer class="footer" role="contentinfo"> <div class="container"> <div class="section-content peu"> <div class="contingutsweb peu"> <div id="epamodul2927inner" class="publicitat sense-anunci mes-noticies inner" data-module-id="2927" ><ins id="1019109_EPA_324970" class="ggdfp-slot" data-unitname="/1019109/EPA" data-keys='{"p":"P08","c":"BARCELONES","m":"BARCELONA","portada":"R","s":["secciosense"],"itemid":"5025","modul_id":"2927","m18":"N","type":"delivery"}' data-size="[[320,100]]" data-outofpage="false"></ins></div> <div class="pull-right"> <div id="bottom-menu-options"> <ul class="nav nav-pills" role="tablist"> <li role="presentation"> <a class="btn " href="/canals/politica/eleccionseuropees2019/catalunya.html?vermobil=0"><i class="fa fa-desktop" aria-hidden="true"></i> Web clàssic</a> </li> <li role="presentation"> <a class="btn " href="https://www.elpuntavui.cat/canals/politica/eleccionseuropees2019/catalunya.html#top" id="back-top">Tornar a dalt <i class="fa fa-chevron-up" aria-hidden="true"></i></a> </li> <!-- li role="presentation"> <a class="btn btn-default" href="/canals/politica/eleccionseuropees2019/catalunya.html?vermobil=0">Versió desktop</a> </li --> </ul> </div> </div> <p class="copyrightfoot pull-left"> &copy; 2024 <a href="https://www.elpuntavui.cat">El Punt Avui</a> </p> <div class="botons-xarxes verificat"> <div> <p style="margin-bottom: 5px;">Segueix-nos a les xarxes:</p> <div class="boto-twitter-share"> <a href="https://twitter.com/elpuntavui" target="_blank"><img src="/templates/d2015/images/logo-twitter.png">Twitter @elpuntavui</a> </div> <div class="boto-facebook-share"> <a href="https://www.facebook.com/elpuntavui" target="_blank"><img src="/templates/d2015/images/logo-facebook.png">Facebook @elpuntavui</a> </div> <div class="boto-mastodont-share"> <a href="https://mastodont.cat/invite/XQEkzf2i" target="_blank" class="mastodont-follow-button" >Mastodon @elpuntavui</a> </div> <!-- <div class="boto-bluesky-share">--> <!-- <a href="https://bsky.app/profile/elpuntavui.cat" target="_blank" class="mastodont-follow-button" >BlueSky @elpuntavui.cat</a>--> <!-- </div>--> </div> </div> </div> </div> </div> </footer> <!-- Footer --> <div id="epamodul1108inner" class="content mes-noticies inner" data-module-id="1108" ><!-- // Inici ESTILS TEMPORALS --> <style> .container .epaenlinia-maqueta-2024-1 .row>.col-1 .epanoticies-item.principal .article .epaenlinia-noticia-tipus .noticia-tipus-avant .noticia-avant { color: white; } @media (max-width: 922px) { .versio-mobil.template-2022 .container #content .seccio.epa-portada-2022.enlinia-dossier .mes-noticiesx.section-content .mes-noticies .epaenlinia .epaenlinia-maqueta-2024-1.portada-dreta .fila.fila-principal .row .col-1 .item.epanoticies-item.principal .article { height: auto; } } /* inici entrar subtítol dossier */ /* .container .epaenlinia-maqueta-2024-1 .row>.col-1 .epanoticies-item.principal .article .epaenlinia-noticia-desc p.subtitol { margin-left: auto; margin-right: auto; } */ /* fi centrar subtitol dossier */ /* inici Dossier En línia 2024, amagar foto opinio autor provisional */ /* .versio-mobil.template-2022 .container #content .seccio.epa-portada-2022.enlinia-dossier .mes-noticiesx.section-content .mes-noticies .epaenlinia .epaenlinia-maqueta-2024-1.especial-2024 .fila:not(.fila-principal) .row .epanoticies-item .article .epaenlinia-noticia-tipus:not(.amagat).opinio_defecte .noticia-tipus-icon, .versio-mobil.template-2022 .container #content .seccio.epa-portada-2022.enlinia-dossier .mes-noticiesx.section-content .mes-noticies .epaenlinia .epaenlinia-maqueta-2024-1.especial-2024 .fila:not(.fila-principal) .row .epanoticies-item .article .epaenlinia-noticia-tipus:not(.amagat).article-opinio .noticia-tipus-icon { display: none; } .versio-mobil.template-2022 .container #content .seccio.epa-portada-2022.enlinia-dossier .mes-noticiesx.section-content .mes-noticies .epaenlinia .epaenlinia-maqueta-2024-1.especial-2024 .fila:not(.fila-principal) .row .epanoticies-item .article .epaenlinia-noticia-tipus:not(.amagat) .noticia-tipus-avant { padding-left: 0; } @media (min-width: 568px) { .versio-mobil.template-2022 .container #content .seccio.epa-portada-2022.enlinia-dossier .mes-noticiesx.section-content .mes-noticies .epaenlinia .epaenlinia-maqueta-2024-1.especial-2024 .fila:not(.fila-principal) .epanoticies-item { margin-left: 15px; margin-right: 15px; width: calc(50% - 30px); } } */ /* fi Dossier En línia 2024, amagar foto opinio autor provisional */ /* inici Portada. items de reports i monarq quedaven petits i signatura, titol i avant malament */ .versio-mobil.template-2022 .container #content .seccio-portada-petita1.totes4cfg.reportatges .mes-noticiesx.section-content .mes-noticies .epanoticies-fix .n, .versio-mobil.template-2022 .container #content .seccio-portada-petita1.totes4cfg.monarquia .mes-noticiesx.section-content .mes-noticies .epanoticies-fix .n { width: 100%; } .versio-mobil.template-2022 .container #content .seccio-portada-petita1.totes4cfg.reportatges .mes-noticiesx.section-content .mes-noticies .epanoticies-fix .n .epanoticies-item .linkimg, .versio-mobil.template-2022 .container #content .seccio-portada-petita1.totes4cfg.monarquia .mes-noticiesx.section-content .mes-noticies .epanoticies-fix .n .epanoticies-item .linkimg { width: 100%; } .versio-mobil.template-2022 .container #content .seccio-portada-petita1.totes4cfg.reportatges .mes-noticiesx.section-content .mes-noticies .epanoticies-fix .n .epanoticies-item, .versio-mobil.template-2022 .container #content .seccio-portada-petita1.totes4cfg.monarquia .mes-noticiesx.section-content .mes-noticies .epanoticies-fix .n .epanoticies-item { height: auto !important; padding: 0; } .versio-mobil.template-2022 .container #content .seccio-portada-petita1.totes4cfg.reportatges .mes-noticiesx.section-content .mes-noticies .epanoticies-fix .n .epanoticies-item .article .epanoticies-avantitols, .versio-mobil.template-2022 .container #content .seccio-portada-petita1.totes4cfg.monarquia .mes-noticiesx.section-content .mes-noticies .epanoticies-fix .n .epanoticies-item .article .epanoticies-avantitols{ max-height: calc(1em * 1.15 + 8px); justify-content: center; } .versio-mobil.template-2022 .container #content .seccio-portada-petita1.totes4cfg.reportatges .mes-noticiesx.section-content .mes-noticies .epanoticies-fix .n .epanoticies-item .article .article-content .signatura, .versio-mobil.template-2022 .container #content .seccio-portada-petita1.totes4cfg.monarquia .mes-noticiesx.section-content .mes-noticies .epanoticies-fix .n .epanoticies-item .article .article-content .signatura{ width: 100%; text-align: center; color: white; } .versio-mobil.template-2022 .container #content .seccio-portada-petita1.totes4cfg.reportatges .mes-noticiesx.section-content .mes-noticies .epanoticies-fix .n .epanoticies-item .article .article-content .epanoticies-title, .versio-mobil.template-2022 .container #content .seccio-portada-petita1.totes4cfg.monarquia .mes-noticiesx.section-content .mes-noticies .epanoticies-fix .n .epanoticies-item .article .article-content .epanoticies-title{ max-height: calc(3* 1.2em) !important; } @media (max-width: 567px) { .versio-mobil.template-2022 .container #content .seccio-portada-petita1.totes4cfg.reportatges .mes-noticiesx.section-content .mes-noticies .epanoticies-fix .n .epanoticies-item .article, .versio-mobil.template-2022 .container #content .seccio-portada-petita1.totes4cfg.monarquia .mes-noticiesx.section-content .mes-noticies .epanoticies-fix .n .epanoticies-item .article { width: 100%; } .versio-mobil.template-2022 .container #content .seccio-portada-petita1.totes4cfg.monarquia .mes-noticiesx.section-content .mes-noticies .epanoticies-fix .n .epanoticies-item .article .epanoticies-avantitols .epanoticies-avant { flex: auto; text-align: right; line-height: 100%; } .versio-mobil.template-2022 .container #content .seccio-portada-petita1.totes4cfg.monarquia .mes-noticiesx.section-content .mes-noticies .epanoticies-fix .n .epanoticies-item .article .epanoticies-avantitols .epanoticies-avant2 { flex: auto; text-align: left; line-height: 100%; font-weight: normal; } } @media (min-width: 568px) { .versio-mobil.template-2022 .container #content .seccio.seccio-portada-petita1.totes4cfg.reportatges .mes-noticiesx.section-content .mes-noticies .epanoticies-fix .epanoticies-item.primera, .versio-mobil.template-2022 .container #content .seccio.seccio-portada-petita1.totes4cfg.monarquia .mes-noticiesx.section-content .mes-noticies .epanoticies-fix .epanoticies-item.primera { width: 50%; } .versio-mobil.template-2022 .container #content .seccio-portada-petita1.totes4cfg.reportatges .mes-noticiesx.section-content .mes-noticies .epanoticies-fix .n .epanoticies-item, .versio-mobil.template-2022 .container #content .seccio-portada-petita1.totes4cfg.monarquia .mes-noticiesx.section-content .mes-noticies .epanoticies-fix .n .epanoticies-item { padding: 0 15px; height: 250px !important; } .versio-mobil.template-2022 .container #content .seccio-portada-petita1.totes4cfg.reportatges .mes-noticiesx.section-content .mes-noticies .epanoticies-fix .n .epanoticies-item .article, .versio-mobil.template-2022 .container #content .seccio-portada-petita1.totes4cfg.monarquia .mes-noticiesx.section-content .mes-noticies .epanoticies-fix .n .epanoticies-item .article { width: calc(100% - 15px); } } /* fi Portada. items de reports i monarq quedaven petits */ .versio-mobil.template-2022 .container #content .seccio-portada-petita1.totes4cfg.reportatges .mes-noticiesx.section-content .mes-noticies .epanoticies-fix .n .epanoticies-item .linkimg, .versio-mobil.template-2022 .container #content .seccio-portada-petita1.totes4cfg.monarquia .mes-noticiesx.section-content .mes-noticies .epanoticies-fix .n .epanoticies-item .linkimg { width: 100%; } /* inici tot recordant */ .versio-mobil.template-2022 .container #content .necrologiques .mes-noticiesx.section-content .mes-noticies .epanoticies-fix .n .col-md-4.llistats .mes-noticiesx.section-content .mes-noticies .row .totrecordant .mes-noticies .article .article-content, .template-2022 .seccio.necrologiques.serveis .section-content .llistats .totrecordant .mes-noticies .article .article-content { flex-basis: initial; } /* inici peudefoto article no sobreposat al video */ .modal-body .article-content .cos-fitxa .multimedia .bxslider.slick-initialized .slick-list .slick-track .slick-slide .caption, .modal-body .article-content .cos-fitxa .multimedia .bxslider.slick-initialized .slick-list .slick-track .slick-slide .peudefoto-text, .modal-body .article-content .galeria .multimedia .bxslider.slick-initialized .slick-list .slick-track .slick-slide .caption, .modal-body .article-content .galeria .multimedia .bxslider.slick-initialized .slick-list .slick-track .slick-slide .peudefoto-text, .view-article .article-content .cos-fitxa .multimedia .bxslider.slick-initialized .slick-list .slick-track .slick-slide .caption, .view-article .article-content .cos-fitxa .multimedia .bxslider.slick-initialized .slick-list .slick-track .slick-slide .peudefoto-text, .view-article .article-content .galeria .multimedia .bxslider.slick-initialized .slick-list .slick-track .slick-slide .caption, .view-article .article-content .galeria .multimedia .bxslider.slick-initialized .slick-list .slick-track .slick-slide .peudefoto-text { position: absolute; } .modal-body .article-content .cos-fitxa .multimedia .bxslider.slick-initialized .slick-list .slick-track .slick-slide.video .peudefoto-text, .modal-body .article-content .galeria .multimedia .bxslider.slick-initialized .slick-list .slick-track .slick-slide.video .peudefoto-text, .view-article .article-content .cos-fitxa .multimedia .bxslider.slick-initialized .slick-list .slick-track .slick-slide.video .peudefoto-text, .view-article .article-content .galeria .multimedia .bxslider.slick-initialized .slick-list .slick-track .slick-slide.video .peudefoto-text { position: relative; } .modal-body .article-content .cos-fitxa .multimedia .bxslider.slick-initialized .slick-list .slick-track .slick-slide.video .video, .modal-body .article-content .galeria .multimedia .bxslider.slick-initialized .slick-list .slick-track .slick-slide.video .video, .view-article .article-content .cos-fitxa .multimedia .bxslider.slick-initialized .slick-list .slick-track .slick-slide.video .video, .view-article .article-content .galeria .multimedia .bxslider.slick-initialized .slick-list .slick-track .slick-slide.video .video { height: auto; } .modal-body .article-content .cos-fitxa .multimedia .bxslider.slick-initialized .slick-list .slick-track .slick-slide.video, .modal-body .article-content .galeria .multimedia .bxslider.slick-initialized .slick-list .slick-track .slick-slide.video, .view-article .article-content .cos-fitxa .multimedia .bxslider.slick-initialized .slick-list .slick-track .slick-slide.video, .view-article .article-content .galeria .multimedia .bxslider.slick-initialized .slick-list .slick-track .slick-slide.video { height: auto; } /* INICI contingut de marca icones i dates */ .versio-mobil .moduls-portada.template-2022 .contingutdemarca .mes-noticies .epanoticies-item .adjunts { position: absolute; z-index: 10; padding: 5px; } /* inici eleccions parlament europeu eu2024 9 juny */ @media(max-width: 991px) { .versio-mobil .eu2024 .contenidor-hemicicle .taules-dades .taules-partits { width: 50% } /* inici eleccions parlament 12m2024 */ .epaeleccions.pa2024 .eleccions_resultats .grafics .congres .contenidor-hemicicle .taules-dades .taula-dades-principals.taules-partits .fila-partit, .epaeleccions.pa2024 .eleccions_resultats .grafics .congres .contenidor-hemicicle .taules-dades .taula-dades-secundaries.taules-partits .fila-partit { flex: 0 1 50%; } .epaeleccions.pa2024 .eleccions_resultats .grafics .congres .contenidor-hemicicle .taules-dades { margin: 10px 0 0 0; width: 100%; } .epaeleccions .grafics .guanyadors #mapaelectoral #mapaelectoralcontent { margin: auto; } } @media(max-width: 991px) { .versio-mobil .pa2024 .contenidor-hemicicle .taules-dades .taules-partits { width: 100% } } /* ------------- :::::::::::::::::::::::::::::::::::::::::::::: -------------- */ /* --------- INICI Traspassat al fitxer CSS. Pendent de pujar ----------- */ /* ------------- :::::::::::::::::::::::::::::::::::::::::::::: -------------- */ /* --------------- :::::::::::::::::::::::::::::::::::::::::::::: -------------- */ /* ------------ FI Traspassat al fitxer CSS. Pendent de pujar -------------- */ /* --------------- :::::::::::::::::::::::::::::::::::::::::::::: -------------- */ </style> <!-- // Fi ESTILS TEMPORALS --> </div> <div id="epamodul3935inner" class="content mes-noticies inner" data-module-id="3935" ><!-- // Inici ESTILS TEMPORALS per un dia --> <style> /* temporal per amagar sensecareto quan no hi ha autor */ .sub.epa-banner-nacional .article-opinio .careto.sense-careto { display: none; } </style> <!-- // Fi ESTILS TEMPORALS --></div> <!-- page --> <script type="text/javascript"> jQuery(document).ready(function() { jQuery(".esta-passant").timeago(); }); </script> <!-- JS --> <script> jQuery(document).ready(function($) { jQuery('ul.mnu-ppal li.mnu-mes-menus a:first-child').click( function (event) { event.preventDefault(); jQuery('#navbar').modal('toggle'); }); jQuery('ul.mnu-ppal li.mnu-webs').hide(); jQuery('.contingutsweb a').click(function() { jQuery('#navbar').modal('hide'); }); /* setTimeout(function(){ //Twitter Follow !function (d, s, id) { var js, fjs = d.getElementsByTagName(s)[0], p = /^http:/.test(d.location) ? 'http' : 'https'; if (!d.getElementById(id)) { js = d.createElement(s); js.id = id; js.src = p + '://platform.twitter.com/widgets.js'; fjs.parentNode.insertBefore(js, fjs); } }(document, 'script', 'twitter-wjs'); //Facebook (function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "//connect.facebook.net/ca_ES/sdk.js#xfbml=1&version=v2.5&appId=1664219600461516"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk')); }, 1000); */ }); </script> <div id="fb-root"></div> </body> </html>

Pages: 1 2 3 4 5 6 7 8 9 10