Home


Affordable Party Tent Rentals | Affordable Party Tent Rentals i&&(t=r=f,l=e),i>f&&f>r&&(r=f,n=e)}),t>r&&(l=n)),f=e.gridheight[l]||e.gridheight[0]||e.gridheight,s=e.gridwidth[l]||e.gridwidth[0]||e.gridwidth,h=i/s,h=h>1?1:h,f=Math.round(h*f),”fullscreen”==e.sliderLayout){var u=(e.c.width(),jQuery(window).height());if(void 0!=e.fullScreenOffsetContainer){var c=e.fullScreenOffsetContainer.split(“,”);if (c) jQuery.each(c,function(e,i){u=jQuery(i).length>0?u-jQuery(i).outerHeight(!0):u}),e.fullScreenOffset.split(“%”).length>1&&void 0!=e.fullScreenOffset&&e.fullScreenOffset.length>0?u-=jQuery(window).height()*parseInt(e.fullScreenOffset,0)/100:void 0!=e.fullScreenOffset&&e.fullScreenOffset.length>0&&(u-=parseInt(e.fullScreenOffset,0))}f=u}else void 0!=e.minHeight&&f

  • Serving St.Charles, IL and Surrounding Communities since 2003

Home admin 2018-03-27T20:36:40+00:00

Need Help Planning Your Party?
Let Our Expert Team Customize The Perfect Package For Your Event.

