Mazda?s sporty compact joins the 40-mpg club, thanks to its reimagined Skyactiv system. It?s a blast to drive too. By Ben Stewart
1 of 7
On-Sale Date: NowPrice: $20,095
Competitors: Honda Civic, Hyundai Elantra, Chevy Cruze, Ford Focus, and Toyota Corolla
Powertrain: 2.0-liter four-cylinder, 155 hp, 148 lb-ft; six-speed manual, six-speed automatic, FWD
EPA Fuel Economy (city/highway): 27/39 mpg (manual), 28/40 (automatic)
"); 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
Read More Read More Read More Read MoreSource: http://www.popularmechanics.com/cars/reviews/drives/2012-mazda3-2-liter-skyactiv-test-drive?src=rss
amazon tablet amazon tablet carl sagan gloria estefan ahava ahava kelly cutrone
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.