Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

Tue Nov 26
Wed Nov 27
Thu Nov 28
Fri Nov 29
Sat Nov 30
Sun Dec 01
Mon Dec 02

CLOSED FOR 2024 SEASON

Read More
'); if ($('div[name^="course-"]').length == 0) { if (isShowDeal) { $(".teeSheet").children().remove(); $(".teeSheet").append('
'); } else { $(".teeSheet").children().remove(); $(".teeSheet").append('
'); } } else $("#noSpecialsMessage").remove(); } function clearSelectdGroup(elm) { $(elm).each(function () { $(elm).removeClass("btn-primary RadioButtonColor"); $(elm).addClass("btn-default"); }); } function CloseCollapse(elm) { $(elm).parents('.collapse').collapse('toggle'); } function removeLinkLoad() { $('a.teetime').click(function(e) { e.preventDefault(); }); } function SetNoTeetimeText() { var isShowDeal = $("#btnDeal").data("val"); var noSpecialsMessage = 'There are no Specials available at this time.'; var noTeeTime = $('div[name^="course-"]').parent().length - $('div[name^="course-"]').parent('.hidden').length; if (noTeeTime <= 0) { $('div[name^="course-"]').parent().parent().append('
'); if ($('div[name^="course-"]').length == 0) { if (isShowDeal) { $(".teeSheet").children().remove(); $(".teeSheet").append('
'); } else { $(".teeSheet").children().remove(); $(".teeSheet").append($("#hideNoTeeTimesText").clone().removeClass("hidden")); } } } else { $("#noSpecialsMessage").remove(); $("#noTeeTimesText").remove(); } } $(document).ready(function () { $("#StartTimeDropDownSmall").on("change", function () { $("#HdTabbedViewStartTime").val($(this).val()); }); $("#btnDeal").click( function () { FilterTeeSheetByDeal(); }); SetNoTeetimeText(); $('.select-course-box').delegate('li', 'click', function () { ClearCourseSelectionSmallView(); $(this).addClass("selected RadioButtonColor"); var courseId = $(this).data("val"); $('div[name^="course-"]').addClass("hidden"); $('div[name^="course-"]').parent().css("padding", "0"); if (courseId > 0) { $('div[name="course-' + courseId + '"]').removeClass("hidden"); $('div[name="course-' + courseId + '"]').parent().css("padding", "5px"); } else { $('div[name^="course-"]').removeClass("hidden"); $('div[name^="course-"]').parent().css("padding", "5px"); } var noTeeTimeByCourseId = $('div[name="course-' + courseId + '"]').parent().length; //var noTeeTimesText = 'No tee times available, please try different criteria.'; var noSpecialsMessage = 'There are no Specials available at this time.'; var noTeeTime = $('div[name^="course-"]').parent().length - $('div[name^="course-"]').parent('.hidden').length; if (noTeeTime <= 0 || (noTeeTimeByCourseId <= 0 && courseId > 0)) { $('div[name^="course-"]').parent().parent().append('
'); if ($('div[name^="course-"]').length == 0) { if (isShowDeal) { //$(".teeSheet").children().remove(); //$(".teeSheet").append('
'); // ORV4-130874 - Responsive View: Navigation buttons missing and day of week buttons broken - Meee 14 Mar 2016 $(".teeSheet").children().remove().append('
'); $("#noTeeTimesText").append($("#hideNoTeeTimesText").clone().removeClass("hidden")); } else { $(".teeSheet").children().remove(); $(".teeSheet").append('
'); } } } else { $("#noSpecialsMessage").remove(); $("#noTeeTimesText").remove(); } // ORV4-137461 - Online Reservation Responsive Changes - Ticket 2 (Meee, 25 May 2016) $("#SelectedCourseBox").collapse('hide'); }); // show deal / course button $("#btnDeal").removeClass("hidden"); //ORV4-185766 Course selection button for online res should show all the time (Meee, 22 Dec 2017) $("#btnCourse").removeClass("hidden"); $("#btnCourseLarge").removeClass("hidden"); $("#SearchNavbarSmall").removeClass("hidden"); $("#SignInNavbarSmall").removeClass("hidden"); $("#SignInNavbarLarge").removeClass("hidden"); $("#SignInNavbarLargeSearch").removeClass("hidden"); // Fai 2 May 2019 RES-243553 Can't View Tee Times on Last Day Until Advanced Booking Rules Let Player Book // // Based on settings, users should be able to view tee times global limit search days in advance, but only book x days in advance var endDay = parseInt('7'); var endDayTxt = ''; if (endDay > 0) { endDayTxt = '+' + endDay + 'd'; } $('#btnCalendar').attr('data-date', '11/26/2024'); var lang = 'iv'; $('#btnCalendar').datepicker( { autoclose: true, container: '#btnCalendar', orientation: "bottom auto", todayHighlight: true, startDate: '0d', endDate: endDayTxt, todayBtn: "linked", closeBtn: true, language: lang }); $('#btnCalendar').removeClass('hidden'); $('#btnCalendar').on('changeDate', function (ev) { // ORV4-141186 - Responsive View not working in iframe - Add Loading when load (Meee, 27 July 2016) Loading('Loading'); if (inIframe() && iOS()) { $(".ui-ios-overlay").css("top", "200px"); } var startDate = new Date(ev.date); var startDateFormat = (startDate.getMonth() + 1) + '/' + startDate.getDate() + '/' + startDate.getFullYear(); $("#hdFromDate").val(startDateFormat); $("#FormId").submit(); }); // RESV3-164987 Issue with online res Course drop down button (Meee, 4 May 2017) var isEnableFiltering = 'False' == 'True'; // Fai 2 Mar 2016 ORV4-128871 - Search field changes if ('False' == 'False') { $("#ddlCourse").multiselect({ onChange: function (element, checked) { if (element != null && element != "undefined") { $("#Small_Course_" + element.val() + "_Selected").val(checked); $("#Large_Course_" + element.val() + "_Selected").val(checked); var groupBookingCourse = $("#Course_" + element.val() + "_Selected"); if (groupBookingCourse !== null) { groupBookingCourse.val(checked); } } else { $('[id ^=Small_Course_][id $=_Selected]').each( function () { $(this).val(checked); }); $('[id ^=Large_Course_][id $=_Selected]').each( function () { $(this).val(checked); }); $('[id ^=Course_][id $=_Selected]').each(function () { $(this).val(checked); }); } var course = $('#ddlCourse option:selected'); var selected = []; $(course).each(function(index, brand){ selected.push([$(this).val()]); }); // Set the value $("#ddlCourseLarge").val(selected); // Then refresh $("#ddlCourseLarge").multiselect("refresh"); }, includeSelectAllOption: true, buttonClass: 'form-control', enableFiltering: isEnableFiltering, enableCaseInsensitiveFiltering: isEnableFiltering, maxHeight: 500 }); $("#ddlCourseLarge").multiselect({ onChange: function (element, checked) { if (element != null && element != "undefined") { $("#Small_Course_" + element.val() + "_Selected").val(checked); $("#Large_Course_" + element.val() + "_Selected").val(checked); var groupBookingCourse = $("#Course_" + element.val() + "_Selected"); if (groupBookingCourse !== null) { groupBookingCourse.val(checked); } } else { $('[id ^=Small_Course_][id $=_Selected]').each( function () { $(this).val(checked); }); $('[id ^=Large_Course_][id $=_Selected]').each( function () { $(this).val(checked); }); $('[id ^=Course_][id $=_Selected]').each(function () { $(this).val(checked); }); } var course = $('#ddlCourseLarge option:selected'); var selected = []; $(course).each(function(index, brand){ selected.push([$(this).val()]); }); // Set the value $("#ddlCourse").val(selected); // Then refresh $("#ddlCourse").multiselect("refresh"); }, includeSelectAllOption: true, buttonClass: 'form-control', enableFiltering: isEnableFiltering, enableCaseInsensitiveFiltering: isEnableFiltering, maxHeight: 500 }); } else{ $("#ddlCourse").change( function(){ $("#idSelectedCourseId").val($("#ddlCourse").val()); $("#ddlCourseLarge").val($(this).val()); }); $("#ddlCourseLarge").change( function(){ $("#idSelectedCourseId").val($("#ddlCourseLarge").val()); $("#ddlCourse").val($(this).val()); }); } $("#PlayerNumberSmall").change( function(){ $("#SelectedPlayer").val($("#PlayerNumberSmall").val()); $("#PlayerNumberLarge").val($(this).val()); }); $("#PlayerNumberLarge").change( function(){ $("#SelectedPlayer").val($("#PlayerNumberLarge").val()); $("#PlayerNumberSmall").val($(this).val()); }); var courseSelectArr = '1'; var courseArray = courseSelectArr.split(","); // Fai 2 Mar 2016 ORV4-128871 - Search field changes if ('False' == 'False') { $("#ddlCourseLarge").val(courseArray); $("#ddlCourseLarge").multiselect("refresh"); $("#ddlCourse").val(courseArray); $("#ddlCourse").multiselect("refresh"); } else{ $("#ddlCourseLarge").val('0'); $("#ddlCourse").val('0'); } var lang = 'iv'; $("#fromDate").datepicker( { autoclose: true, container: '#fromDate', orientation: "bottom auto", todayHighlight: true, startDate: '0d', endDate: endDayTxt, todayBtn: "linked", closeBtn: true, language: lang }); $('#fromDate').datepicker().on('show', function (ev) { $('.datepicker').css('width', '215px'); $('.datepicker').css('left', '0'); }); $('#fromDate').datepicker().on('changeDate', function (ev) { var searchDate = new Date(ev.date); var searchDateFormated = (searchDate.getMonth() + 1) + '/' + searchDate.getDate() + '/' + searchDate.getFullYear(); $("#hdFromDate").val(searchDateFormated); //$("#hdFromDate").val($("#txtFromDate").val()); if ($("#txtFromDateLarge").val() != $("#txtFromDate").val()) { $('#fromDateLarge').datepicker('setDate', $(this).datepicker("getDate")); } }); var lang = 'iv'; $("#fromDateLarge").datepicker( { autoclose: true, container: '#fromDateLarge', orientation: "bottom auto", todayHighlight: true, startDate: '0d', endDate: endDayTxt, todayBtn: "linked", closeBtn: true, language: lang }); $('#fromDateLarge').datepicker().on('changeDate', function (ev) { $("#hdFromDate").val($("#txtFromDateLarge").val()); if ($("#txtFromDateLarge").val() != $("#txtFromDate").val()) { $('#fromDate').datepicker('setDate', $(this).datepicker("getDate")); } }); $("#fromDateSmall").datepicker( { autoclose: true, container: '#fromDateSmall', orientation: "bottom auto", todayHighlight: true, startDate: '0d', endDate: endDayTxt, todayBtn: "linked", closeBtn: true, language: lang }); $('#fromDateSmall').datepicker().on('show', function (ev) { $('.datepicker').css('width', '240px'); $('.datepicker').css('left', '0'); }); $('#fromDateSmall').datepicker().on('changeDate', function (ev) { $("#hdFromDate").val($("#txtFromDateSmall").val()); }); var SelectedPlayer = $("#SelectedPlayer").val(); var SelectedHole = $("#SelectedHole").val(); var SearchOption = $("#SearchOption").val(); // Fai 2 Mar 2016 ORV4-128871 - Search field changes //if ('False' == 'False') { $("#playerNumberGroup button").each(function () { var value = $(this).data("value"); if (value == SelectedPlayer) { $(this).addClass("btn-primary RadioButtonColor"); $(this).removeClass("btn-default"); } }); $("#playerNumberGroup button").click(function () { var value = $(this).data("value"); $("#SelectedPlayer").val(value); clearSelectdGroup($("#playerNumberGroup button")); $(this).addClass("btn-primary RadioButtonColor"); $(this).removeClass("btn-default"); clearSelectdGroup($("#playerNumberGroup a")); $("#playerNumberGroup a").each(function () { if ($(this).data("value") == value) { $(this).addClass("btn-primary RadioButtonColor"); $(this).removeClass("btn-default"); } }); }); $("#playerNumberGroup a").each(function () { var value = $(this).data("value"); if (value == SelectedPlayer) { $(this).addClass("btn-primary RadioButtonColor"); $(this).removeClass("btn-default"); } }); $("#playerNumberGroup a").click(function () { var value = $(this).data("value"); $("#SelectedPlayer").val(value); clearSelectdGroup($("#playerNumberGroup a")); $(this).addClass("btn-primary RadioButtonColor"); $(this).removeClass("btn-default"); clearSelectdGroup($("#playerNumberGroup button")); $("#playerNumberGroup button").each(function () { if ($(this).data("value") == value) { $(this).addClass("btn-primary RadioButtonColor"); $(this).removeClass("btn-default"); } }); }); //} $("#holeNumberGroup button").each(function () { var value = $(this).data("value"); if (value == SelectedHole) { $(this).addClass("btn-primary RadioButtonColor"); $(this).removeClass("btn-default"); } }); $("#holeNumberGroup button").click(function () { var value = $(this).data("value"); $("#SelectedHole").val(value); clearSelectdGroup($("#holeNumberGroup button")); $(this).addClass("btn-primary RadioButtonColor"); $(this).removeClass("btn-default"); clearSelectdGroup($("#holeNumberGroup a")); $("#holeNumberGroup a").each(function () { if ($(this).data("value") == value) { $(this).addClass("btn-primary RadioButtonColor"); $(this).removeClass("btn-default"); } }); }); $("#holeNumberGroup a").each(function () { var value = $(this).data("value"); if (value == SelectedHole) { $(this).addClass("btn-primary RadioButtonColor"); $(this).removeClass("btn-default"); } }); $("#holeNumberGroup a").click(function () { var value = $(this).data("value"); $("#SelectedHole").val(value); clearSelectdGroup($("#holeNumberGroup a")); $(this).addClass("btn-primary RadioButtonColor"); $(this).removeClass("btn-default"); clearSelectdGroup($("#holeNumberGroup a")); $("#holeNumberGroup a").each(function () { if ($(this).data("value") == value) { $(this).addClass("btn-primary RadioButtonColor"); $(this).removeClass("btn-default"); } });clearSelectdGroup($("#holeNumberGroup button")); $("#holeNumberGroup button").each(function () { if ($(this).data("value") == value) { $(this).addClass("btn-primary RadioButtonColor"); $(this).removeClass("btn-default"); } }); }); $("#SearchOptionLarge").on("change", function () { $("#HdSearchOption").val($(this).val()); $("#SearchOption").val($(this).val()); }); $("#SearchOption").on("change", function () { $("#HdSearchOption").val($(this).val()); $("#SearchOptionLarge").val($(this).val()); }); $("#StartTimeDropDownLarge").on("change", function () { $("#HdTabbedViewStartTime").val($(this).val()); $("#StartTimeDropDown").val($(this).val()); }); $("#StartTimeDropDown").on("change", function () { $("#HdTabbedViewStartTime").val($(this).val()); $("#StartTimeDropDown").val($(this).val()); }); $('input[type="submit"], button[type="submit"]').click(function() { // ORV4-141186 - Responsive View not working in iframe - Add Loading when load (Meee, 27 July 2016) Loading('Loading'); if (inIframe() && iOS()) { $(".ui-ios-overlay").css("top", "200px"); } if ($(this).hasClass("pull-right")) { var course = $("#ddlCourse").val(); if (course == null) { bootbox.alert('Please Select a Course from the Dropdown') RemoveLoading(); return false; } } else if ($(this).hasClass("pull-left")) { var course = $("#ddlCourseLarge").val(); if (course == null) { bootbox.alert('Please Select a Course from the Dropdown') RemoveLoading(); return false; } } // SUPPORT-135783 - coupon online doesn't work in responsive view on 3.60 or 3.56 (Meee, 6 May 2016) SetCouponCode(); }); $("#sortTeeTimeGroup button").each(function () { var value = $(this).data("value"); var order = 0; if (SearchOption == "ReorderByPrice") { order = 3; } else if (SearchOption == "ReorderByTime") { order = 2; } else if (SearchOption == "ReorderByCourse") { order = 4; } else if (SearchOption == "ReorderBySpecial") { order = 9; } if (value == order) { $(this).addClass("btn-primary"); $(this).removeClass("btn-default"); } }); $("#sortTeeTimeGroup button").click(function () { var value = $(this).data("value"); $("#SearchOption").val(value); clearSelectdGroup($("#sortTeeTimeGroup button")); $(this).addClass("btn-primary"); $(this).removeClass("btn-default"); $("#FormId").submit(); }); $("#sortTeeTimeGroup input").each(function () { var value = this.value; var order = 0; if (SearchOption == "ReorderByPrice") { order = 3; } else if (SearchOption == "ReorderByTime") { order = 2; } else if (SearchOption == "ReorderByCourse") { order = 4; } else if (SearchOption == "ReorderBySpecial") { order = 9; } if (value == order) { var parent = $(this).parent(); parent.addClass("btn-primary"); parent.removeClass("btn-default"); } }); $('input[type=radio][name=sorts]').change(function() { var value = this.value; $("#SearchOption").val(value); var parent = $(this).parent(); clearSelectdGroup("#sortTeeTimeGroup label"); parent.addClass("btn-primary"); parent.removeClass("btn-default"); $("#FormId").submit(); }); (function($, document, window, viewport){ var divBoxText = function () { if ( viewport.is(">=sm") ) { $('.divBoxText').addClass("text-center"); //$(".tabDay").trigger('detach.ScrollToFixed'); //$(".tabDay").scrollToFixed({ marginTop: $(".navbar-fixed-top").outerHeight(true) }); //$("#bodyContent").removeClass("HeaderFooterColor"); $('div[name^="course-"]').removeClass("hidden"); $('div[name^="course-"]').parent().css("padding", "5px"); $("#SelectedCourseBox").collapse('hide'); ClearCourseSelectionSmallView(); ClearCourseSelection(); SetSelectedCourseView(); //console.log($("#largeCourse").val()); //$("#largeCourse li:first").addClass("selected RadioButtonColor"); //$('.select-course-box li:first').addClass("selected RadioButtonColor"); } if ( viewport.is("=sm")) { if ($("#SearchBox").hasClass("in")) { $("#SearchBox").collapse("hide"); $("#SearchBoxLarge").collapse("show"); //$(".SearchFieldColor").scrollToFixed({ marginTop: $(".navbar-fixed-top ").outerHeight(true) + margin, zIndex: 1001 }); } } if (viewport.is("sm")) { $("#btnShowMoreTimes").addClass("hidden"); } else { ShowMoreTimeBtn(); } } }); $(window).resize( viewport.changed(function(){ //location.reload(); if (!inIframe() || !iOS()) { //divBoxText(); CollapseBox(); } // Fai 9 Jan 2019 Premier-230423 Show More Times button does not load more times after waiting a while to click it if ('False' == 'True') { if (viewport.is(">sm")) { $("#btnShowMoreTimes").addClass("hidden"); } else { ShowMoreTimeBtn(); } } }) ); })(jQuery, document, window, ResponsiveBootstrapToolkit); $('.teetime').click(function () { var elm = $(this); var teesheetId = elm.data('teesheetid'); var hole = elm.data('hole'); var player = elm.data('player'); var link = '/FinkbineV3/(S(mltcrnp1cn1cxkdtuha4wxnq))/Home/nIndex/' + '?TeesheetId=' + teesheetId + '&Hole=' + hole + '&Player=' + player; //window.location = link; return false; }); $('.carousel').each(function() { if($(this).find('.carousel-inner .item').length > 1){ $(this).carousel({interval: 10000}) .hover( function () {$(this).carousel('pause')}, function () {$(this).carousel('cycle')}); } else{ $(this).find('.carousel-control').hide(); } }); }); $(document).on('mouseenter', ".ellipsis", function () { var $this = $(this); if (this.offsetWidth < this.scrollWidth && !$this.attr('title') && $this.parent().attr("class") != "todayNotes") { $this.tooltip({ title: $this.text(), placement: "bottom" }); $this.tooltip('show'); } }); $(document).on('mouseenter', ".block-text", function () { var $this = $(this); if (this.offsetWidth < this.scrollWidth && !$this.attr('title')) { $this.tooltip({ title: $this.text(), placement: "bottom" }); $this.tooltip('show'); } }); $(document).on("click", ".todayNotes a", function () { bootbox.alert({ message: "

" + $(this).parent().find("h3").text() + "

", buttons: { ok: { label: 'OK', className: 'btn btn-primary MainNavigationColor MainNavigationFontColor' } } }); });