10 Simple, Weight-Loss Habits Made for The Office

The office can be a weight-loss battlefield. Between those well-intentioned food-focused celebrations and hours of sitting, it’s no wonder waistlines are expanding — and that pesky number on the scale seems to be moving up. But by creating healthier habits at work , it’s possible to turn things around. Here are 10 small changes to get you started:

Begin Slideshow

var mobile_slides = [];

jQuery( function($) {

function owlinitialize(){
$carousel = $(‘#owl-sliderid-24355’);
$(‘#owl-sliderid-24355’).on(‘initialized.owl.carousel changed.owl.carousel refreshed.owl.carousel’, function(e) {
if (!e.namespace) return
var carousel = e.relatedTarget
$(‘#sliderid-24355-info’).text(carousel.relative(carousel.current()) + 1 + ‘ OF ‘ + carousel.items().length);
if ( !$(‘#sliderID-24355-Nav’).length ) {
$(‘#sliderid-24355 .slide-nav’).append(‘

‘);
}
$(‘#sliderid-24355 .owl-carousel .item .slide-number .total-count’).each( function() {
$(this).text(carousel.items().length);
});
}).owlCarousel({
items:1,
loop:false,
autoHeight: true,
URLhashListener:true,
autoplayHoverPause:true,
dots: false,
nav:true,
mouseDrag: false,
navText: [
“,

],
navContainer: ‘#sliderID-24355-Nav’,
startPosition: ‘URLHash’
});
}

$(“#sliderid-24355 .gallery-view”).click(function () {
$(“#sliderid-24355”).toggleClass(“carousel-gallery-view”);
});

$(‘#sliderid-24355 .back-to-slides’).click( function() {
$(“#sliderid-24355”).removeClass(“carousel-gallery-view”);
owlinitialize();
});

$(‘#sliderid-24355 .begin-slideshow’).click( function() {
$(this).hide();
$(‘#sliderid-24355 .slidenum’).show();
$(“#sliderid-24355”).addClass(“hide-overlay”);
});

$(window).on(‘hashchange’, function() {
$(‘#sliderid-24355 .begin-slideshow’).hide();
$(‘#sliderid-24355 .slidenum’).show();
$(“#sliderid-24355”).addClass(“hide-overlay”);
});

if( window.location.hash ) {
$(“#sliderid-24355”).addClass(“hide-overlay”);
$(‘#sliderid-24355 .begin-slideshow’).fadeOut();
$(‘#sliderid-24355 .slidenum’).fadeIn();
} else {
$(“#sliderid-24355 .begin-slideshow-overlay”).one(‘click’, function(e) {
$(‘#sliderid-24355 .begin-slideshow’).hide();
$(‘#sliderid-24355 .slidenum’).show();
$(“#sliderid-24355”).addClass(“hide-overlay”);
});
$(‘#sliderid-24355 .slidenum’).fadeOut();
$(‘#sliderid-24355 .begin-slideshow’).fadeIn();
}

function trigger_mobile() {

var win_width = $(window).width();

if ( win_width < 992 ) {

$('#owl-sliderid-24355').trigger('destroy.owl.carousel');
$('#sliderID-24355-Nav').remove();
$("#sliderid-24355").addClass("carousel-gallery-view");
$("#sliderid-24355").addClass("hide-overlay");

$(window).scroll( function() {

$('#owl-sliderid-24355 .item').each( function() {

if ( $(this).offset().top window.pageYOffset + 70 ) {
window.location.hash = $(this).attr(‘data-hash’);
}

});

current_slide = window.location.hash.substring(1);

if(current_slide) {

if($.inArray(current_slide, mobile_slides) == -1) {
ga(‘send’, ‘event’, ‘Post Sliders’, ‘Scroll’, ‘Mobile – ‘ + current_slide);
mobile_slides.push(current_slide);
}

}

});

} else {

$(“#sliderid-24355”).removeClass(“carousel-gallery-view”);
owlinitialize();

}

}

$(window).on(“load”, function(e) {
owlinitialize();

$(‘#sliderid-24355 .begin-slideshow’).click(function() {
ga(‘send’, ‘event’, ‘Post Sliders’, ‘Play’, ‘Play – slide-24355-1’);
});

$(‘#sliderID-24355-Nav .owl-next’).click(function() {
ga(‘send’, ‘event’, ‘Post Sliders’, ‘Next’, ‘Next – ‘ + window.location.hash.substr(1));
});

$(‘#sliderID-24355-Nav .owl-prev’).click(function() {
ga(‘send’, ‘event’, ‘Post Sliders’, ‘Prev’, ‘Prev – ‘ + window.location.hash.substr(1));
});

});

$(window).on(“load resize”, function(e) {
trigger_mobile();

});

});

The post 10 Simple, Weight-Loss Habits Made for The Office appeared first on Under Armour.

You can leave a response, or trackback from your own site.

Leave a Reply


Contact Us @ info@weightloss.trafficmoolah.com

Important Legal Information
Use of this site signifies your acceptance of our:
Terms of Use | Privacy Policy | Affiliate/Earnings Disclosure

Copyright © '2011' & beyond "www.weightloss.trafficmoolah.com" All Rights Reserved
"www.weightloss.trafficmoolah.com" is designed and maintained by "hesshost.com"

Menu Planning Central