Rete #adessonews

Volantino RisparmioCasa a Genova: offerte e negozi

[]
h?0:h,m)),!1},t=function(){return q=!1,c.body.style.cursor=l,this.style.cursor=””,d.removeClass(“dragging”),a(c.body).off(“mousemove.enscroll.vertical”).off(“mouseup.enscroll.vertical”),a(c).off(“mouseout.enscroll.vertical”),!1};return d=a(p.verticalTrackWrapper).find(“.enscroll-track”),g=d.children().first()[0],h=parseInt(g.style.top,10),n=o.scrollHeight-a(o).innerHeight(),j=b.clientY-a(g).offset().top,m=d.height()-a(g).outerHeight(),k=d.offset().top,a(c.body).on({“mousemove.enscroll.vertical”:s,”mouseup.enscroll.vertical”:function(a){t.call(g,a)}}),a(c).on(“mouseout.enscroll.vertical”,function(a){a.target.nodeName&&”HTML”===a.target.nodeName.toUpperCase()&&t.call(g,a)}),d.hasClass(“dragging”)||(d.addClass(“dragging”),l=a(c.body).css(“cursor”),this.style.cursor=c.body.style.cursor=”ns-resize”),r(),!1}},j=function(b){if(1===b.which){var d,g,h,i,j,k,l,m,n,o=b.data.pane,p=a(o).data(“enscroll”),q=!0,r=function(){q&&(h!==i&&(a(o).scrollLeft(hj/n),i=h),e(r),f.call(o))},s=function(a){return q&&(h=a.clientX-l-k,h=Math.min(0>h?0:h,n),f.call(o)),!1},t=function(){return q=!1,d.removeClass(“dragging”),c.body.style.cursor=m,this.style.cursor=””,d.removeClass(“dragging”),a(c.body).off(“mousemove.enscroll.horizontal”).off(“mouseup.enscroll.horizontal”),a(c).off(“mouseout.enscroll.horizontal”),!1};return d=a(p.horizontalTrackWrapper).find(“.enscroll-track”),g=d.children().first()[0],h=parseInt(g.style.left,10),j=o.scrollWidth-a(o).innerWidth(),k=b.clientX-a(g).offset().left,n=d.width()-a(g).outerWidth(),l=d.offset().left,a(c.body).on({“mousemove.enscroll.horizontal”:s,”mouseup.enscroll.horizontal”:function(a){t.call(g,a)}}),a(c).on(“mouseout.enscroll.horizontal”,function(a){a.target.nodeName&&”HTML”===a.target.nodeName.toUpperCase()&&t.call(g,a)}),d.hasClass(“dragging”)||(d.addClass(“dragging”),m=a(“body”).css(“cursor”),this.style.cursor=c.body.style.cursor=”ew-resize”),r(),!1}},k=function(a){var b,c,e,f,i=this.data(“enscroll”);i&&(a=d.getEvent(a),e=a.detail?-a.detail:window.client&&window.client.engine.opera&&window.client.engine.opera<9.5?-a.wheelDelta:a.wheelDelta,f=i.settings.scrollIncrement,a.wheelDelta&&a.wheelDeltaX&&a.wheelDelta===a.wheelDeltaX||a.axis&&a.HORIZONTAL_AXIS&&a.axis===a.HORIZONTAL_AXIS?(b=this.scrollLeft(),h(this,0>e?f:-f),b!==this.scrollLeft()&&d.preventDefault(a)):(c=this.scrollTop(),g(this,0>e?f:-f),c!==this.scrollTop()&&d.preventDefault(a)))},l=function(){var b,c,d,e=a(this),f=e.data(“enscroll”);f&&(f.settings.verticalScrolling&&(c=a(f.verticalTrackWrapper).find(“.enscroll-track”)[0],b=c.firstChild,d=e.scrollTop()/(this.scrollHeight-e.innerHeight()),d=isNaN(d)?0:d,b.style.top=d(a(c).height()-a(b).outerHeight())+”px”),f.settings.horizontalScrolling&&(c=a(f.horizontalTrackWrapper).find(“.enscroll-track”)[0],b=c.firstChild,d=e.scrollLeft()/(this.scrollWidth-e.innerWidth()),d=isNaN(d)?0:d,b.style.left=d(a(c).width()-a(b).innerWidth())+”px”))},m=function(b){var c,d=a(this),e=d.data(“enscroll”);if(b.target===this&&e){switch(c=e.settings.scrollIncrement,b.keyCode){case 32:case 34:return g(this,d.height()),!1;case 33:return g(this,-d.height()),!1;case 35:return g(this,this.scrollHeight),!1;case 36:return g(this,-this.scrollHeight),!1;case 37:return h(this,-c),!1;case 38:return g(this,-c),!1;case 39:return h(this,c),!1;case 40:return g(this,c),!1}return!0}},n=function(a){var b,c,d,f,i,j,k,l=this,m=function(a){b=a.touches[0].clientX,c=a.touches[0].clientY,d||(d=c===i&&b===f?void 0:Math.abs(i-c)>Math.abs(f-b)?”y”:”x”),a.preventDefault()},n=function(){j&&(“y”===d?(g(l,i-c),k=i-c,i=c):”x”===d&&(h(l,f-b),k=f-b,f=b),e(n))},o=function(){var a=0,b=Math.round(Math.abs(1.75k)),c=10kMath.log(2);this.removeEventListener(“touchmove”,m,!1),this.removeEventListener(“touchend”,o,!1),j=!1,e(function f(){if(a!==b&&!j){var i=Math.round(c/bMath.pow(2,-10a/b+1));isNaN(i)||0===i||(a+=1,”y”===d?g(l,i):h(l,i),e(f))}})};1===a.touches.length&&(f=a.touches[0].clientX,i=a.touches[0].clientY,j=!0,this.addEventListener(“touchmove”,m,!1),this.addEventListener(“touchend”,o,!1),e(n))},o={reposition:function(){return this.each(function(){var b,c,d,e,f,g=a(this),h=g.data(“enscroll”),i=function(a,b,c){a.style.left=b+”px”,a.style.top=c+”px”},j=function(b,c){var d=a(b).css(c),e=/^-?d+/.exec(d);return e?+e[0]:0};h&&(d=g.position(),f=a.browser.msie&&/^6/.test(a.browser.version),f&&(e=g.offsetParent()[0]),b=h.corner,h.settings.verticalScrolling&&(c=h.verticalTrackWrapper,i(c,d.left+g.outerWidth()-a(c).width()-j(this,”border-right-width”)-(f?j(e,”padding-left”):0),d.top+j(this,”border-top-width”)+(f?j(e,”border-top-width”):0))),h.settings.horizontalScrolling&&(c=h.horizontalTrackWrapper,i(c,d.left+j(this,”border-left-width”)-(f?j(e,”padding-left”):0),d.top+g.outerHeight()-a(c).height()-j(this,”border-bottom-width”)+(f?j(e,”border-bottom-width”):0))),b&&i(b,d.left+g.outerWidth()-a(b).outerWidth()-j(this,”border-right-width”)-(f?j(e,”padding-left”):0),d.top+g.outerHeight()-a(b).outerHeight()-j(this,”border-bottom-width”)+(f?j(e,”border-bottom-width”):0)))})},resize:function(){return this.each(function(){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r=a(this),s=r.data(“enscroll”);r.is(“:visible”)&&s&&(b=s.settings,b.verticalScrolling&&(e=s.verticalTrackWrapper,c=r.innerHeight(),f=c/this.scrollHeight,g=a(e).find(“.enscroll-track”)[0],j=a(e).find(“.”+b.scrollUpButtonClass),k=a(e).find(“.”+b.scrollDownButtonClass),i=b.horizontalScrolling?c-a(s.horizontalTrackWrapper).find(“.enscroll-track”).outerHeight():c,i-=a(g).outerHeight()-a(g).height()+j.outerHeight()+k.outerHeight(),n=g.firstChild,p=Math.max(fi,b.minScrollbarLength),p-=a(n).outerHeight()-a(n).height(),e.style.display=”none”,g.style.height=i+”px”,n.style.height=p+”px”,1>f&&(f=r.scrollTop()/(this.scrollHeight-r.height()),n.style.top=f(i-p)+”px”,e.style.display=”block”)),b.horizontalScrolling&&(e=s.horizontalTrackWrapper,d=r.innerWidth(),f=d/this.scrollWidth,g=a(e).find(“.enscroll-track”)[0],l=a(e).find(“.”+b.scrollLeftButtonClass),m=a(e).find(“.”+b.scrollRightButtonClass),h=b.verticalScrolling?d-a(s.verticalTrackWrapper).find(“.enscroll-track”).outerWidth():d,h-=a(g).outerWidth()-a(g).width()+l.outerWidth()+m.outerWidth(),n=g.firstChild,o=Math.max(fh,b.minScrollbarLength),o-=a(n).outerWidth()-a(n).width(),e.style.display=”none”,g.style.width=h+”px”,n.style.width=o+”px”,1>f&&(f=r.scrollLeft()/(this.scrollWidth-r.width()),n.style.left=f(h-o)+”px”,e.style.display=”block”),s._prybar&&(q=s._prybar,this.removeChild(q),b.verticalScrolling&&(q.style.width=this.scrollWidth+a(s.verticalTrackWrapper).find(“.enscroll-track”).outerWidth()+”px”,this.appendChild(q)))),s.corner&&(s.corner.style.display=s.verticalTrackWrapper&&s.horizontalTrackWrapper&&a(s.verticalTrackWrapper).is(“:visible”)&&a(s.horizontalTrackWrapper).is(“:visible”)?”block”:”none”))})},startPolling:function(){return this.each(function(){var b,c=a(this).data(“enscroll”),d=this,e=a(d),f=-1,g=-1,h=-1,i=-1,j=function(){if(c.settings.pollChanges){var a=d.scrollWidth,k=d.scrollHeight,l=e.width(),m=e.height(),n=e.offset();(c.settings.verticalScrolling&&(m!==g||k!==i)||c.settings.horizontalScrolling&&(l!==f||a!==h))&&(h=a,i=k,o.resize.call(e)),(b.left!==n.left||b.top!==n.top||l!==f||m!==g)&&(b=n,f=l,g=m,o.reposition.call(e)),setTimeout(j,350)}};c&&(c.settings.pollChanges=!0,i=d.scrollHeight,h=d.scrollWidth,b=e.offset(),j())})},stopPolling:function(){return this.each(function(){var b=a(this).data(“enscroll”);b&&(b.settings.pollChanges=!1)})},destroy:function(){return this.each(function(){var c,d,e=a(this),f=e.data(“enscroll”);f&&(o.stopPolling.call(e),d=f._mouseScrollHandler,f.settings.verticalScrolling&&(c=f.verticalTrackWrapper,a(c).remove(),c=null),f.settings.horizontalScrolling&&(c=f.horizontalTrackWrapper,a(c).remove(),c=null),f._fadeTimer&&clearTimeout(f._fadeTimer),f.corner&&a(f.corner).remove(),f._prybar&&f._prybar.parentNode&&f._prybar.parentNode===this&&a(f._prybar).remove(),this.setAttribute(“style”,f._style||””),f._hadTabIndex||e.removeAttr(“tabindex”),e.off(“scroll.enscroll.pane”).off(“keydown.enscroll.pane”).off(“mouseenter.enscroll.pane”).data(“enscroll”,null),this.removeEventListener?(this.removeEventListener(“mousewheel”,d,!1),this.removeEventListener(“DOMMouseScroll”,d,!1),this.removeEventListener(“touchstart”,n,!1)):this.detachEvent&&this.detachEvent(“onmousewheel”,d),a(b).off(“resize.enscroll.window”))})}};a.fn.enscroll=function(d){if(o[d])return o[d].call(this);var e=a.extend({verticalScrolling:!0,horizontalScrolling:!1,showOnHover:!1,scrollIncrement:20,minScrollbarLength:40,pollChanges:!0,drawCorner:!0,drawScrollButtons:!1,clickTrackToScroll:!0,verticalTrackClass:”vertical-track”,horizontalTrackClass:”horizontal-track”,horizontalHandleClass:”horizontal-handle”,verticalHandleClass:”vertical-handle”,scrollUpButtonClass:”scroll-up-btn”,scrollDownButtonClass:”scroll-down-btn”,scrollLeftButtonClass:”scroll-left-btn”,scrollRightButtonClass:”scroll-right-btn”,cornerClass:”scrollbar-corner”,zIndex:1,addPaddingToPane:!0,horizontalHandleHTML:’]]>’,verticalHandleHTML:”},d);return this.each(function(){if(e.verticalScrolling||e.horizontalScrolling){var d,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E,F=a(this),G=this,H=F.attr(“style”),I=!0,J={position:”absolute”,”z-index”:e.zIndex,margin:0,padding:0},K=function(a){k.call(F,a)},L=function(b,c){“string”==typeof c?a(b).html(c):”object”==typeof c&&null!==c&&c.nodeType&&1===c.nodeType&&b.appendChild(c)};if(e.verticalScrolling){p=c.createElement(“div”),r=c.createElement(“div”),t=c.createElement(“a”),a(r).css(“position”,”relative”).addClass(“enscroll-track”).addClass(e.verticalTrackClass).appendTo(p),e.drawScrollButtons&&(u=c.createElement(“a”),v=c.createElement(“a”),a(u).css({display:”block”,”text-decoration”:”none”}).attr(“href”,””).html(” “).addClass(e.scrollUpButtonClass).on(“click”,function(){return g(G,-e.scrollIncrement),!1}).insertBefore(r),a(v).css({display:”block”,”text-decoration”:”none”}).attr(“href”,””).html(” “).on(“click”,function(){return g(G,e.scrollIncrement),!1}).addClass(e.scrollDownButtonClass).appendTo(p)),e.clickTrackToScroll&&a(r).on(“click”,function(b){b.target===this&&g(G,b.pageY>a(t).offset().top?F.height():-F.height())}),a(t).css({position:”absolute”,”z-index”:1}).attr(“href”,””).addClass(e.verticalHandleClass).mousedown({pane:this},i).click(function(){return!1}).appendTo(r),L(t,e.verticalHandleHTML),a(p).css(J).insertAfter(this),e.showOnHover&&a(p).css(“opacity”,0).on(“mouseover.enscroll.vertical”,function(){f.call(G,!1)}).on(“mouseout.enscroll.vertical”,function(){f.call(G)}),z=a(r).outerWidth(),e.addPaddingToPane&&F.css({width:F.width()-z+”px”,”padding-right”:parseInt(F.css(“padding-right”),10)+z+”px”});try{D=parseInt(F.css(“outline-width”),10),0!==D&&!isNaN(D)||”none”!==F.css(“outline-style”)||F.css(“outline”,”none”)}catch(M){F.css(“outline”,”none”)}}e.horizontalScrolling&&(d=c.createElement(“div”),q=c.createElement(“div”),s=c.createElement(“a”),a(q).css({position:”relative”,”z-index”:1}).addClass(“enscroll-track”).addClass(e.horizontalTrackClass).appendTo(d),e.drawScrollButtons&&(w=c.createElement(“a”),x=c.createElement(“a”),a(w).css(“display”,”block”).attr(“href”,””).on(“click”,function(){return h(G,-e.scrollIncrement),!1}).addClass(e.scrollLeftButtonClass).insertBefore(q),a(x).css(“display”,”block”).attr(“href”,””).on(“click”,function(){return h(G,e.scrollIncrement),!1}).addClass(e.scrollRightButtonClass).appendTo(d)),e.clickTrackToScroll&&a(q).on(“click”,function(b){b.target===this&&h(G,b.pageX>a(s).offset().left?F.width():-F.width())}),a(s).css({position:”absolute”,”z-index”:1}).attr(“href”,””).addClass(e.horizontalHandleClass).click(function(){return!1}).mousedown({pane:this},j).appendTo(q),L(s,e.horizontalHandleHTML),a(d).css(J).insertAfter(this),e.showOnHover&&a(d).css(“opacity”,0).on(“mouseover.enscroll.horizontal”,function(){f.call(G,!1)}).on(“mouseout.enscroll.horizontal”,function(){f.call(G)}),y=a(q).outerHeight(),e.addPaddingToPane&&F.css({height:F.height()-y+”px”,”padding-bottom”:parseInt(F.css(“padding-bottom”),10)+y+”px”}),(!a.browser.msie||a.browser.msie&&a.browser.version>7)&&(E=document.createElement(“div”),a(E).css({width:”1px”,height:”1px”,visibility:”hidden”,padding:0,margin:”-1px”}).appendTo(this))),e.verticalScrolling&&e.horizontalScrolling&&e.drawCorner&&(A=c.createElement(“div”),a(A).addClass(e.cornerClass).css(J).insertAfter(this)),C=F.attr(“tabindex”),(!C||C.length RisparmioCasa - Black friday
Black friday

Volantino RisparmioCasa
Black friday

dal 16 novembre
al 25 novembre 2020

Sfoglia » Avvisami

Avvisami quando RisparmioCasa e altri negozi pubblicano nuovi volantini!

Notifiche Attivate

Sassari Bed Breakfast la qualità al giusto prezzo " Vicino Ospedale Civile " Sassari

Bagno in camera - TV - Internet - aria condizionata - frigo - Sala colazioni

Tel +39 079 097 6223 Vicino Ospedale Civile Sassari

{ firebase.messaging().useServiceWorker(registration); }); } var config = { apiKey: “AIzaSyCpUj3-jhQLqEP1Gvy5HFYOCZjtiKZO-4g”, authDomain: “volantinofacile-637e8.firebaseapp.com”, databaseURL: “https://volantinofacile-637e8.firebaseio.com”, projectId: “volantinofacile-637e8”, storageBucket: “volantinofacile-637e8.appspot.com”, messagingSenderId: “527862914436”, appId: “1:527862914436:web:da2d86761eb1033f” }; firebase.initializeApp(config); const messaging = firebase.messaging(); // IDs of divs that display Instance ID token UI or request permission UI. //const tokenDivId = ‘token-div’; const permissionDivId = ‘permission-div’; // [START refresh_token] // Callback fired if Instance ID token is updated. messaging.onTokenRefresh(function() { messaging.getToken().then(function(refreshedToken) { console.log(‘Token refreshed.’); console.log(refreshedToken); // Indicate that the new Instance ID token has not yet been sent to the // app server. setTokenSentToServer(false); // Send Instance ID token to app server. sendTokenToServer(refreshedToken); // [START_EXCLUDE] // Display new Instance ID token and clear UI of all previous messages. resetUI(); // [END_EXCLUDE] }).catch(function(err) { console.log(‘Unable to retrieve refreshed token ‘, err); //showToken(‘Unable to retrieve refreshed token ‘, err); }); }); // [END refresh_token] // [START receive_message] // Handle incoming messages. Called when: // – a message is received while the app has focus // – the user clicks on an app notification created by a service worker // messaging.setBackgroundMessageHandler handler. messaging.onMessage(function(payload) { console.log(‘Message received. ‘, payload); // [START_EXCLUDE] // Update the UI to include the received message. //appendMessage(payload); // [END_EXCLUDE] }); function resetUI() { //showToken(‘loading…’); // [START get_token] // Get Instance ID token. Initially this makes a network call, once retrieved // subsequent calls to getToken will return from cache. messaging.getToken().then(function(currentToken) { if (currentToken) { console.log(currentToken) $(‘input[name=”token”‘).val(currentToken) sendTokenToServer(currentToken); if (vf.app.data.showSubscribe) updateUIForPushEnabled(currentToken); } else { // Show permission request. console.log(‘No Instance ID token available. Request permission to generate one.’); // Show permission UI. setTokenSentToServer(false); if (vf.app.data.showSubscribe) updateUIForPushPermissionRequired(); } }).catch(function(err) { console.log(‘An error occurred while retrieving token. ‘, err); //showToken(‘Error retrieving Instance ID token. ‘, err); setTokenSentToServer(false); }); // [END get_token] } //resetUI(); // Send the Instance ID token your application server, so that it can: // – send messages back to this app // – subscribe/unsubscribe the token from topics function sendTokenToServer(currentToken) { if (!isTokenSentToServer()) { console.log(‘Sending token to server…’); // TODO(developer): Send the current token to your server. setTokenSentToServer(true); } else { console.log(‘Token already sent to server so won’t send it again ‘ + ‘unless it changes’); } } function isTokenSentToServer() { return window.localStorage.getItem(‘sentToServer’) === ‘1’; } function setTokenSentToServer(sent) { window.localStorage.setItem(‘sentToServer’, sent ? ‘1’ : ‘0’); } function showHideDiv(divId, show) { const div = $(‘#’ + divId); if (show) { div.fadeIn(); } else { div.fadeOut(); } } function requestPermission() { console.log(‘Requesting permission…’); // [START request_permission] messaging.requestPermission().then(function() { console.log(‘Notification permission granted.’); // TODO(developer): Retrieve an Instance ID token for use with FCM. // [START_EXCLUDE] // In many cases once an app has been granted notification permission, it // should update its UI reflecting this. messaging.getToken().then(function(currentToken) { if (currentToken) { console.log(currentToken) enableWebNotification(currentToken); } }) // [END_EXCLUDE] }).catch(function(err) { console.log(‘Unable to get permission to notify.’, err); permission = false; }); // [END request_permission] } function updateUIForPushEnabled(currentToken) { //showHideDiv(tokenDivId, true); showHideDiv(permissionDivId, true); //showToken(currentToken); } function updateUIForPushPermissionRequired() { //showHideDiv(tokenDivId, false); showHideDiv(permissionDivId, true); } } ]]>

Altri volantini interessanti vicino a te

SPONSORIZZATO

ADV

Non Scade

SPONSORIZZATO

ADV

Non Scade

Sassari Bed Breakfast la qualità al giusto prezzo " Vicino Ospedale Civile " Sassari

Bagno in camera - TV - Internet - aria condizionata - frigo - Sala colazioni

Tel +39 079 097 6223 Vicino Ospedale Civile Sassari

<![CDATA[ if ($(window).width() 500 && $(window).width() <![CDATA[ jQuery(‘.puntivendita’).slick({ dots: true, infinite: true, autoplay: true, autoplaySpeed: 10000, speed: 500, slidesToShow: 3, slidesToScroll: 3, // prevArrow: ‘

RisparmioCasa

Nasce oltre 15 anni fa con l’obiettivo di diventare una realtà di riferimento sul territorio italiano nella grande distribuzione organizzata di detersivi, casalinghi e giocattoli. Con oltre110 punti vendita totali il Gruppo Risparmio Casa è presente in 15 regioni italiane offrendo un ampio ventaglio di scelta di prodotti di detergenza, casalinghi, profumeria, tessile, complementi d’arredo, hobbistica, giocattoli, cartoleria, referenze stagionali (mobili e arredo giardino), articoli natalizi e un’ampia scelta di idee regalo e accessori.

Scarica gratis la nostra App Get it on Google Play Get it on Apple Store

Confronta Prezzi

Confronta i Prezzi dei prodotti presenti nei volantini

Avvisami

Ricevi i nuovi Volantini dei tuoi negozi preferiti

Condividi

 

Sassari Bed Breakfast la qualità al giusto prezzo " Vicino Ospedale Civile " Sassari

Bagno in camera - TV - Internet - aria condizionata - frigo - Sala colazioni

Tel +39 079 097 6223 Vicino Ospedale Civile Sassari

Negozi RisparmioCasa a Genova e dintorni

Chiudi <![CDATA[ var vf_stores = document.querySelector(‘vf-stores’) var jQueryStores = $(‘vf-stores’); function initialize ( data ) { if (!data.stores.length) { $(‘vf-box.app’).css(‘margin-top’, ‘0’); return //jQueryStores.parent().fadeOut(); } console.warn(‘initializing… ‘) window.data = data var position = 0; var ctn = data.ctn var stores = data.stores var ul = document.querySelector(‘vf-stores ul’) var a_up = document.querySelector(‘vf-stores a[href=”#up”]’) var a_down = document.querySelector(‘vf-stores a[href=”#down”]’) if ( ul.scrollHeight == ul.offsetHeight ) { jQueryStores.addClass(‘no-scroll’) } else { console.warn(ul.scrollHeight, ul.offsetHeight ) jQueryStores.addClass(‘top’) ul.onscroll = function (e) { var sr = ul.scrollTop / ( ul.scrollHeight – ul.offsetHeight ) if ( sr == 0 ) { jQueryStores.removeClass(‘bottom’) jQueryStores.addClass(‘top’) } else if ( sr == 1 ) { jQueryStores.removeClass(‘top’) jQueryStores.addClass(‘bottom’) } else { jQueryStores.removeClass(‘top’) jQueryStores.removeClass(‘bottom’) } } a_up.onclick = function (e) { e.preventDefault() console.warn(‘UP’) var box = ul.getBoundingClientRect() var li = document.elementFromPoint( box.left, box.top ).parentNode // the li. use findelement piuttosto. //top_most.scrollIntoView() if ( ul.scrollTop == li.offsetTop ) { if ( li.previousElementSibling ) { // Daje li = li.previousElementSibling } else { // Already at the top } } ul.scrollTop = li.offsetTop position–; } a_down.onclick = function (e) { e.preventDefault(); console.warn(‘DOWN’); var next_li = ul.querySelectorAll(‘#stores_list > li’)[position + 1]; if ( next_li.offsetTop > ul.scrollHeight ) { // Already to the topmost… ul.scrollTop = ul.scrollHeight } else { ul.scrollTop = next_li.offsetTop } position++; } } } var data = { ctn: vf.app.data.catena, stores: vf.app.data.puntivendita } initialize( data ) ]]><![CDATA[ /* { ▄ █ ▄▀▀█ █▀▀█ █▀█▀█ █▀▀▄ █▀▀█ █ █ █ █ █ █ █ ▄▄▄█ █ █ █ █ █▀▀▀ ▀▀▀ █ ▀█ █ █ █ █ █ █▄▄▀ ▀▄▀ █ █▄▄█ █ ▀ █ █▄▄█ █ todo ‾‾‾‾ □ a □ b □ c □ d } */ // k.app.data var JUST_INITIALIZED // When it will be time: // https://maps.googleapis.com/maps/api/js?key=API_KEY var LAST_MARKER_SIZE //!todo: cache it. var last_center //!todo: cache it. var marker var image var handle = {} // The array with the active markers var markers = [] var markers_icons var icon_sizes = [ 3000, 1000, 256 ] var last_zoom_id var leaflets = vf.app.data.volantini; var volantini_pv = []; var map // The object being exported as k.app.gmap var gmap = { API_KEY: null, INITIALIZED: false, ZOOM_MIN: 8, ZOOM_INITIAL: 10, map: null, initialize: this.initialize, container: document.querySelector( ‘vf-gmap’ ), el: document.querySelector( ‘vf-gmap div.gmap’ ), cfg: { host: ”, baseurl: ‘/vf/img/catene/’ } } var cb // Asynchronously preload the icons set. function preloadMarkerIcons ( cb ) { var togo = icon_sizes.length var icons = icon_sizes.map( function ( size, i ) { var url = vf.app.data.catena.logo.pin var img = new Image img.onload = function ( e ) { // Calculate the anchor point icons[i].anchor = new google.maps.Point( img.naturalWidth / 2, img.naturalHeight / 2 ) –togo || done() } img.onerror = function ( e ) { throw new Error( ‘Error loading marker: ‘ + url ) } img.src = url return { url: url, anchor: null } }) function done () { cb( icons ) } } // Setup the infoWindow template… var info_window_el = document.createElement(‘vf-info-window’) info_window_el.innerHTML = ‘n’ + ‘ n’ + ‘

NOVATEn’ + ‘

Mediaworldn’ + ‘

Via del n’ + ‘

NOVATE MILANESE (MI)n’ + ‘

02 931711n’ + ‘ n’ + ‘

n’ + ‘

n’ + ‘

n’ + ‘

Sassari Bed Breakfast la qualità al giusto prezzo " Vicino Ospedale Civile " Sassari

Bagno in camera - TV - Internet - aria condizionata - frigo - Sala colazioni

Tel +39 079 097 6223 Vicino Ospedale Civile Sassari

n’ + ‘

Lunn’ + ‘ Mar-Venn’ + ‘ Sab-Domn’ + ‘ n’ + ‘
10-13n’ + ‘ 10-13n’ + ‘ chiuson’ + ‘ n’ + ‘
chiuson’ + ‘ 15-18n’ + ‘ chiuson’ + ‘ n’ + ‘ n’ + ‘
4 volantini attivin’ + ‘n’ + ‘n’ + ‘ ▲n’ + ‘ n’ + ‘ n’ + ‘ n’ + ‘ n’ + ‘ n’ + ‘ n’ + ‘ n’ + ‘ n’ + ‘

Voglio un mondo di tecnologian’ + ‘ n’ + ‘ n’ + ‘ n’ + ‘ n’ + ‘ n’ + ‘ n’ + ‘ n’ + ‘ n’ + ‘ n’ + ‘ n’ + ‘ n’ + ‘ n’ + ‘ n’ + ‘ n’ + ‘ n’ + ‘ ]]>

n’ + ‘ n’ + ” // Pointers var shop_info_el = info_window_el.querySelector(‘vf-shop-info’) var leaflets_el = info_window_el.querySelector(‘vf-leaflets’) var leaflets_browser_el = info_window_el.querySelector(‘vf-leaflets-browser’) var up = info_window_el.querySelector(‘a[href=”#up”]’) var down = info_window_el.querySelector(‘a[href=”#down”]’) var leaflet_idx var leaflets_no up.onclick = function ( e ) { if ( leaflet_idx > 0 ) { –leaflet_idx leaflets_el.setAttribute(‘data-slot’, leaflet_idx) } else { //console.warn(‘reached the top…’) //this.classList.add(‘disabled’) } if ( e ) e.preventDefault() return false } down.onclick = function ( e ) { if ( leaflet_idx + 1 ‘ + parsed + ” + ‘

‘ + ‘

‘ + ‘

‘ + ‘

‘ + ‘

‘ + ‘

‘ + ‘

‘ + ‘

Sassari Bed Breakfast la qualità al giusto prezzo " Vicino Ospedale Civile " Sassari

Bagno in camera - TV - Internet - aria condizionata - frigo - Sala colazioni

Tel +39 079 097 6223 Vicino Ospedale Civile Sassari

‘ + ‘

‘ + ‘

‘ + ‘

‘ + ‘

‘ + ‘

‘ + ‘

‘ + ‘

‘ + ‘

‘ + ‘

Lun Mar-Ven Sab-Dom
10-13 10-13 chiuso
chiuso 15-18 chiuso

‘ } function goToPvLog(log) { //console.log(log); ga(‘send’, ‘event’, ‘Apertura itinerario Google Maps’, ‘Click’, log); } // returns html string function generateShopInfo ( shop, n ) { var logo_url = vf.app.data.catena.logo.pin var shop_google_dest = ‘https://maps.google.com/maps?daddr=’ + shop.address.replace(new RegExp(” “, ‘g’), “+”) + “+” + shop.city.name.replace(new RegExp(” “, ‘g’), “+”) var html = ‘‘ + ‘

‘ + shop.name + ‘

‘ //+ ‘

‘ + shop.insegna_pv + ‘

Sassari Bed Breakfast la qualità al giusto prezzo " Vicino Ospedale Civile " Sassari

Bagno in camera - TV - Internet - aria condizionata - frigo - Sala colazioni

Tel +39 079 097 6223 Vicino Ospedale Civile Sassari

‘ + ‘

‘ + shop.address + ‘

‘ + ‘

‘ + shop.city.name //+ ‘ (‘ + shop.sigla_pro + ‘)

‘ + ‘

‘ + shop.phone + ‘

‘ //+ ‘

‘ + ( shop.orari_pv || ‘ND’ ) + ‘

‘ //+ generateTimeTable( shop.orari_pv ) + ‘Vai al Negozio
‘ switch ( n ) { case 0: html += ‘

nessun volantino attivo

Sassari Bed Breakfast la qualità al giusto prezzo " Vicino Ospedale Civile " Sassari

Bagno in camera - TV - Internet - aria condizionata - frigo - Sala colazioni

Tel +39 079 097 6223 Vicino Ospedale Civile Sassari

‘ break case 1: html += ‘

1 volantino attivo

‘ break default: html += ‘

‘ + n + ‘ volantini attivi

‘ } return html //” + JSON.stringify( pv_data, null, 3 ) + ” } // returns html string function generateLeaflets ( leaflets ) { var html = leaflets.reduce( function ( html, v ) { if (v.type == “ClickToStoreLeaflet”) { var link = v.external_url var target = “_blank” } else { var retailer_slug = PQ2VFRetailers(vf.app.data.catena.slug); var link = retailer_slug + ‘/’ + vf.app.data.catena.section_slug + ‘-‘ + retailer_slug + ‘/’ + vf.app.data.catena.section_slug + ‘-‘ + v.id var target = “_self” } var item = ” + ” + ‘‘ + ” + ‘‘ + ” + ” + ‘‘ + ” + ” return html.concat( item ) } , ” ) return html //return ” + JSON.stringify( vol_data, null, 3 ) + ” } // Data passed to this function is the pv.data attached to the marker. // Initialize the map function initializeMap ( icons ) { var marker_bounds var map_center var mapOptions var info_window var info_window = new google.maps.InfoWindow({ content: info_window_el }) function updateInfoWindow ( marker ) { data = marker.data $.post(‘ajax/getLeafletsByStores’, {store_id: data.id}).done(function(reply) { storeLeaflets = JSON.parse(reply); var shop_info_html = generateShopInfo( data, storeLeaflets.length ) shop_info_el.innerHTML = shop_info_html var leaflets_html = generateLeaflets( storeLeaflets ) leaflets_el.innerHTML = leaflets_html leaflet_idx = 0 leaflets_no = storeLeaflets.length leaflets_el.setAttribute( ‘data-slot’, leaflet_idx ) // Start the slideshow (only if we have more than one leaflet to show) if ( leaflets_no > 1 ) { slideshow_handle = setTimeout( doSlide, FREQUENCY ) } switch ( leaflets_no ) { case 0: // Hide the whole vf-leaflets-browser info_window_el.className = ‘none’ break case 1: // Hide the ▲ and ▼ anchors info_window_el.className = ‘no-slide’ break default: info_window_el.className = ” } info_window.open( map, marker ) }) } gmap.updateInfoWindow = updateInfoWindow function closeInfoWindow () { // Clear timer clearTimeout( slideshow_handle ) // Close it. info_window.close() } gmap.closeInfoWindow = closeInfoWindow //! Fires also when the info_window is not visualized google.maps.event.addListener( info_window, ‘content_changed’, function () { //console.warn( ‘the infoWindow content did change’ ) }) //! Do not use to update the content. google.maps.event.addListener( info_window, ‘domready’, function () { //console.warn( “the info_window’s DOM is ready! (executed each time the info_window is displayed)” ) }) //! This event is not triggered when I programmatically close the infowindow. google.maps.event.addListener( info_window, ‘closeclick’, function () { // Invoke the cleanup routine. closeInfoWindow() window.history.replaceState( null, ”, location.pathname + location.search + ‘#mappa’ ) }) marker_bounds = new google.maps.LatLngBounds() vf.app.data.puntivendita.forEach( function ( pv, i ) { var latlng var marker latlng = new google.maps.LatLng( +pv.latitude, +pv.longitude ) marker_bounds.extend( latlng ) marker = new google.maps.Marker( { position: latlng, title: pv.name, zIndex: i }) // Store the information of the pv directly into the marker. // Still missing the details about the “volantini” to be shown in the infoWindow marker.data = pv // Setup some listener on the marker google.maps.event.addListener( marker, ‘click’, function () { // Close the infowindow if already opened. if ( info_window.map === map ) { closeInfoWindow() } var log = ‘Click sul punto vendita ID: ‘ + pv.id +’, Nome: ‘ + pv.name + ‘, Catena: ‘ + vf.app.data.catena.name; ga(‘send’, ‘event’, ‘Apertura mappa su punto vendita’, ‘Click’, log); // rewrite history window.history.replaceState( null, ”, location.pathname + location.search + ‘#mappa-‘ + pv.id ) updateInfoWindow( this ) }) // Make it front-most on rollover, only if the info_window is not visualized. google.maps.event.addListener( marker, ‘mouseover’, function () { if ( info_window.map == null ) marker.setZIndex( markers.length ) }) markers.push( marker ) }) map_center = marker_bounds.getCenter() mapOptions = { zoom: 8, center: map_center, scrollwheel: true, panControl: false, zoomControl: true, zoomControlOptions: { style: google.maps.ZoomControlStyle.LARGE, position: google.maps.ControlPosition.LEFT_CENTER }, mapTypeControl: false, scaleControl: true, streetViewControl: false, overviewMapControl: false } map = gmap.map = new google.maps.Map( gmap.el, mapOptions ) //console.log(‘new google maps’) // Process each marker ad assign to the map markers.forEach( function ( marker ) { marker.setMap( map ) marker.setIcon( vf.app.data.catena.logo.pin ) }) // marker Tu sei qui var latlng var whereIAm var vfLocation = decodeURIComponent(getCookie(“vf_location”)); if (vfLocation) { var locationCookie = JSON.parse(vfLocation); latlng = new google.maps.LatLng(+locationCookie.lat , +locationCookie.lng) marker_bounds.extend( latlng ) whereIAm = new google.maps.Marker( { position: latlng, icon: null, title: “Tu sei qui!”, zIndex: markers.length + 1 }) var infoWhere = new google.maps.InfoWindow({ content: ‘Tu sei qui!’ }) google.maps.event.addListener( whereIAm, ‘click’, function () { // Close the infowindow if already opened. if ( info_window.map === map ) { closeInfoWindow() } infoWhere.open( map, this ) }) // Make it front-most on rollover, only if the info_window is not visualized. google.maps.event.addListener( whereIAm, ‘mouseover’, function () { if ( infoWhere.map == null ) whereIAm.setZIndex( markers.length + 1 ) }) whereIAm.setIcon(null) whereIAm.setMap(map) } //console.warn(‘BEFORE FITBOUNDS’) map.fitBounds( marker_bounds ) //console.warn(‘JUST AFTER FITBOUNDS’) JUST_INITIALIZED = true // Close the infoWindow if it is open when clicking on the map. google.maps.event.addListener( map, ‘click’, function () { if ( info_window.map == null ) { //console.warn(‘not open’) } else { closeInfoWindow() window.history.replaceState( null, ”, location.pathname + location.search + ‘#mappa’ ) } }) // Do something only the first time the map is loaded google.maps.event.addListenerOnce( map, ‘idle’, function() { gmap.container.setAttribute( ‘data-zoom’, 14 ) last_center = map.getCenter() }) // Too costly. do it on “idle” google.maps.event.addListener( map, ‘idle’, function() { //console.warn( Date.now(), ‘updating last known center’ ) last_center = map.getCenter() }) // Is this really necessary? window.addEventListener( ‘resize’, function () { google.maps.event.trigger( map, ‘resize’ ) // Lock position on resize to the last known center… map.setCenter( last_center ) } , false ) // √ Done (hopefully) gmap.INITIALIZED = true // ! call the callback if set if ( cb ) { cb() cb = null } } // Async script loading function loadScript() { var script = document.createElement(‘script’) script.type = ‘text/javascript’ script.src = ‘https://maps.googleapis.com/maps/api/js?v=3.exp’ + ‘&callback=initializeGoogleMaps&key=AIzaSyABlhIDEeZ-GiU9XfFYcQMAcePg1LCz0qQ’ document.body.appendChild( script ) } // Lazy initialization… (script callback) // Definiamolo global con nome randomico e cancelliamolo subito dopo creazione. console.warn(‘Random callback name:’, (+Math.random().toFixed( 16 ).slice( 2 )).toString(16) ) // function initializeGoogleMaps() { if ( gmap.INITIALIZED ) { //console.warn( ‘(initializeGoogleMaps) Google Maps already initialized’ ) return } // Preload the icons and initialize the map. preloadMarkerIcons( initializeMap ) // Mark it as initialized //gmap.INITIALIZED = true } gmap.initialize = function( cb ) { if ( gmap.INITIALIZED ) { //console.warn( ‘(initializeGoogleMapsLazy) Google Maps already initialized’ ) cb && cb() return } cb = cb loadScript() } gmap.gotoPuntoVendita = function ( pv ) { //console.log(marker); //console.log(pv); // Find the marker. var marker = markers.filter( function ( marker ) { return marker.data === pv })[0] // Center the map on the marker… map.setCenter( marker.position ) google.maps.event.trigger( marker, ‘click’ ) } // Invoked from the ctrl when closing via the logo/close gmap.close = function () { gmap.closeInfoWindow() } gmap.markers = markers vf.app.gmap = gmap

Source

L’articolo Volantino RisparmioCasa a Genova: offerte e negozi proviene da #Adessonews B&B Bed and Breakfast Tel +39 079 097 6223 vicino Ospedale Civile Sassari Copenaghen House “La qualità al miglior prezzo”.

Sassari Bed Breakfast la qualità al giusto prezzo " Vicino Ospedale Civile " Sassari

Tel +39 079 097 6223 Vicino Ospedale Civile Sassari

La rete Adessonews è un aggregatore di news e replica gli articoli senza fini di lucro ma con finalità di critica, discussione od insegnamento,

come previsto dall’art. 70 legge sul diritto d’autore e art. 41 della costituzione Italiana. Al termine di ciascun articolo è indicata la provenienza dell'articolo.

Per richiedere la rimozione dell'articolo clicca qui

Open chat
1
Ciao posso aiutarti?
B&B Sardegna La qualità al miglior prezzo.
Utilizza questo pulsante per informazioni o prenotare, abbiamo riservato per te uno sconto.
%d blogger hanno fatto clic su Mi Piace per questo: