Pakistan vs New Zealand 2nd T20I in Dubai Highlights - As It Happened

Posted by On 9:39 PM

Pakistan vs New Zealand 2nd T20I in Dubai Highlights - As It Happened

Pakistan vs New Zealand 2nd T20I in Dubai Highlights - As It Happened Cricketnext Staff | Updated: November 3, 2018, 1:08 AM IST '; testInningTabs =testInningTabs+''+get_inningSwitcher_tabs(data,secondInningBattingTeam,activeInning,2)+''; testInningTabs =testInningTabs+''; var allInningTabs =testInningTabs; }else{ var allInningTabs =''; } // innings data switching tabs ends ends // scoresBox = scoresBox+allInningTabs; /* start batsman block/ start html left block */ var fullTeamList = '

'; for(var a=0; a '; } if(inningData.batsmen.list.length==0){ fullTeamList=fullTeamList+''; } fullTeamList=fullTeamList+'
BatsmanRB4s6sSR
'+batsManName+''+runs+� 39;'+ballsFaced+''+fours+''+sixes+''+strikeRate+'
'; scoresBox=scoresBox+fullTeamList; /* End batsman block */ /* Start bowlers block */ var bowlersListData=''; for(var a=0; a '; if (a == 1) { break; } } } if(inningData.bowler.list.length==0){ bowlersListData = bowlersListData+'&# 039;; } bowlersListData = bowlersListData+'
BowlersOMRWKTWDNBECON
'+bowlerName+''+overs+''+maidenOvers+''+runsGiven+''+wickets+''+wides+''+noballs+''+economyRate+'
'; scoresBox = scoresBox+bowlersListData; var finalHtmlAboveCommentary = scoresBox; $('#article_scores').html(finalHtmlAboveCommentary); } }); } /* function to generate inning's scores starts here */ function get_innings_score(data,teamName){ var matchType = data.matchtype; var scoreSummary = ''; var allInnings = new Array(); if(matchType=='test'){ allInnings[0] = data.firstInnings; allInnings[1] = data.secondInnings; if(typeof data.thirdInnings!='undefined'){ allInnings[2] = data.thirdInnings; } allInnings[3] = data.fourthInnings; total_inning = 4; }else{ allInnings[0] = data.firstInnings; allInnings[1] = data.secondInnings; total_inning=2; } var x=1; for(var a=0; a '; scoreSummary = scoreSummary+seperatorSymbol+allInni ngs[a].Equation.Total+'/'+allInnings[a].Equation.Wickets+inningDeclaredStatus; x=x+1; }else{ inningDeclaredStatus =''; scoreSummary = scoreSummary+allInnings[a].Equation.Total+'/'+allInnings[a].Equation.Wickets+' ('+allInnings[a].Equation.Overs+') R/R: '+runRate+''; x=x+1; } } }else{ return scoreSummary; } } return scoreSummary; } /* function to generate inning's scores ends here */ /* function to generate tabs for test match team's innings's scores switch starts here */ function get_inningSwitcher_tabs(data,teamName,inningName,teamNumber) { var matchType=data.matchtype; if(teamNumber==2){ var rightTabStyle = ''; var tabPositionClass = 'fright'; }else{ var rightTabStyle = ''; var tabPositionClass = 'fleft'; } // var tabList = '� 39;; var tabList=''; var allInnings = new Array(); var allInningNamesArray = new Array(); if(matchType=='test'){ allInnings[0] = data.firstInnings; allInnings[1] = data.secondInnings; if(typeof data.thirdInnings!='undefined'){ allInnings[2] = data.thirdInnings; } allInnings[3] = data.fourthInnings; total_inning=4; } allInningNamesArray[0] = 'firstInnings'; allInningNamesArray[1] = 'secondInnings'; allInningNamesArray[2] = 'thirdInnings'; allInningNamesArray[3] = 'fourthInnings'; var suffixes = ['','st','nd']; var x=1; var totalTab=2; for(var a=0; a '+x+suffixes[x]+' innings'; x=x+1; //totalTab=totalTab - 1; } } tabList = tabList; return tabList; } /* function to generate tabs for test match team's innings's scores switch ends here */ var updateScoreArticle=setInterval(function(){ var inningName=$("#active_inning").val(); var teamName=$("#active_country").val(); get_teams_score_box_article(inningName,teamName) }, 17000); });Source: Google News New Zealand | Netizen 24 New Zealand

Next
« Prev Post
Previous
Next Post »