0) { for (let i of io_divs) { io_divcat.appendChild(i); } io_divcat.style.display = “grid”; } if (ioTrigger) { let pageBlock = document.querySelector(“.io_catdiv2”); pageBlock.classList.add(“elementor-widget-heading”); let scanRes = pageBlock.querySelectorAll(“.io_item2_listrent”); pageBlock.style.display = “block”; pageBlock.style.margin = “auto”; pageBlock.style.textAlign = “center”; pageBlock.style.marginLeft = “5px”; pageBlock.style.marginRight = “5px”; for (let i of scanRes) { i.style.display = “inline-block”; i.style.marginLeft = “5px”; i.style.marginRight = “5px”; } } /* fix font color on older sites */ if(jQuery(“#cartData”).css(“background-color”)==”rgb(35, 36, 37)”){ jQuery(“#cartData”).css(“color”,”white”); } }); ]]> ]]>

Some items are not available on this date.

” }, { attr: “quantity”, label: “Qty” }, { attr: “qtyincrement”, label: false }, { view: “increment”, label: false, text: “” }, { attr: “price”, label: “Price”, view: ‘currency’ }, { view: “remove”, label: false, text: “” }, { attr: “total”, label: “SubTotal”, view: ‘currency’ } ], checkout: { type: “SendForm”, method: “GET”, //url: “//rental.software/quotes/quoteme.php”, url: io_wp_local_path+”/io_quoteform/”, extra_data: { //name: decodeURIComponent(“Affordable Party Tent Rentals”.replace(/[+]/gi, ” “)), clear_rentals: “1”, selected_only: “1”, wp_checkout: “1”, startdate: “”, enddate: “”, starttime: “”, endtime: “” } } }); simpleCart.bind(‘update’, cart_onUpdate); simpleCart.bind(‘beforeCheckout’, cart_beforeCheckout); simpleCart.bind(‘afterAdd’, cart_afterAdd); //showAvail(“”); let io_star_pic = document.querySelector(“#io_star_pic”); if (io_star_pic != null) { let io_star_src = io_star_pic.src; if (io_star_src.indexOf(“0star”) > -1 || io_star_src.indexOf(“1star”) > -1 || io_star_src.indexOf(“2star”) > -1 || io_star_src.indexOf(“3star”) > -1) { io_star_pic.style.display = “none”; } } // Test For Broken Images let img_box = document.querySelectorAll(“.io_image_thumb”); for (let i of img_box) { let io_img_src = i.src; if(io_img_src!==null) io_img_src = io_img_src.toLowerCase(); let io_img_datasrc = i.getAttribute(“data-src”); if(io_img_datasrc===null){ io_img_datasrc = “”; }else{ io_img_datasrc = io_img_datasrc.toLowerCase(); } if ((io_img_src.indexOf(“io_noimage.png”) >= 0 || io_img_datasrc.indexOf(“io_noimage.png”) >= 0) || (io_img_src.indexOf(“.jpg”) == -1 && io_img_src.indexOf(“.jpe”) == -1 && io_img_src.indexOf(“.png”) == -1 && io_img_src.indexOf(“.gif”) == -1 && io_img_src.indexOf(“.tif”) == -1)){ i.style.display = “none”; } } //hide thumb if only 1 let img2 = document.querySelector(“#io_img_thumb2″); if(img2){ if(img2.style.display==”none”){ document.querySelector(“#io_img_thumb1”).style.display = “none”; } } // Add Add To Cart Buttons let button_add = document.querySelector(“#bookNowBtn”); if(jQuery(“.io_acc_accessorydd”).text()==1 && jQuery(“.io_acc_ispackage”).text()!=1){ jQuery(‘.io_acc_h3’).html(“Choose Options”); jQuery(‘.io_acc_h3’).css({“content”:””}); jQuery(‘.io_acc_h3’).addClass(“elementor-button elementor-size-sm elementor-animation-grow io_button”); let access_array = document.querySelectorAll(“.io_acc_li”); let count = 0; for (let i of access_array) { count++; let newButton = button_add.cloneNode(true); newButton.id = button_add.id + count; newButton.classList.remove(“elementor-animation-grow”); newButton.classList.add(“elementor-animation-shrink”); newButton.innerHTML = ‘‘;//remove Add to Cart text newButton.onclick=function(){jQuery(‘.io_acc_li’).hide();} let button_wrap = document.createElement(“div”); button_wrap.classList.add(“elementor-widget-button”); button_wrap.classList.add(“io_access_button”); button_wrap.style.display = “inline-block”; button_wrap.style.margin = “0px”; button_wrap.style.verticalAlign = “top”; button_wrap.style.float = “right”; button_wrap.appendChild(newButton); i.appendChild(button_wrap); } jQuery(‘.io_acc_ul’).css({“list-style”:”none”,”grid-template-columns”:”initial”,”grid-gap”:”0px”}); jQuery(‘.io_acc_li’).css({“list-style”:”none”,”display”:”none”,”padding”:”5px”,”height”:”50px”,”border-radius”:”none”}); jQuery(‘.io_acc_li_img_thumb’).css({“max-height”:”50px”,”float”:”left”,”display”:”inline-block”}); jQuery(‘.io_acc_li_name’).css({“display”:”inline-block”,”vertical-align”:”top”,”padding”:”2px”,”max-width”:”45%”}); jQuery(‘.io_acc_h3’).click( function () { //show submenu if(jQuery(‘.io_acc_li’).css(“display”)==”none”){ jQuery(‘.io_acc_li’).css(“display”,”inline-block”); }else{ jQuery(‘.io_acc_li’).hide(); } }); }else { let access_array = document.querySelectorAll(“.io_acc_li”); let count = 0; for (let i of access_array) { count++; let newButton = button_add.cloneNode(true); newButton.id = button_add.id + count; newButton.classList.remove(“elementor-animation-grow”); newButton.classList.add(“elementor-animation-shrink”); let button_wrap = document.createElement(“div”); button_wrap.classList.add(“elementor-widget-button”); button_wrap.classList.add(“io_access_button”); button_wrap.appendChild(newButton); i.appendChild(button_wrap); } } let upsell_array = document.querySelectorAll(“.io_upsell_li”); count = 0; for (let i of upsell_array) { count++; let newButton = button_add.cloneNode(true); newButton.id = button_add.id + count; newButton.classList.remove(“elementor-animation-grow”); newButton.classList.add(“elementor-animation-shrink”); let button_wrap = document.createElement(“div”); button_wrap.classList.add(“elementor-widget-button”); button_wrap.classList.add(“io_upsell_button”); button_wrap.appendChild(newButton); i.appendChild(button_wrap); } jQuery(“#cartCalendar”).datepicker({ dateFormat: dateFormat, rangeSelect: true, numberOfMonths: 1, stepMonths: 1, prevText: “<>“, speed: “fast”, showOn: “both”, onChangeMonthYear: cal_onChangeMonthYear, onSelect: cal_onSelect, buttonText: “Calendar”, minDate: 0, firstDay: 0 }); jQuery(“.timepicker”).timepicker({ startTime: new Date(0, 0, 0, 0, 0, 0), endTime: new Date(0, 0, 0, 23, 45, 0), /*show24Hours: $show24Hours,*/ timeFormat: timeFormat, separator: “:”, className: “elementor-widget-text-editor”, step: 15, disableTouchKeyboard: true }); //jQuery( “.datepicker” ).datepicker({dateFormat: “m/d/yy”,minDate:0}); //jQuery( “.datepicker” ).val(getCookie(“checkDate”)); jQuery(“input[name=dateStart]”).val(getCookie(“dateStart”)); jQuery(“input[name=dateEnd]”).val(getCookie(“dateEnd”)); jQuery(“input[name=timeStart]”).val(getCookie(“timeStart”)); jQuery(“input[name=timeEnd]”).val(getCookie(“timeEnd”)); if (jQuery(“input[name=dateEnd]”).val() != “”) { setCalBackground(); jQuery(“#cartSubtotal”).html(simpleCart.toCurrency(simpleCart.total())); calCancel(); } if (window.innerWidth > 500) { jQuery(‘a[href*=”http”][rel=img_group]’).fancybox({ “transitionIn”: “none”, “transitionOut”: “none”, “titlePosition”: “over”, “cyclic”: true, helpers: { title: { type: “over” } }, // helpers beforeShow: function () { this.title = (this.title ? “” + this.title + “” : “”) + “Image ” + (this.index + 1) + ” of ” + this.group.length; } }); } else { let imageClick = document.querySelector(“.io_product_picbox a#single_image”); if (imageClick != undefined || imageClick != null) { imageClick.addEventListener(“click”, (e) => { e.preventDefault(); }); } } jQuery(“#io-dialog”).dialog({ autoOpen: false, resizable: false, modal: true, dialogClass: “noTitleStuff”, width: 350, open: function () { jQuery(“.ui-widget-overlay”).bind(“click”, function () { jQuery(“#io-dialog”).dialog(“close”); }) } }); //change jquery calendar next/prev buttons to fa arrows w/matching site color jQuery(“#cartCalendar .ui-datepicker-prev”).addClass(“fas fa-arrow-left”).css(“color”, pallet_color1); jQuery(“#cartCalendar .ui-datepicker-next”).addClass(“fas fa-arrow-right”).css(“color”, pallet_color1); let io_field_valbox = document.querySelector(“.io_product_infobox”); if (io_field_valbox != null || io_field_valbox != undefined) { let io_field_valarr = io_field_valbox.querySelectorAll(“.io_product_detail_box”); for (let i of io_field_valarr) { let check = i.querySelector(“p:nth-child(2)”); if (check != null && check.innerText == “”) i.style.display = “none”; } } //moved to plugin code so it will be on all pages //let headerButton = jQuery(“a[href$=’io_quoteform/’]”); //headerButton.addClass(“simpleCart_checkout”); //headerButton.attr(“href”, “javascript:;”); jQuery(“.cartInfo”).unbind(“click”).one(“click”, function(event){ event.stopPropagation(); event.stopImmediatePropagation(); cartShow(); }); jQuery(“.ioCart”).unbind(“click”).one(“click”, function(event){ event.stopPropagation(); event.stopImmediatePropagation(); cartShow(); }); if(document.querySelector(“.io_product_reviewbox”)!=null){ if (document.querySelector(“.io_product_reviewbox”).innerText == “”) { if(document.querySelector(“.io_star_rating”)!=null) document.querySelector(“.io_star_rating a”).style.display = “none”; } } //hide if click outside cart jQuery(document).mouseup(function(e){ var container = jQuery(“#cartPopover”); var cartButton = jQuery(“.cartInfo, .ioCart”); var addButton = jQuery(“.item_add”); var timePicker = jQuery(“.ui-timepicker-wrapper”); if(jQuery(“.cartInfo, .ioCart”).hasClass(“open”)){ if(!container.is(e.target) && container.has(e.target).length === 0 && !cartButton.is(e.target) && cartButton.has(e.target).length === 0 && !addButton.is(e.target) && addButton.has(e.target).length === 0 && !timePicker.is(e.target) && timePicker.has(e.target).length === 0){ cartHide(); } } }); setTimeout(checkAvailAll,500); }); /*end of on-ready*/ function calApply() { checkAvailAll(); calCancel(); if(!cartStayOpen) cartHide(); } function calCancel() { click_count = 0; jQuery(“input[name=dateStart]”).val(getCookie(“dateStart”)); jQuery(“input[name=dateEnd]”).val(getCookie(“dateEnd”)); jQuery(“input[name=timeStart]”).val(getCookie(“timeStart”)); jQuery(“input[name=timeEnd]”).val(getCookie(“timeEnd”)); setCalBackground(); jQuery(“.ioDateRange”).html(smartFormatDateRange()) jQuery(“#cartCalendar, #cartTimePicker”).hide(); jQuery(“.ioDateRange”).show(); jQuery(“.changeDateLinkWrapper”).show(); } var cartStayOpen = false; function calSetDateRange(stayOpen) { if(stayOpen==1){ cartStayOpen = true; }else{ cartStayOpen = false; } jQuery(“.changeDateLinkWrapper”).hide(); jQuery(“#cartCalendar, #cartTimePicker”).show(); jQuery(“#cartDateRange”).hide(); } function smartFormatDateRange() { let start_date = jQuery(“input[name=dateStart]”).val(); let end_date = jQuery(“input[name=dateEnd]”).val(); let start_time = jQuery(“input[name=timeStart]”).val(); let end_time = jQuery(“input[name=timeEnd]”).val(); let text = “”; text = start_date + ” ” + start_time; text += ” “; if (start_date == end_date) { text += end_time; } else { text += end_date + ” ” + end_time; } //text += ” “; return text; } function resetCalButtons() { jQuery(“#cartCalendar .ui-datepicker-prev”).addClass(“fas fa-arrow-left”).css(“color”, pallet_color1); jQuery(“#cartCalendar .ui-datepicker-next”).addClass(“fas fa-arrow-right”).css(“color”, pallet_color1); } function cart_afterAdd() { checkAvailAll(); if (jQuery(“.cartInfo.open,.ioCart.open”).length == 0) { setTimeout(function () { cartShow(); }, 100); } } function cart_onUpdate() { if(io_checkavail==”off”) return; jQuery(“#cartSubtotal”).html(simpleCart.toCurrency(simpleCart.total())); jQuery(“#cartWarning”).hide(); let hasUnavail = false; simpleCart.each(function (item, x) { let item_id = item.get(“id”); let avail = 0; if (item.get(“availability”) != null) avail = item.get(“availability”).replace(” available”, “”); if (Number(item.get(“quantity”)) > Number(avail)) { //item.set(“availability”,””+item.get(“availability”)+””); setTimeout(function () { jQuery(“#cartItem_” + item_id + ” .item-availability”).css(“color”, “red”) }, 10); jQuery(“#cartWarning”).show(); hasUnavail = true; } else { //item.set(“availability”,item.get(“availability”)); jQuery(“#cartItem_” + item_id + ” .item-availability”).css(“color”, “inherit”); } }); if(hasUnavail && io_checkavail!=”off”){ jQuery(“.simpleCart_checkout”).removeClass(“simpleCart_checkout”).addClass(“simpleCart_checkout_off”).trigger(“classChange”).click(cartShow); }else if(io_checkavail!=”off”){ jQuery(“.simpleCart_checkout_off”).removeClass(“simpleCart_checkout_off”).addClass(“simpleCart_checkout”).trigger(“classChange”); } } function cart_beforeCheckout(data) { data.startdate = jQuery(“input[name=dateStart]”).val(); data.enddate = jQuery(“input[name=dateEnd]”).val(); data.starttime = jQuery(“input[name=timeStart]”).val(); data.endtime = jQuery(“input[name=timeEnd]”).val(); } function cal_onChangeMonthYear(year, month, obj) { setTimeout(resetCalButtons, 10); setTimeout(setCalBackground, 10); } function cal_onSelect(dateText, obj) { setTimeout(resetCalButtons, 10); click_count++; if (click_count == 1) { jQuery(“input[name=dateStart]”).val(dateText); jQuery(“input[name=dateEnd]”).val(dateText); } else if (click_count == 2) { jQuery(“input[name=dateEnd]”).val(dateText); click_count = 0; } else { click_count = 0; } let timeStart = jQuery(“input[name=timeStart]”).val(); if (timeStart == “”) { jQuery(“input[name=timeStart]”).val(start_default); jQuery(“input[name=timeEnd]”).val(end_default); } setTimeout(setCalBackground, 10); } function setCalBackground() { let dateStart_string = jQuery(“input[name=dateStart]”).val(); let dateEnd_string = jQuery(“input[name=dateEnd]”).val(); if (dateFormat == “d/m/yy”) { let dateStartArray = dateStart_string.split(“/”); let dateEndArray = dateEnd_string.split(“/”); var dateStart = new Date(dateStartArray[2], Number(dateStartArray[1])-1, dateStartArray[0]); var dateEnd = new Date(dateEndArray[2], Number(dateEndArray[1])-1, dateEndArray[0]); } else { var dateStart = new Date(dateStart_string); var dateEnd = new Date(dateEnd_string); } let sday = dateStart.getDate(); let smonth = dateStart.getMonth(); let syear = dateStart.getFullYear(); let eday = dateEnd.getDate(); let emonth = dateEnd.getMonth(); let eyear = dateEnd.getFullYear(); //clear any (in case of cancel) jQuery(“.ui-datepicker-calendar [data-handler=selectDay]”).css(“background-color”,”initial”); //set the selected ones jQuery(“#cartCalendar [data-month=” + smonth + “][data-year=” + syear + “], #cartCalendar [data-month=” + emonth + “][data-year=” + eyear + “]”).each(function (i) { let cday = jQuery(this).find(“a”).text(); let cmonth = jQuery(this).attr(“data-month”); let cyear = jQuery(this).attr(“data-year”); //let dateCurrent = new Date(Date.UTC(cyear,cmonth,cday,12)); let dateCurrent = new Date(cyear, cmonth, cday); if (click_count == 1 && dateEnd_string.length == 0) dateEnd = dateStart; if (dateCurrent.getTime() == dateStart.getTime() && dateCurrent.getTime() == dateEnd.getTime()) { jQuery(this).css(“border-radius”, “6px 6px 6px 6px”); } else if (dateCurrent.getTime() == dateStart.getTime()) { jQuery(this).css(“border-radius”, “6px 0 0 6px”); } else if (dateCurrent.getTime() == dateEnd.getTime()) { jQuery(this).css(“border-radius”, “0 6px 6px 0”); } if (dateCurrent >= dateStart && dateCurrent ]]> 0){cart_name = cart_name.substring(i+1)} if (cart_name.toUpperCase() == rental_name.toUpperCase()) { item.set(“availability”, qty + ” available”) } if (rental_name == “price”) { let prices = qty; jQuery.each(prices, function (price_name, amt) { if (cart_name.toUpperCase() == price_name.toUpperCase()) { amt = Number(amt.replace(“,”, “”)); //returned price is per unit //let item_qty = Number(item.get(“quantity”)); item.set(“price”, amt) }; }); } }); }); simpleCart.trigger(“update”); //jQuery(“#avail”).html(output); } function checkAvailCall(rental_names,returnFunc,singleCart) { if(rental_names.replace(/[|]/g,””).length==0){return;} let start_date = jQuery(“input[name=dateStart]”).val(); let end_date = jQuery(“input[name=dateEnd]”).val(); let start_time = jQuery(“input[name=timeStart]”).val(); let end_time = jQuery(“input[name=timeEnd]”).val(); //no past dates if(new Date(start_date + ” ” + start_time) < new Date()) start_date=""; if (start_date.length == 0) { let iod_today = new Date(); let io_dd = iod_today.getDate(); let io_mm = iod_today.getMonth() + 1; let io_yyyy = iod_today.getFullYear(); if (io_dd < 10) { io_dd = "0" + io_dd; } if (io_mm ]]> 0; i -= 1) { rand = Math.floor((i + 1) * Math.random()); temp = data[rand]; data[rand] = data[i]; data[i] = temp; } //let element = document.getElementById(“io_testimonials”); let out = “”; let review_cnt=0; let rating_sum = 0; data.forEach((user) => { const { name, review, rating, time } = user; rating_sum += Number(rating); review_cnt++; let img_star = Math.round(parseFloat(rating)); star = ``; out += `

  • Name : ${name}
  • Rating: ${rating} ${star}
  • Time: ${time}
  • Review: ${review} `; }); let avg = (parseFloat(rating_sum)/parseFloat(review_cnt)).toFixed(1); let avg_img = Math.round(avg); let head = `

    Avg Rating: ${avg}`; element.innerHTML = head + out; return head+out; }).catch(function(err) { console.log(err); }); } ]]>

This includes make eliminates the revolution slider libraries, and make it not work.”; errorMessage += “

To fix it you can:
1. In the Slider Settings -> Troubleshooting set option: Put JS Includes To Body option to true.”; errorMessage += “
2. Find the double jquery.js include and remove it.”; errorMessage = “” + errorMessage + “”; jQuery(sliderID).show().html(errorMessage); } ]]>


Source

Leave a Reply

Your email address will not be published. Required fields are marked *