Thursday, May 17, 2012

Black Health and Fitness Pictures: The Root's Black, Fit and Healthy ...

' +
'' +
'' +
'

'+ data.slides[i].content +'

' + '' + ''; } trjQ('#theRootSlideshow .slide-loading').remove(); trjQ('#theRootSlideshow').append(this.template); trjQ('.slideshow_nav').css('display','block'); //Attach Next/Prev Events trjQ('.slideshow-next').bind('click',this.nextHandler); trjQ('.slideshow-prev').bind('click',this.prevHandler); //show initial slide trjQ('#theRootSlideshow .slide').first().css('display','block'); //xOfy initial state trjQ('.xOfy').html('1 of ' + (this.size + 1) + ' Images'); }, showSlide:function(slide){ var current_slide = Number(slide.attr('index')) + 1; slide.css('display','block'); trjQ('.xOfy').html(current_slide + ' of ' + (this.size + 1) + ' Images'); }, hideSlide:function(slide,slide2){ slide.fadeOut("100", function() {TheRoot.slideshow.showSlide(slide2)}).delay(500); }, nextHandler:function(){ trjQ('#theRootSlideshow > div').each(function(index) { if(trjQ(this).is(":visible") && (trjQ(this).attr("index") == TheRoot.slideshow.jump_slide)){ trjQ('.slideshow-next').bind('click',TheRoot.slideshow.moreSlideshowHandler); } if(trjQ(this).is(":visible") && (trjQ(this).attr("index") != TheRoot.slideshow.last)){ TheRoot.slideshow.hideSlide(trjQ(this),trjQ(this).next()); var page_next = parseInt(trjQ(this).next().attr("index")) + 1; slideshow_omniture_tracking(page_next); refreshAds(); return false; } }); }, prevHandler:function(){ trjQ('#theRootSlideshow > div').each(function(index) { if(trjQ(this).is(":visible") && (trjQ(this).attr("index") != 0)){ TheRoot.slideshow.hideSlide(trjQ(this),trjQ(this).prev()); var page_prev = parseInt(trjQ(this).next().attr("index")) - 1; slideshow_omniture_tracking(page_prev); refreshAds(); return false; } trjQ('.slideshow-next').unbind('click',TheRoot.slideshow.moreSlideshowHandler); }); }, moreSlideshowHandler:function(){ location.href = slideshow_section; } }; TheRoot.slideshow.init(); }); function refreshAds(){ placeAd2(commercialNode,'leaderboard','AJAX',''); placeAd2(commercialNode,'flex','AJAX',''); placeAd2(commercialNode,'tiffanytile','AJAX',''); } function slideshow_omniture_tracking(slideIndex){ //set omniture true, on slideshow click-through s.eVar1 = "tr - photogallery - 62793 - The Root\'s Day of Fun and Fitness: Photos"; s.pageName = "tr - photogallery - 62793 - The Root\'s Day of Fun and Fitness: Photos"; s.eVar2 = "tr - multimedia"; s.eVar3 = null; s.eVar20 = null; s.events= null; s.channel = "tr - multimedia"; s.prop1 = "multimedia"; s.prop3 = "gallery"; s.prop12 = "62793"; s.prop13 = "-62793"; s.prop14 = slideIndex; s.prop5 = "The Root Staff "; s.prop20 = null; s.prop23 = "multimedia | galleries"; s.hier1 = "multimedia | galleries"; s.hier2 = "theroot.com | multimedia | galleries"; s.referrer = 'http://www.theroot.com'; s.t(); }

We teamed up with Olympian Dominique Dawes to promote "black, fit and healthy" living.

florida debate rand paul mark kirk drew peterson florida gop debate freddie mac kristin cavallari

No comments:

Post a Comment

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