//
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 + "" +
"![](//s3.amazonaws.com/TNService/pl-widget/images/arrow.png) |
";
},
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([['Drake White','Tannahill's Tavern and Music Hall','Fort Worth, TX','Saturday','9/7/2024','8:00 PM','6461631','Drake-White-9-7-2024'],['Drake White','Manchester Music Hall','Lexington, KY','Friday','9/13/2024','8:00 PM','6001874','Drake-White-9-13-2024'],['Drake White','Forum River Center Arena','Rome, GA','Thursday','9/26/2024','8:00 PM','6557113','Drake-White-9-26-2024'],['Drake White','Wild Greg's Saloon - Pensacola','Pensacola, FL','Friday','9/27/2024','7:00 PM','6630762','Drake-White-9-27-2024'],['Drake White','Wild Greg's Saloon - Lakeland','Lakeland, FL','Saturday','9/28/2024','7:00 PM','6630763','Drake-White-9-28-2024'],['Drake White','State Theatre Greenville','Greenville, NC','Thursday','10/3/2024','8:00 PM','6627987','Drake-White-10-3-2024'],['Drake White','Beacon Theatre - VA','Hopewell, VA','Friday','10/4/2024','7:30 PM','6627988','Drake-White-10-4-2024'],['Drake White','House Of Blues - Myrtle Beach','North Myrtle Beach, SC','Saturday','10/5/2024','8:00 PM','6627989','Drake-White-10-5-2024'],['Drake White','The Windjammer - Isle of Palms','Isle Of Palms, SC','Thursday','10/24/2024','6:00 PM','6627990','Drake-White-10-24-2024'],['Drake White','Hargray Capitol Theatre','Macon, GA','Friday','10/25/2024','8:00 PM','6627991','Drake-White-10-25-2024']],'"Drake White"','https://www.ticketnetwork.com');