#onlinedating | Animal Crossing offers ‘digital getaway’ under lockdown | #bumble | #tinder | #pof

ANIMAL CROSSING. The smash-hit video game has captivated gamers in lockdown around the world. Screenshot from Nintendo trailer

HONG KONG, China – Millions of people are skirting global coronavirus lockdowns to stroll through public spaces, fly overseas, and watch idyllic sunsets… in the virtual world of smash-hit video game Animal Crossing: New Horizons.

The leisurely land of Nintendo’s latest release has struck a chord with gamers around the world, many of them yearning for a virtual escape from the onerous restrictions on movement and social activity imposed to contain the infection.

The game sees players guide their digital personas around an uninhabited island, slowly transforming the landscape with a house, garden and eventually a thriving community of adorable cartoon animal neighbors.

“Right now, watching news on TV can really be scary, but in this game, it’s just as if nothing is happening, it’s all quiet and peaceful,” said 28-year-old Kanae Miya, a Tokyo-based illustrator.

Australian high school teacher Dante Gabriele said he bought the game the day after its March release and had played it for more than 30 hours each week since, with social distancing rules keeping him housebound.

“You can just play for an hour, or nine in a row, and that’s why it fits so well with the lockdown – you can fit it between meetings or play all day,” he told AFP.

Chopping wood, harvesting turnips and fishing in the ocean give players the resources they need to build their own fantasy paradise.

Real-life friends can drop in to admire the day’s labours by booking an online plane ticket for their own characters, a welcome chance for social interaction at a time when regular human contact is often prohibited.

Some users say they have even adopted the game’s virtual island setting to stage dates organized through online dating platform Tinder, with the possibility of real-life romance stalled for now.

And with the virus prompting bans on public gatherings in Hong Kong, local pro-democracy activists sought to keep their movement’s momentum alive by staging a rally in the virtual world of the game.

Players directed their cartoon avatars to kick dirt onto images of the city’s unpopular political chief Carrie Lam, in a move that appears to have prompted digital stores in mainland China to stop selling copies of the game.

Experts say the game has become something of a poster-child for a period when people feel the need to connect more than ever.

“There is a synthesis between this game and this time in history that will leave the two forever connected in the world of video games,” wrote Mat Piscatella of market research firm NPD.

“A game designed around developing communities and forging connections was certainly the right game at the right time.”

New sales records

New Horizons, the 4th title in the 19-year-old Animal Crossing franchise and the first to be released on Nintendo’s handheld Switch console, has smashed digital sales records in the weeks since its release.

It even displaced the latest instalment of Call of Duty – the blood-spattered combat simulation series that has topped Fortune magazine’s global sales lists for 8 of the last 11 years – becoming the best-selling game in the US market, NPD data shows.

The title had been hotly anticipated by gaming fans but sales exceeded expectations at a time when industry revenue has slowed, with consumers eagerly awaiting the next generation of rival Sony PlayStation and Microsoft Xbox consoles on sale later this year.

The success has echoes of earlier triumphs by Nintendo, which has struggled to maintain market share against its competitors in recent years but still has a reputation for occasionally delivering tectonic shake-ups of the digital landscape.

Four years ago it was with Pokemon Go, a smartphone-based game that became a worldwide phenomenon when it lured millions of people onto the streets for a virtual monster hunt.

Laurent Michaud of French think-tank IDATE DigiWorld said New Horizons was testament to the game giant’s commercial strategy, which is built around in-house development and appealing to the better natures of its audience.

“They chose to think outside the box with innovation… but also by appealing to the child within us,” he said. – Rappler.com

