Playoffs
' } htmlSeriesHub += ''; } htmlSeriesHub += '
  • '; if (gamesJSON[i]["preview"] == "1" || gamesJSON[i]["buylink"] != "NULL") { htmlSeriesHub += ''; // preview is ready or tix available, make title look like a link thisLink = ''; } else htmlSeriesHub += ''; htmlSeriesHub += 'GAME ' + gamesJSON[i]["gameNum"] + ''; if (gamesJSON[i]["necessary"] == "0") htmlSeriesHub += ' (if nec.)'; // add '(if nec.)' next to game number if not necessary yet // if game hasn't finished yet if (gamesJSON[i]["finalScore"] == "NULL") { thisDate = new Date(gamesJSON[i]["jsdate"]) // if game hasn't started yet, put start time and ticket link if applicable if (currentDate TIX'; thisLink = ''; } htmlSeriesHub += '
    ' + gamesJSON[i]["homeAway"] + '
    ' + gamesJSON[i]["monthDay"] + ' - ' + gamesJSON[i]["time"] + '
    '; } else htmlSeriesHub += '
    ' + gamesJSON[i]["homeAway"] + '
    Live!
    '; // else put 'Live!' htmlSeriesHub += '
    ' + gamesJSON[i]["tv"] + '
    ' + gamesJSON[i]["radio"] + '
    '; } else htmlSeriesHub += '
  • ' + gamesJSON[i]["homeAway"] + '
    ' + gamesJSON[i]["finalScore"] + '
    '; // turn li into a link if tickets or gameday is ready if (thisLink != "NULL") htmlSeriesHub += thisLink; htmlSeriesHub += '
    '; thisLink = "NULL"; // reset with every iteration } seriesHubRounds.push(htmlSeriesHub); // push last round in since for loop ends before this could happen $("#series-hub").html(seriesHubRounds[ROUND]); // load latest round by default /* Setup Top Story * Can't use a for() loop, elements are created in a weird order (1,3,2,4) because they are inputted vertically on the page */ htmlTopStory += '
    ' + topStoryJSON[0]["title"] + '
    ' + topStoryJSON[0]["blurb"] + '
    ' + topStoryJSON[2]["title"] + '
    ' + topStoryJSON[2]["blurb"] + '
    ' + topStoryJSON[1]["title"] + '
    ' + topStoryJSON[1]["blurb"] + '
    ' + topStoryJSON[3]["title"] + '
    ' + topStoryJSON[3]["blurb"] + '
    '; $("#top-story-content").html(htmlTopStory); /* Setup Gallery */ for (i=0; i
    ' + galleryJSON[i]["title"] + '
    '; } htmlGallery += ''; $("#photos-slides").html(htmlGallery); $("#photos-slides").slidesjs({ width: 570, height: 300, navigation: { active: false, effect: "fade" }, pagination: { active: false }, play: { active: false, effect: "fade", interval: 5000, auto: true, pauseOnHover: true, restartDelay: 2500 }, effect: { fade: { speed: 350, crossfade: true } } }); } function saveDataWarriorsTV(data) { var videosJSON, videosJSONLength, i, thisTags, thisLink, thisTitle, thisImg; videosJSON = data["list"]["vid"]; videosJSONLength = videosJSON.length; for (i=0; i = videosPlayoffsLength) { upperBound = videosPlayoffsLength; $("#btn-expand-videos").hide(); // hide 'load more' button } for (videosPlayoffsIndex; videosPlayoffsIndex
    ' + videosPlayoffs[videosPlayoffsIndex]["title"] + '
    '; } $("#videos-row").append(htmlVideosRow); } function loadBlogsRow() { var htmlBlogsRow = '', upperBound; upperBound = blogsPlayoffsIndex + 2; if (upperBound >= blogsPlayoffsLength) { upperBound = blogsPlayoffsLength; $("#btn-expand-blogs").hide(); } for (blogsPlayoffsIndex; blogsPlayoffsIndex
    '; } $("#blogs-row").append(htmlBlogsRow); }
    Welcome to #DubNation. We Are Warriors.
    Exclusive Video Coverage
    Inside the Playoffs Blog
    Interviews and Photo Galleries
    !doctype>