//
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-02B
TN_Widget.AddCss('//s3.amazonaws.com/TNService/pl-widget/styles/tnpl-results-widget.css');
TN_Widget.CreateTable([['Dallas Cowboys vs. New York Giants (Date: TBD)','AT&T Stadium','Arlington, TX','Tuesday','7/2/2024','TBD','6349866','Dallas-Cowboys-vs--New-York-Giants--Date--TBD--7-2-2024'],['Washington Commanders vs. New York Giants (Date: TBD)','Commanders Field','Landover, MD','Wednesday','7/3/2024','TBD','6349901','Washington-Commanders-vs--New-York-Giants--Date--TBD--7-3-2024'],['Philadelphia Eagles vs. New York Giants (Date: TBD)','Lincoln Financial Field','Philadelphia, PA','Wednesday','7/3/2024','TBD','6349842','Philadelphia-Eagles-vs--New-York-Giants--Date--TBD--7-3-2024'],['Atlanta Falcons vs. New York Giants (Date: TBD)','Mercedes-Benz Stadium','Atlanta, GA','Monday','7/8/2024','TBD','6350205','Atlanta-Falcons-vs--New-York-Giants--Date--TBD--7-8-2024'],['Carolina Panthers vs. New York Giants (Date: TBD)','Bank Of America Stadium','Charlotte, NC','Tuesday','7/9/2024','TBD','6350217','Carolina-Panthers-vs--New-York-Giants--Date--TBD--7-9-2024'],['Cleveland Browns vs. New York Giants (Date: TBD)','Cleveland Browns Stadium','Cleveland, OH','Tuesday','7/9/2024','TBD','6350008','Cleveland-Browns-vs--New-York-Giants--Date--TBD--7-9-2024'],['Pittsburgh Steelers vs. New York Giants (Date: TBD)','Acrisure Stadium','Pittsburgh, PA','Tuesday','7/9/2024','TBD','6350023','Pittsburgh-Steelers-vs--New-York-Giants--Date--TBD--7-9-2024'],['Seattle Seahawks vs. New York Giants (Date: TBD)','Lumen Field','Seattle, WA','Thursday','7/11/2024','TBD','6350240','Seattle-Seahawks-vs--New-York-Giants--Date--TBD--7-11-2024'],['New York Giants Preseason Home Game 1 (Date: TBD)','MetLife Stadium','East Rutherford, NJ','Friday','7/12/2024','TBD','6349835','New-York-Giants-Preseason-Home-Game-1--Date--TBD--7-12-2024'],['New York Giants vs. Dallas Cowboys (Date: TBD)','MetLife Stadium','East Rutherford, NJ','Saturday','7/13/2024','TBD','6349837','New-York-Giants-vs--Dallas-Cowboys--Date--TBD--7-13-2024'],['New York Giants vs. Philadelphia Eagles (Date: TBD)','MetLife Stadium','East Rutherford, NJ','Sunday','7/14/2024','TBD','6349838','New-York-Giants-vs--Philadelphia-Eagles--Date--TBD--7-14-2024'],['New York Giants vs. Washington Commanders (Date: TBD)','MetLife Stadium','East Rutherford, NJ','Monday','7/15/2024','TBD','6349839','New-York-Giants-vs--Washington-Commanders--Date--TBD--7-15-2024'],['New York Giants vs. Baltimore Ravens (Date: TBD)','MetLife Stadium','East Rutherford, NJ','Tuesday','7/16/2024','TBD','6349841','New-York-Giants-vs--Baltimore-Ravens--Date--TBD--7-16-2024'],['New York Giants vs. Cincinnati Bengals (Date: TBD)','MetLife Stadium','East Rutherford, NJ','Wednesday','7/17/2024','TBD','6349843','New-York-Giants-vs--Cincinnati-Bengals--Date--TBD--7-17-2024'],['New York Giants vs. New Orleans Saints (Date: TBD)','MetLife Stadium','East Rutherford, NJ','Thursday','7/18/2024','TBD','6349847','New-York-Giants-vs--New-Orleans-Saints--Date--TBD--7-18-2024'],['New York Giants vs. Tampa Bay Buccaneers (Date: TBD)','MetLife Stadium','East Rutherford, NJ','Sunday','7/21/2024','TBD','6349849','New-York-Giants-vs--Tampa-Bay-Buccaneers--Date--TBD--7-21-2024'],['New York Giants vs. Minnesota Vikings (Date: TBD)','MetLife Stadium','East Rutherford, NJ','Monday','7/22/2024','TBD','6349851','New-York-Giants-vs--Minnesota-Vikings--Date--TBD--7-22-2024'],['New York Giants vs. Indianapolis Colts (Date: TBD)','MetLife Stadium','East Rutherford, NJ','Tuesday','7/23/2024','TBD','6349853','New-York-Giants-vs--Indianapolis-Colts--Date--TBD--7-23-2024'],['2024 New York Giants Season Tickets (Includes Tickets To All Regular Season Home Games)','MetLife Stadium','East Rutherford, NJ','Friday','9/6/2024','TBD','6261958','2024-New-York-Giants-Season-Tickets--Includes-Tickets-To-All-Regular-Season-Home-Games--9-6-2024']],'','https://www.ticketnetwork.com');