//
var TN_Widget = function() {
var months = ["", "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"];
return {
newWindow : true,
CreateEventRow : function(row, isAlt) {
var t = row[4].split("/");
t[0] = months[t[0]];
t[2] = ", " + t[2];
return "
" +
t[0] + " " + "" + t[1] + "" +
t[2] + " " +
row[3].substring(0,3) + " " +
row[5] + " | " +
row[0] + " " +
row[1] + " - " +
row[2] + " | " + this.btnText + "" +
" |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kwds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
var footerLink = "";
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = "" + newTable.join('') + "" + footerLink + "
";
}
else if(document.querySelector(".tnpl_results_container") != null) {
document.querySelector(".tnpl_results_container").innerHTML = "" + newTable.join('') + "" + footerLink + "
";
}
else
document.write("" + newTable.join('') + "" + footerLink + "
");
}
};
}();
//BPW-TNSERV-04A
TN_Widget.AddCss('//s3.amazonaws.com/TNService/pl-widget/styles/tnpl-results-widget.css');
TN_Widget.CreateTable([['New Orleans Pelicans vs. Boston Celtics','Smoothie King Center','New Orleans, LA','Friday','1/31/2025','7:00 PM','6634145','New-Orleans-Pelicans-vs--Boston-Celtics-1-31-2025'],['Denver Nuggets vs. New Orleans Pelicans','Ball Arena','Denver, CO','Monday','2/3/2025','7:00 PM','6634244','Denver-Nuggets-vs--New-Orleans-Pelicans-2-3-2025'],['Denver Nuggets vs. New Orleans Pelicans','Ball Arena','Denver, CO','Wednesday','2/5/2025','8:00 PM','6634245','Denver-Nuggets-vs--New-Orleans-Pelicans-2-5-2025'],['Sacramento Kings vs. New Orleans Pelicans','Golden 1 Center','Sacramento, CA','Saturday','2/8/2025','7:00 PM','6634662','Sacramento-Kings-vs--New-Orleans-Pelicans-2-8-2025'],['Oklahoma City Thunder vs. New Orleans Pelicans','Paycom Center','Oklahoma City, OK','Monday','2/10/2025','7:00 PM','6633967','Oklahoma-City-Thunder-vs--New-Orleans-Pelicans-2-10-2025'],['New Orleans Pelicans vs. Sacramento Kings','Smoothie King Center','New Orleans, LA','Wednesday','2/12/2025','7:00 PM','6634149','New-Orleans-Pelicans-vs--Sacramento-Kings-2-12-2025'],['New Orleans Pelicans vs. Sacramento Kings','Smoothie King Center','New Orleans, LA','Thursday','2/13/2025','7:00 PM','6634152','New-Orleans-Pelicans-vs--Sacramento-Kings-2-13-2025'],['Dallas Mavericks vs. New Orleans Pelicans','American Airlines Center','Dallas, TX','Friday','2/21/2025','8:30 PM','6633626','Dallas-Mavericks-vs--New-Orleans-Pelicans-2-21-2025'],['New Orleans Pelicans vs. San Antonio Spurs','Smoothie King Center','New Orleans, LA','Sunday','2/23/2025','6:00 PM','6634155','New-Orleans-Pelicans-vs--San-Antonio-Spurs-2-23-2025'],['New Orleans Pelicans vs. San Antonio Spurs','Smoothie King Center','New Orleans, LA','Tuesday','2/25/2025','7:00 PM','6634157','New-Orleans-Pelicans-vs--San-Antonio-Spurs-2-25-2025'],['Phoenix Suns vs. New Orleans Pelicans','Footprint Center','Phoenix, AZ','Thursday','2/27/2025','8:00 PM','6634468','Phoenix-Suns-vs--New-Orleans-Pelicans-2-27-2025'],['Phoenix Suns vs. New Orleans Pelicans','Footprint Center','Phoenix, AZ','Friday','2/28/2025','7:00 PM','6634470','Phoenix-Suns-vs--New-Orleans-Pelicans-2-28-2025'],['Utah Jazz vs. New Orleans Pelicans','Delta Center','Salt Lake City, UT','Sunday','3/2/2025','6:00 PM','6634742','Utah-Jazz-vs--New-Orleans-Pelicans-3-2-2025'],['Los Angeles Lakers vs. New Orleans Pelicans','Crypto.com Arena','Los Angeles, CA','Tuesday','3/4/2025','7:30 PM','6634656','Los-Angeles-Lakers-vs--New-Orleans-Pelicans-3-4-2025'],['New Orleans Pelicans vs. Houston Rockets','Smoothie King Center','New Orleans, LA','Thursday','3/6/2025','7:00 PM','6634162','New-Orleans-Pelicans-vs--Houston-Rockets-3-6-2025'],['Houston Rockets vs. New Orleans Pelicans','Toyota Center - TX','Houston, TX','Saturday','3/8/2025','6:00 PM','6633914','Houston-Rockets-vs--New-Orleans-Pelicans-3-8-2025'],['New Orleans Pelicans vs. Memphis Grizzlies','Smoothie King Center','New Orleans, LA','Sunday','3/9/2025','6:00 PM','6634168','New-Orleans-Pelicans-vs--Memphis-Grizzlies-3-9-2025'],['New Orleans Pelicans vs. Los Angeles Clippers','Smoothie King Center','New Orleans, LA','Tuesday','3/11/2025','8:30 PM','6634174','New-Orleans-Pelicans-vs--Los-Angeles-Clippers-3-11-2025'],['New Orleans Pelicans vs. Orlando Magic','Smoothie King Center','New Orleans, LA','Thursday','3/13/2025','7:00 PM','6634197','New-Orleans-Pelicans-vs--Orlando-Magic-3-13-2025'],['San Antonio Spurs vs. New Orleans Pelicans','Frost Bank Center','San Antonio, TX','Saturday','3/15/2025','7:30 PM','6633810','San-Antonio-Spurs-vs--New-Orleans-Pelicans-3-15-2025'],['New Orleans Pelicans vs. Detroit Pistons','Smoothie King Center','New Orleans, LA','Monday','3/17/2025','7:00 PM','6634178','New-Orleans-Pelicans-vs--Detroit-Pistons-3-17-2025'],['Minnesota Timberwolves vs. New Orleans Pelicans','Target Center','Minneapolis, MN','Wednesday','3/19/2025','6:30 PM','6634594','Minnesota-Timberwolves-vs--New-Orleans-Pelicans-3-19-2025'],['Minnesota Timberwolves vs. New Orleans Pelicans','Target Center','Minneapolis, MN','Friday','3/21/2025','7:00 PM','6634598','Minnesota-Timberwolves-vs--New-Orleans-Pelicans-3-21-2025'],['Detroit Pistons vs. New Orleans Pelicans','Little Caesars Arena','Detroit, MI','Sunday','3/23/2025','3:00 PM','6633776','Detroit-Pistons-vs--New-Orleans-Pelicans-3-23-2025'],['New Orleans Pelicans vs. Philadelphia 76ers','Smoothie King Center','New Orleans, LA','Monday','3/24/2025','7:00 PM','6634185','New-Orleans-Pelicans-vs--Philadelphia-76ers-3-24-2025'],['New Orleans Pelicans vs. Golden State Warriors','Smoothie King Center','New Orleans, LA','Friday','3/28/2025','7:00 PM','6634189','New-Orleans-Pelicans-vs--Golden-State-Warriors-3-28-2025'],['New Orleans Pelicans vs. Charlotte Hornets','Smoothie King Center','New Orleans, LA','Sunday','3/30/2025','6:00 PM','6634192','New-Orleans-Pelicans-vs--Charlotte-Hornets-3-30-2025'],['Los Angeles Clippers vs. New Orleans Pelicans','Intuit Dome','Inglewood, CA','Wednesday','4/2/2025','7:00 PM','6634442','Los-Angeles-Clippers-vs--New-Orleans-Pelicans-4-2-2025'],['Los Angeles Lakers vs. New Orleans Pelicans','Crypto.com Arena','Los Angeles, CA','Friday','4/4/2025','7:30 PM','6634701','Los-Angeles-Lakers-vs--New-Orleans-Pelicans-4-4-2025'],['New Orleans Pelicans vs. Milwaukee Bucks','Smoothie King Center','New Orleans, LA','Sunday','4/6/2025','7:30 PM','6634141','New-Orleans-Pelicans-vs--Milwaukee-Bucks-4-6-2025'],['Brooklyn Nets vs. New Orleans Pelicans','Barclays Center','Brooklyn, NY','Tuesday','4/8/2025','7:30 PM','6634312','Brooklyn-Nets-vs--New-Orleans-Pelicans-4-8-2025'],['Milwaukee Bucks vs. New Orleans Pelicans','Fiserv Forum','Milwaukee, WI','Thursday','4/10/2025','7:00 PM','6633898','Milwaukee-Bucks-vs--New-Orleans-Pelicans-4-10-2025'],['New Orleans Pelicans vs. Miami Heat','Smoothie King Center','New Orleans, LA','Friday','4/11/2025','7:00 PM','6634203','New-Orleans-Pelicans-vs--Miami-Heat-4-11-2025'],['New Orleans Pelicans vs. Oklahoma City Thunder','Smoothie King Center','New Orleans, LA','Sunday','4/13/2025','2:30 PM','6634208','New-Orleans-Pelicans-vs--Oklahoma-City-Thunder-4-13-2025']],'','https://www.ticketnetwork.com');