`); //id of div where init the player const divId = "dmRelatedPlayer"; //xid of video to fallback let fallbackVideo = ""; //Minimum length of words to keep const minWordLength = 3; //Minimum words to perform a search: while no results it will removes a word and retry search const minWordSearch = 2; //Maximum of words used for the search: more words you keep, less are chances to get a result const maxWordSearch = 10; //Category to filter. List of available values: https://api.dailymotion.com/channels const category = ""; //language of videos. List of available values here: https://developer.dailymotion.com/api/partners#languages const language = ""; //Which sort to use. List of available values: https://developer.dailymotion.com/api#video-sort-filter const sort = "relevance"; //xid OR username of the channels to search separated by "," const owners = "rapplerdotcom"; //xid of videos to exclude separated by "," const excludeIds = ""; //search in a playlit ? provide playlist xid OR false const searchInPlaylist = false; let videoTitle = ""; /** * Takes a string and returns keywords following some rules * * @param title {string} a sentence * @returns {array} keywords */ const sanitizeTitle = function(title){ return title.replace(/[^u3131-uD79D a-zA-Z0-9 u00C0-u00FF u0153]/g, ' ') .split(' ') .filter(word => word.length >= minWordLength); } /** * Find keywords from the current page using og:title or h1 tags * * @returns {Array} keywords */ const findKeywords = function(){ let title = document.querySelector("meta[name]"); if(title !== null) title = title.getAttribute("content"); if(title !== null) title = sanitizeTitle(title); if((title === null || title.length === 0) && document.getElementsByTagName("h1")[0] !== undefined) title = sanitizeTitle(document.getElementsByTagName("h1")[0].textContent); return title; } let searchParams = { 'fields': 'id,title', 'sort': sort, 'limit': 1, 'search': findKeywords().sort((a, b) => b.length - a.length).slice(0, maxWordSearch).join(' ') }; if(!searchInPlaylist){ searchParams.private = 0; searchParams.flags = "no_live,exportable" + (owners.length > 0? "": ",verified"); searchParams.longer_than = 0.35; //21sec if(owners){ searchParams.owners = owners; } if(category){ searchParams.channel = category; } if(excludeIds){ searchParams.exclude_ids = excludeIds; } } if(language){ searchParams.language = language; } let playerParams = { 'width': "100%", 'height': "100%", 'video': fallbackVideo, } const initRelatedPlayer = function() { if (document.getElementById(divId) !== null) { let elm = document.getElementById(divId); let stickyContainer = document.createElement("div"); stickyContainer.setAttribute("class", "stickyContainer"); stickyContainer.setAttribute("style", "margin: 60px 0 50px 0; width: 100%; z-index: 999; display: block;"); stickyContainer.innerHTML = '

See Also

'; //stickyContainer.innerHTML += ''; stickyContainer.innerHTML += '

'; stickyContainer.innerHTML += '

'+ videoTitle + '

'; let cpeId = "5d5d0adac52b3f465d7bb0e3"; if(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)) cpeId = "5d9ff7aa9be440000e04bfb5"; elm.appendChild(stickyContainer); (function(w,d,s,u,n,i,f,g,e,c){w.WDMObject=n;w[n]=w[n]||function(){(w[n].q=w[n].q||[]).push(arguments);};w[n].l=1*new Date();w[n].i=i;w[n].f=f;w[n].g=g;e=d.createElement(s);e.async=1;e.src=u;c=d.getElementsByTagName(s)[0];c.parentNode.insertBefore(e,c);})(window,document,"script","//api.dmcdn.net/pxl/cpe/client.min.js","cpe",cpeId) } } const apiSearch = function(){ let e = new Event('relatedSearchFinish'); console.log("%c DM related ", "background: #56C7FF; color: #232323", "Search: " + searchParams.search); const properties = Object.keys(searchParams).map(function(k) { return encodeURIComponent(k) + '=' + encodeURIComponent(searchParams[k])}).join('&'); const dmSearch = "https://api.dailymotion.com/" + (searchInPlaylist ? "playlist/" + searchInPlaylist + "/videos" : "videos") + "?" + properties; fetch(dmSearch).then((response) => { return response.json(); }).then((data) => { if(data.total > 0){ playerParams.video = data.list[0].id; videoTitle = data.list[0].title; window.dispatchEvent(e); } else{ searchParams.search = searchParams.search.substring(0, searchParams.search.lastIndexOf(' ')); if(searchParams.search.split(' ').length >= minWordSearch && searchParams.search.length > 0) apiSearch(); else{ console.log("%c DM related ", "background: #56C7FF; color: #232323", "Can not find related video. Fallback video used."); playerParams.video = fallbackVideo; window.dispatchEvent(e); } } }); }; const getFallbackVideo = function(){ fetch("https://api.dailymotion.com/videos?owners=" + owners + "&sort=recent&limit=1&fields=id").then((response) => { return response.json(); }).then((data) => { if(data.list.length > 0){ fallbackVideo = data.list[0].id; videoTitle = data.list[0].title; } else { console.warn("DM related Unable to find a fallback video"); } }); } getFallbackVideo(); apiSearch(); window.addEventListener('relatedSearchFinish', (e) => { initRelatedPlayer(); }); window._taboola = window._taboola || []; // _taboola.push({ // mode: 'thumbnails-b', // container: 'taboola-below-article-thumbnails-259697', // placement: 'Below Article Thumbnails', // target_type: 'mix' // }); //var _ain = {}; $(document).ready(function () { var orentation = 'desktop' === 'mobile' ? 'horizontal' : 'vertical'; // Render sharebars rapplerCreateSharebar({ title : 'Animal Crossing offers 'digital getaway' under lockdown', url : 'http://www.rappler.com/entertainment/news/259697-animal-crossing-offers-digital-getaway-coronavirus-lockdown', showpin : 'https://assets.rappler.com/612F469A6EA84F6BAE882D2B94A4B421/img/1C0C1D3C22D94C92BD2D3A33AF4BF92A/screen-shot-2020-05-02-at-10.51.51-am.jpg', container : 'storypageShare-259697', providers : ['facebook', 'twitter', 'reddit', 'email'], orientation: orentation, showcount : 'top', via : '' }, true, true, 259697) rapplerCreateSharebar({ title : 'Animal Crossing offers 'digital getaway' under lockdown', url : 'http://www.rappler.com/entertainment/news/259697-animal-crossing-offers-digital-getaway-coronavirus-lockdown', showpin : 'https://assets.rappler.com/612F469A6EA84F6BAE882D2B94A4B421/img/1C0C1D3C22D94C92BD2D3A33AF4BF92A/screen-shot-2020-05-02-at-10.51.51-am.jpg', container : 'gysharebarh-2-259697', orientation: 'horizontal', showcount : 'top', via : '' }, true, true, 259697) rapplerCreateSharebar({ title : 'Animal Crossing offers 'digital getaway' under lockdown', url : 'http://www.rappler.com/entertainment/news/259697-animal-crossing-offers-digital-getaway-coronavirus-lockdown', showpin : 'https://assets.rappler.com/612F469A6EA84F6BAE882D2B94A4B421/img/1C0C1D3C22D94C92BD2D3A33AF4BF92A/screen-shot-2020-05-02-at-10.51.51-am.jpg', container : 'gysharebarh-259697', orientation: 'horizontal', showcount : 'none', via : '' }, true) // metakeys $('#rappler3-metakey-wrapper-259697').empty().html($('#metakeyword_content-259697').html()); // - show comments showComments('http://www.rappler.com/entertainment/news/259697-animal-crossing-offers-digital-getaway-coronavirus-lockdown', 259697, 'Animal Crossing offers 'digital getaway' under lockdown'); // - add the comment button with number of shares // var fn = function(r) { /* CONFIGURATION START */ // _ain = { // id: "1258", // postid: "259697", // url: "http://www.rappler.com/entertainment/news/259697-animal-crossing-offers-digital-getaway-coronavirus-lockdown", // title: "Animal Crossing offers 'digital getaway' under lockdown", // pubdate: "2020-05-02 03:06:51", // authors: "Agence France-Presse", // sections: "", // tags: "Animal Crossing, video games, novel coronavirus, coronavirus, COVID-19, coronavirus world updates", // comments: r.streamInfo.commentCount.toString() // }; /* CONFIGURATION END */ // (function (d, s) { // var sf = d.createElement(s); // sf.type = 'text/javascript'; sf.async = true; // sf.src = (('https:' == d.location.protocol) ? 'https://d7d3cf2e81d293050033-3dfc0615b0fd7b49143049256703bfce.ssl.cf1.rackcdn.com' : 'http://t.contentinsights.com')+'/stf.js'; // var t = d.getElementsByTagName(s)[0]; // t.parentNode.insertBefore(sf, t); // })(document, 'script'); //} //getCommentCount('259697',fn); }); wrapDFPWithCxsense('Ad_Rectangle_Top'); wrapDFPWithCxsense('Ad_Rectangle_Moods'); $(document).ready(function(a) { // console.log('Doc ready') let mmMaxWidth = $('#sidebar-upper').width(); $('.flip-container').css('max-width',mmMaxWidth); }); // auto executed when the article loads for the first time function setInitialContentId(id, url, title, description) { setMoods(id); } // reset mm to before user voted function resetMM() { $('#mood-meter-title').html("HOW DOES THIS STORY MAKE YOU FEEL?").attr('class','rappler-label bg rappler-orange'); $('#mobile-mood-meter-title').html("HOW DOES THIS STORY MAKE YOU FEEL?").attr('class','rappler-label bg rappler-orange'); $('#mood-clicked').html(""); } // callback function after share is done function gyShareCallback(e) { } //sets the mood values given the id function setMoods(item_id, noreset) { $('.mm-new').attr('data-article_id', item_id); $.get('https://mm.rappler.com/moodmeter/ranking?rsort=1&content_id=' + item_id, {}, function (data) { var mood_el = $('#dot-mm'), mobile_mood_el = $('#dot-mobile-mm-' + item_id); if (mood_el.length > 0) { $('.mm-new').css('opacity', 0); mood_el.find('strong.happy').html(data.moods.happy + '%'); mood_el.find('strong.sad').html(data.moods.sad + '%'); mood_el.find('strong.angry').html(data.moods.angry + '%'); mood_el.find('strong.dontcare').html(data.moods.dont_care + '%'); mood_el.find('strong.inspired').html(data.moods.inspired + '%'); mood_el.find('strong.afraid').html(data.moods.afraid + '%'); mood_el.find('strong.amused').html(data.moods.amused + '%'); mood_el.find('strong.annoyed').html(data.moods.annoyed + '%'); window.setTimeout(function () { $('.mm-new').css('opacity', 1); }, 100); } if (mobile_mood_el.length > 0) { mobile_mood_el.find('strong.happy').html(data.moods.happy + '%'); mobile_mood_el.find('strong.sad').html(data.moods.sad + '%'); mobile_mood_el.find('strong.angry').html(data.moods.angry + '%'); mobile_mood_el.find('strong.dontcare').html(data.moods.dont_care + '%'); mobile_mood_el.find('strong.inspired').html(data.moods.inspired + '%'); mobile_mood_el.find('strong.afraid').html(data.moods.afraid + '%'); mobile_mood_el.find('strong.amused').html(data.moods.amused + '%'); mobile_mood_el.find('strong.annoyed').html(data.moods.annoyed + '%'); } // console.log(data); var topmood, largest = 0, cls = 'rappler-orange', txt = 'People are divided on this issue'; for(var i in data.moods) { if(data.moods[i] > largest) { topmood = i; largest = data.moods[i]; } } var storymakespeople = 'THIS STORY MAKES PEOPLE'; switch (topmood) { case 'afraid': txt = storymakespeople + ' Afraid'; break; case 'amused': txt = storymakespeople + ' Amused'; break; case 'annoyed': txt = storymakespeople + ' Annoyed'; break; case 'angry': txt = storymakespeople + ' Angry'; break; case 'dont_care': txt = "People do not care about this story"; break; case 'happy': txt = storymakespeople + ' Happy'; break; case 'inspired': txt = storymakespeople + ' Inspired'; break; case 'sad': txt = storymakespeople + ' Sad'; break; } if(topmood == 'dont_care') { cls = 'dontcare' } else { if(typeof(topmood)!='undefined') { cls = topmood; } } resetMM(); $('#mood-meter-dominant').attr('class',''); $('#mood-meter-dominant').addClass('rappler-label-top bg '+cls); $('#mood-meter-dominant').html(txt) $('#mobile-mood-meter-dominant').attr('class',''); $('#mobile-mood-meter-dominant').addClass('rappler-label-top bg '+cls); $('#mobile-mood-meter-dominant').html(txt) }); } //set moodmeter language function setMoodMeterLanguage(url){ if((url.indexOf('/world/regions/asia-pacific/indonesia') > -1 || url.indexOf('/indonesia') > -1) && url.indexOf('/englishedition') == -1){ } else{ } $(".happy .bg").each(function() { $(this).nextAll("br").get(0).nextSibling.nodeValue = "Happy"; }); $(".sad .bg").each(function() { $(this).nextAll("br").get(0).nextSibling.nodeValue = "Sad"; }); $(".angry .bg").each(function() { $(this).nextAll("br").get(0).nextSibling.nodeValue = "Angry"; }); $(".dontcare .bg").each(function() { $(this).nextAll("br").get(0).nextSibling.nodeValue = "Don't Care"; }); $(".inspired .bg").each(function() { $(this).nextAll("br").get(0).nextSibling.nodeValue = "Inspired"; }); $(".afraid .bg").each(function() { $(this).nextAll("br").get(0).nextSibling.nodeValue = "Afraid"; }); $(".amused .bg").each(function() { $(this).nextAll("br").get(0).nextSibling.nodeValue = "Amused"; }); $(".annoyed .bg").each(function() { $(this).nextAll("br").get(0).nextSibling.nodeValue = "Annoyed"; }); } // execute this once a new story is added to the page function initStoryItem(id, url, title, pubdate, authors, sections, tags, previousUrl) { // reset moodmeter $('.flip-container').removeClass('hover'); // do we have an x module ? // initialize if we do if($('#item-'+id).find('.x_stories_module').length>0) { var m = $('#item-'+id).find('.x_stories_module')[0]; m_id = $(m).attr('data-module_id'); head.js("https://static.rappler.com/modules/mod_rappler3_x_stories/assets/js/mod_rappler3_x_stories.js", function () { if(typeof(getXStories)!=='undefined') { getXStories(m_id); createXLink(m_id); } }); } // do we have a scrolly slider (aka owl carousel) ? if($('#item-'+id).find('.rappler-scrolly-slider').length>0) { head.load("https://static.rappler.com/templates/rappler3_default/js/owl-carousel/owl.carousel.css", "https://static.rappler.com/templates/rappler3_default/js/owl-carousel/owl.theme.css", "https://static.rappler.com/templates/rappler3_default/js/owl-carousel/owl.transitions.css", "https://static.rappler.com/templates/rappler3_default/css/scrollyslider.css", "https://static.rappler.com/templates/rappler3_default/js/owl-carousel/owl.carousel.js", "https://static.rappler.com/templates/rappler3_default/js/scrollyslider.js", function () { if(typeof(initOwlSlider)!=='undefined') { initOwlSlider($('#item-'+id).find('.rappler-scrolly-slider')); } }); } // resetMM(); // fetch moods setMoods(id); // create sharebar for new story rapplerCreateSharebar({ title: title, url: url, showpin: 1, container: 'storypageShare-' + id, orientation: 'vertical', showcount: 'top', via: '@rapplerdotcom' }, true, true, id) // - meta keywords $('#rappler3-metakey-wrapper-' + id).empty().html($('#metakeyword_content-' + id).html()); // - show comments showComments(url, id, title); // - add the comment button with number of shares getCommentCount(id); // NOTE : updating of the url needs to be done in initScrolly inside storypage.php // because that's where we detect the direction of the scroll // detecting the direction is crucial so we know when // to update the url and moodmeter // - load twitter again twttr.widgets.load() // HAM : content insights after we get comments // var fn = function(r) { // _ain.id = "1258"; // _ain.postid = id; // _ain.url = url; // _ain.title = title; // _ain.pubdate = pubdate; // _ain.authors = authors; // _ain.sections = sections; // _ain.tags = tags; // _ain.maincontent = "#story-area-" + id; // _ain.comments = r.streamInfo.commentCount.toString(); // _ain.track(); // } // rapplerGetCommentcount(id,fn); // TODO : only execute if this article is brandrap } // listen to mood votes head.js("https://static.rappler.com/components/com_rappler/js/jquery.cookie.min.js", "https://static.rappler.com/modules/mod_rappler3_moods/js/moodmeter.min.js", "https://static.rappler.com/modules/mod_rappler3_moods/js/moodmeter_client.min.js", function () { moodMeterClient = new MoodMeterClient({domain: "https://mm.rappler.com"}); moodMeterClient.initClient(function (isExists, hash) { // listen to vote clicks $(document).click(function (e) { if ($(e.target).hasClass('dot_mmm_circle')) { var mood_type_id = $(e.target).attr('rel'), mood = '', moodClicked = '', moodText = '', moodClass = $('#mood-clicked').attr('class'), contentId = $(e.target).parents('div.mm-new').attr('data-article_id'), mobile_parent = $(e.target).parents('#dot-mobile-mm-' + contentId); // console.log(contentId); // console.log(mood); // console.log(mood_type_id); if ($(e.target).hasClass('happy')) { mood = "Happy"; moodText = 'Happy'; } if ($(e.target).hasClass('sad')) { mood = "Sad"; moodText = 'Sad'; } if ($(e.target).hasClass('angry')) { mood = "Angry"; moodText = 'Angry'; } if ($(e.target).hasClass('inspired')) { mood = "Inspired"; moodText = 'Inspired'; } if ($(e.target).hasClass('afraid')) { mood = "Afraid"; moodText = 'Afraid'; } if ($(e.target).hasClass('amused')) { mood = "Amused"; moodText = 'Amused'; } if ($(e.target).hasClass('dontcare')) { mood = "Don't Care"; moodText = "Don't Care"; } if ($(e.target).hasClass('annoyed')) { mood = "Annoyed"; moodText = 'Annoyed'; } moodClicked = mood.toLowerCase() if (moodClicked == "don't care") { mood = 'dontcare'; moodText = "Don't Care"; } var prefix = "I am"; if (mood_type_id == 4) { prefix = "I"; } //printMoodSponsorship(mood); // record the vote $.post('https://mm.rappler.com/moodmeter/vote', { hash: hash, mood_type_id: mood_type_id, mood_type_name: mood, content_id: contentId, cookies_enabled: 1 }, function (data) { var moodTypeId = 0; if (!data.content_mood_id) { if (mobile_parent.length == 1) { // voting on mobile $('#mmm_thankyou_title').html('You have already voted ' + moodText + '') $('#mmm_popup_thanks').modal('show'); rapplerCreateSharebar({ title: prefix + ' ' + mood + ' - ' + document.title, url: window.location.href, showpin: 0, container: 'mmm_thankyou_share', orientation: 'horizontal', showcount: 'none', via: 'rapplerdotcom' }, false, false, contentId) } else { // update share this vote rapplerCreateSharebar({ title: prefix + ' ' + mood + ' - ' + document.title, url: window.location.href, showpin: 0, container: 'voteshare', orientation: 'horizontal', showcount: 'none', via: 'rapplerdotcom' }, false, false, contentId) // update the mood counts setMoods(contentId); // do the flip $('.flip-container').toggleClass('hover'); // update the flip panel text $('#mood-meter-title').html('You already voted ' + moodText).attr('class','rappler-label bg '+ moodClicked); $('#mobile-mood-meter-title').html('You already voted ' + moodText).attr('class','rappler-label bg '+ moodClicked); $("#mood-clicked").html(moodText).attr('class','').addClass(moodClicked); $("#mood-clicked-after").html(moodText).attr('class','').addClass(moodClicked); var oldMoodClicked = moodClicked; $( "#mood-back" ).one( "click", function() { switch(data.mood_type_slug) { case 'happy': moodClicked = 'Happy'; moodText = 'Happy'; break; case 'sad': moodClicked = 'Sad'; moodText = 'Sad'; break; case 'angry': moodClicked = 'Angry'; moodText = 'Angry'; break; case 'dontcare': moodClicked = "Don't Care"; moodText = "Don't Care"; break; case 'amused': moodClicked = 'Amused'; moodText = 'Amused'; break; case 'afraid': moodClicked = 'Afraid'; moodText = 'Afraid'; break; case 'annoyed': moodClicked = 'Annoyed'; moodText = 'Annoyed'; break; } $('#mood-meter-title').html('You already voted ' + moodText).attr('class','rappler-label bg '+ data.mood_type_slug); $('#mobile-mood-meter-title').html('You already voted ' + moodText).attr('class','rappler-label bg '+ data.mood_type_slug); $("#mood-clicked").html(moodText).attr('class','').addClass(data.mood_type_slug); $("#mood-clicked-after").html(moodText).attr('class','').addClass(data.mood_type_slug); //$("#mood-sponsorship").html(''); }); var relatedmood = ""; if (moodClicked == "Don't Care") { relatedmood = 'Dont+care'; } else { relatedmood = moodClicked; } $.getJSON('https://mm.rappler.com/api/votes/voted-top-in-moods', {type: relatedmood}, function (data) { $('#latestmoodstories').html(''); $.each(data.results, function (index, entry) { if (index ').append( $('

').append( $('').addClass('rappler-headline link').attr('href', '/?option=com_rappler&task=mobileapi.rdir&id=' + entry.contentId).html(entry.title) ) ) ).append('

'); } }); }); } } else { if (mobile_parent.length == 1) { $('#mmm_thankyou_title').html('Thank you for voting ' + moodText + '') $('#mmm_popup_thanks').modal('show'); rapplerCreateSharebar({ title: prefix + ' ' + mood + ' - ' + document.title, url: window.location.href, showpin: 0, container: 'mmm_thankyou_share', orientation: 'horizontal', showcount: 'none', via: 'rapplerdotcom' }, false, false, contentId) } else { // update share this vote rapplerCreateSharebar({ title: prefix + ' ' + mood + ' - ' + document.title, url: window.location.href, showpin: 0, container: 'voteshare', orientation: 'horizontal', showcount: 'none', via: 'rapplerdotcom' }, false, false, contentId) // update the mood counts setMoods(contentId); // do the flip $('.flip-container').toggleClass('hover'); // update the flip panel text window.setTimeout(function () { $("#mood-clicked-after").html(moodText).attr('class','').addClass(moodClicked); }, 100); $('#mood-meter-title').html(' echo $mood_name["youalreadyvoted"]; ?> ' + moodText).attr('class','rappler-label bg '+ moodClicked); $('#mobile-mood-meter-title').html(' echo $mood_name["youalreadyvoted"]; ?> ' + moodText).attr('class','rappler-label bg '+ moodClicked); // fetch related news var relatedmood = ""; if (moodClicked == "Don't Care") { relatedmood = 'Dont+care'; } else { relatedmood = moodClicked; } $.getJSON('https://mm.rappler.com/api/votes/voted-top-in-moods', {type: relatedmood}, function (data) { $('#latestmoodstories').html(''); $.each(data.results, function (index, entry) { if (index ').addClass('stats').append( $('

').addClass('top-in-moods-title').append( $('').addClass('rappler-headline link').attr('href', '/?option=com_rappler&task=mobileapi.rdir&id=' + entry.contentId).html(entry.title) ) ) ).append('

'); } }); }); } recordGigAction('mood_vote',{ content_id:contentId, mood_type_id:mood_type_id, mood_type_name:mood }); recordCommunityAction('mood_vote', { content_id:contentId, mood_type_id:mood_type_id, mood_type_name:mood }); } }) } }) }) }) $('#mood-back').click(function () { $('.flip-container').removeClass('hover'); }); var id = 259697; var title = $("#story-area-" + id).attr("data-article_title"); CookiePopup.init({ selector: 'cookie-popup-rappler', }); $('.close-button *').click(function() { $('.cp-slider-popup').animate({ bottom: '-700px', }, 500, function() { console.log('Animation Done'); }); }); //EmailPopup.init({ //selector: 'emailPopupDiv', //}); new innity_premiumZone("82713", {"origin": "PH"}); new innity_premiumZone("82714", {"origin": "PH"}); new innity_premiumZone("82927", {"origin": "PH"}); WebFont.load({ google: { families: ['PT Serif: 400,700', 'Oswald: 300,400'] } }); window._taboola = window._taboola || []; _taboola.push({flush: true}); cX.callQueue.push([ "invoke", function invoke() { cX.getUserSegmentIds({ persistedQueryId: "82ef547962d8ecd598da83a1543cb91a6670175e", callback: function callback(segmentIds) { if (document.readyState === "complete") { fbq("trackCustom", "CxSegments", { segmentIds: segmentIds }); } else { var earlyOnReadyStateChange = document.onreadystatechange; document.onreadystatechange = function onReadyStateChange() { if (earlyOnReadyStateChange) { earlyOnReadyStateChange(); } if (document.readyState === "complete") { fbq("trackCustom", "CxSegments", { segmentIds: segmentIds }); } }; } } }); } ]); var readerCountry = 'INTL'; // var is_uiwebview = /(iPhone|iPod|iPad).*AppleWebKit(?!.*Version)/i.test(navigator.userAgent); ga('set', 'dimension17', readerCountry);


Source link

————————————————————–
Source link

.  .  .  .  .  .  . .  .  .  .  .  .  .  .  .  .   .   .   .    .    .   .   .   .   .   .  .   .   .   .  .  .   .  .