total = adult_total;
ticket_total.text("$" + total);
});
+
kids.on('change', function(){
var kid_total = 0;
kid_total = parseInt($(this).val()) * 13;
total += kid_total;
ticket_total.text("$" + total);
});
+
kids_5.on('change', function(){
var kid_5_total = parseInt($(this).val()) * 0;
total = kid_5_total;
ticket_total.text("$" + total);
});
+
bikes.on('change', function(){
var bike_total = parseInt($(this).val()) * 10;
total = bike_total;
var address = $(this).children('.address_1_street').text().replace(/ /g,'') + $(this).children(".address_1_region").text().replace(/ /g,'');
window.open('https://maps.google.com/?q=' + address, '_blank');
});
+
address_2.on("click", function(){
var address = $(this).children('.address_2_street').text().replace(/ /g,'') + $(this).children(".address_2_region").text().replace(/ /g,'');
window.open('https://maps.google.com/?q=' + address, '_blank');
});
+
oc_menu_items.each(function(index, value) {
var title = $(this).children('a').text();
- if( title === 'Buy Tickets' || title === 'Schedules'){
+ if( title === 'Schedules'){
$(this).remove();
}
});
total = adult_total;
ticket_total.text("$" + total);
});
+
kids.on('change', function(){
var kid_total = 0;
kid_total = parseInt($(this).val()) * 13;
total += kid_total;
ticket_total.text("$" + total);
});
+
kids_5.on('change', function(){
var kid_5_total = parseInt($(this).val()) * 0;
total = kid_5_total;
ticket_total.text("$" + total);
});
+
bikes.on('change', function(){
var bike_total = parseInt($(this).val()) * 10;
total = bike_total;
var address = $(this).children('.address_1_street').text().replace(/ /g,'') + $(this).children(".address_1_region").text().replace(/ /g,'');
window.open('https://maps.google.com/?q=' + address, '_blank');
});
+
address_2.on("click", function(){
var address = $(this).children('.address_2_street').text().replace(/ /g,'') + $(this).children(".address_2_region").text().replace(/ /g,'');
window.open('https://maps.google.com/?q=' + address, '_blank');
});
+
oc_menu_items.each(function(index, value) {
var title = $(this).children('a').text();
- if( title === 'Buy Tickets' || title === 'Schedules'){
+ if( title === 'Schedules'){
$(this).remove();
}
});