Friday, December 2, 2011

4 Great Apps to Game-ify Your Life

So what if the points don't matter? These apps will put some spice into the mundane parts of your day, such as monitoring your finances and keeping in shape. By John Herrman

1 of 4

Fitocracy

THE TASK: Exercise

THE MOTIVATION: Points, badges, direct competition, peer pressure

DOES IT WORK? Quantifying workouts in points is oddly addicting, even if they ultimately mean nothing.

http://www.fitocracy.com/

"); AddParamVideo(); }); function AddParamVideo() { var slideTypeVideo = fb._engine.variables.imageLoop[fb._engine.variables.currentImageIndex - 1].slideTypeVideo_embed_format; var videoContent = fb._engine.variables.imageLoop[fb._engine.variables.currentImageIndex - 1].slideTypeVideo_3rdparty_embed; if(slideTypeVideo == "3rd party" && videoContent && videoContent.search('')==-1) { var getQString = videoContent.split('>'); var oldString = getQString[0]; oldString=oldString+' wmode="transparent">'; $("[hfbNode='VideoFrame']").show().html(oldString); } } /* * THESE CALLBACKS ARE THE OTHER EVENTS, TO BE POSSIBLY USED FOR OTHER SITES */ function showSponsor() { //Hide - Unhide sponsor logo var slideType = fb._engine.variables.imageLoop[fb._engine.variables.currentImageIndex -1].slidetype; if($(".fb_frame_image_sponsored_author").css("display") == "block" && slideType != "Video") $(".frame_sponsor").css("display", "block"); else $(".frame_sponsor").css("display", "none"); if($(".partnerLogo").attr("class") != "partnerLogo") $(".fb_frame_side_right").css("margin-top", "30px"); } /* Hide - Unhide Most Stories in last slide */ fb.callback.viewMain(function(){ LoadDefaultMainPage(); $("#content_sec_mostpopularstories").hide(); }) fb.callback.viewFinalFrame(function(){ LoadDefaultMainPage(); $("#content_sec_mostpopularstories").show(); }); /* Init Hover Event on button top, bottom */ fb.callback.init(function(){ //Image arrow left: $(".fb_frame_image img:first") //Image arrow right: $(".fb_frame_image img:eq(1)") $("#fb_button_top_next").hover( function(){ $(".fb_frame_image img:first").addClass("arrowhide"); $(".fb_frame_image img:eq(1)").addClass("arrowhide"); }, function(){ $(".fb_frame_image img:first").removeClass("arrowhide"); $(".fb_frame_image img:eq(1)").removeClass("arrowhide"); } ); $("#fb_button_top_back").hover( function(){ $(".fb_frame_image img:first").addClass("arrowhide"); $(".fb_frame_image img:eq(1)").addClass("arrowhide"); }, function(){ $(".fb_frame_image img:first").removeClass("arrowhide"); $(".fb_frame_image img:eq(1)").removeClass("arrowhide"); } ); /* Hide - Unhide Tool Tip */ $("#fb_button_bot_next").hover( function(){ $(".fb_backnext_text_area").show(); $(".fb_frame_image img:first").addClass("arrowhide"); $(".fb_frame_image img:eq(1)").addClass("arrowhide"); }, function(){ $(".fb_backnext_text_area").hide(); $(".fb_frame_image img:first").removeClass("arrowhide"); $(".fb_frame_image img:eq(1)").removeClass("arrowhide"); } ); $("#fb_button_bot_back").hover( function(){ var currentPage = fb._engine.variables.currentImageIndex; if(currentPage != 1) $(".fb_backnext_text_area").show(); $(".fb_frame_image img:first").addClass("arrowhide"); $(".fb_frame_image img:eq(1)").addClass("arrowhide"); }, function(){ $(".fb_backnext_text_area").hide(); $(".fb_frame_image img:first").removeClass("arrowhide"); $(".fb_frame_image img:eq(1)").removeClass("arrowhide"); } ); showSponsor(); }); /* Next, Back button click event */ function moveTop(){ //Get position of Ad image var position = $("#flipbookAd").position(); //Get position of next button var currentBtnNextPosition = $("#fb_button_top_next").position(); var currentBtnBackPosition = $("#fb_button_top_back").position(); if(currentBtnNextPosition.top > 680 || currentBtnBackPosition.top > 680) window.scrollTo(position.left, position.top); } fb.callback.next(function(){ LoadDefaultMainPage(); //Check if content is too long. moveTop(); }); fb.callback.back(function(){ LoadDefaultMainPage(); //Check if content is too long. moveTop(); }); /*Event For Paging Function in Thumbnails Page*/ function ShowPaging(currentSlide){ var lastSlide = fb._engine.variables.totalThumbPages; var firstSlide = 1; //Default style for paging number $("#content-sec_fb_frame_viewthumb_nav_inner_container a").removeClass("highlite"); $("#content-sec_fb_frame_viewthumb_nav_inner_container a").each(function(){ if(parseInt($(this).text()) == currentSlide) $(this).addClass("defaultSlide"); else $(this).removeClass("defaultSlide"); }); //Default style for button paging if(currentSlide == firstSlide) { //Load style for button on Thumbnail page $("#content-sec_fb_frame_viewthumb_nav_inner_bookend_left").removeClass("off").addClass("inactive"); $("#content-sec_fb_frame_viewthumb_nav_inner_bookend_right").removeClass("inactive").addClass("off"); } if(currentSlide > firstSlide && currentSlide span:first").text()); var result = (pageIndex / 12); var tempResult = result.toString(); var tempResultSplit = tempResult.split('.'); if(tempResultSplit.length > 1) pageIndex = parseInt(tempResultSplit[0]) + 1 else pageIndex = parseInt(tempResultSplit[0]); $("#currentPage").empty(); $("#currentPage").text(pageIndex.toString()); } function LoadDefaultMainPage(){ //Default style for button on main page var imgIndex = fb._engine.variables.currentImageIndex; if(imgIndex == 1) { $("#fb_button_top_back").removeClass("off").addClass("inactive"); $("#fb_button_bot_back").removeClass("off").addClass("inactive"); } else { $("#fb_button_top_back").removeClass("inactive").addClass("off"); $("#fb_button_bot_back").removeClass("inactive").addClass("off"); } showSponsor(); AddParamVideo(); } function InitEventBtnThumbsClick(){ var framePosition = 0; var lastFrame = fb._engine.variables.totalThumbPages; var firstFrame = 1; var nextFrame = 0; var previousFrame =0; $('#content-sec_fb_frame_viewthumb_nav_inner_bookend_left').unbind('click'); $('#content-sec_fb_frame_viewthumb_nav_inner_bookend_right').unbind('click'); $('#content-sec_fb_frame_viewthumb_nav_inner_bookend_left').click(function() { framePosition = fb._engine.variables.currentThumbPage; if(framePosition > 1) { fb.click.scrollThumbPageLeft(); } }); $('#content-sec_fb_frame_viewthumb_nav_inner_bookend_right').click(function() { framePosition = fb._engine.variables.currentThumbPage; if(framePosition

Related News

Master mechanics, gadget enthusiasts, hardcore cyclists, basement inventors?our 2011 holiday gift guide has great choices for every kind of PopMech personality. Read More

Tired of fad diets but still desiring to lose weight, PM tech contributor John Brandon turned to cold hard data, trying out the new wave of devices such as Nike+ and FitBit that are designed to keep numerical tabs on your fitness?and apply a little peer pressure if you slack off. Read More

Watch your back?and your Internet connection, and your in-car navigation system. We're living in an age of heavy monitoring. And in most cases, these eight gadgets and services track your activities and record data about you without your knowledge. We've included some tips (in some cases) to turn off the tracking and go private. Read More

For years we've heard that someday, all the items in our everyday lives will be wirelessly linked and trackable?no more losing your keys. A new wave of wireless sensors that are getting smaller and better make that vision seem closer than ever. Read More

Source: http://www.popularmechanics.com/technology/how-to/software/4-great-apps-to-game-ify-your-life?src=rss

extract extract bobby jindal bobby jindal talladega broncos broncos

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.