Our oak limed grain angled filler piece enables easy access to doors at the end of cabinet runs. The angled shape allows for easy scribing and securing to your cabinets. Available at a standard height and in a choice of widths to suit your needs.
');
}
}
}
}
if (json['error']['recurring']) {
$('select[name=\'recurring_id\']').after('
' + json['error']['recurring'] + '
');
}
// Highlight any found errors
$('.text-danger').parent().addClass('has-error');
$("#stick-right .has-error").remove();
$("#stick-right").append('
*Please Select Required Options
');
//Scroll to the first element that has the .has-error class
$.scrollStatus = new Object();
$([document.documentElement, document.body]).animate({scrollTop: $("#product .has-error").offset().top - 145}, 1000);
$.scrollStatus.scrolling = true;
//Stop the window from being scrolled; put into function for DRY
function scrollStop(source){
// console.log("scrollStop called from: " + source);
if($.scrollStatus.scrolling){
$([document.documentElement, document.body]).stop(true);
$(window).unbind("mousewheel DOMMouseScroll");
}
}
//Detects if the mouse scroll wheel is being scrolled up or down and then stops the animation from being completed.
$(window).bind('mousewheel DOMMouseScroll', function(event){
if(event.originalEvent.wheelDelta > 0 || event.originalEvent.wheelDelta 0){
scrollStop("scroll");
}
});
//Keydown used as to catch if the arrow keys have been used
$(document).on("keydown", function(e){
scrollStop("keydown");
});
//As of 27/09/18 untested on mobile
$(document).on("tap", function(e){
scrollStop("tap")
});
//As of 27/09/18 untested on mobile
$(document).on("swipe", function(e){
scrollStop("swipe")
});
}
if (json['success']) {
var addedProductAlert = document.querySelector('.alert-update-product');
if (addedProductAlert) {
addedProductAlert.remove();
}
$('#cart > ul .basket-container-inner').load('index.php?route=common/cart/info ul li', function(responseText, textStatus, XMLHttpRequest) {
if (textStatus == 'success') {
function initializeCookie(cookieName, cookieValue, cookieExpiry) {
var newDate = new Date();
newDate.setTime(newDate.getTime() + (cookieExpiry*24*60*60*1000));
var expires = `expires=${newDate.toUTCString()}`;
document.cookie = `${cookieName}=${cookieValue}; ${expires}; path=/`;
}
const basketHighlightTooltips = [
{
id: 'view-basket-proceed',
heading: 'View Basket',
body: 'View basket to proceed to checkout or save a quote.',
},
{
id: 'banner-kitchen-3d-viewer',
heading: 'Naked Kitchens 3D Viewer',
body: 'View your cabinets in our 3D planner',
}
];
// Divs to attach tooltips
const highlightAreas = {
qoute: document.querySelector('#view-basket-proceed'),
banner: document.querySelector('#kitchen-3d-banner-link'),
}
const highlightTooltip = (attachArea, options) => {
var current = 1;
var arrowCloseBool = false;
// create tootlips and attach to elements
const setupDomElement = () => {
for (var i = 0; i