-1) {
var s = strcode.indexOf("", e);
// Add to scripts array
scripts.push(strcode.substring(s_e+1, e));
// Strip from strcode
strcode = strcode.substring(0, s) + strcode.substring(e_e+1);
}
// Loop through every script collected and eval it
for(var i=0; i 0) ||
(navigator.msMaxTouchPoints > 0)) {
var $tooltips = jQuery("div.addToQuoteCart svg:not(.tooltipready)");
jQuery($tooltips).each(function(){
jQuery(this).addClass("tooltipready");
jQuery(this).tooltip({
position: {
using: function(position, feedback) {
console.log(feedback);
jQuery(this).css(position);
jQuery(this).addClass(feedback.vertical);
}
}
});
});
}
});
return;
};
function activatePopup() {
jQuery(document).ready(function(){
var $products = jQuery(".ui-button-enquire:not(.popupready)");
jQuery($products).each(function(){
jQuery(this).addClass("popupready");
jQuery(this).click(function(event){
event.preventDefault();
jQuery(this).blur();
jQuery("#gfoverlay").fadeIn();
var pid = jQuery(this).attr("data-pid");
var gid = jQuery(this).attr("data-gid");
console.log([pid,gid]);
jQuery.ajax({
url: 'https://auroraofficefurniture.com.au/wp-admin/admin-ajax.php',
type:"post",
data : {action: "getGF", pid : pid, gid:gid},
success: function(data) {
jQuery("#gfoverlay").fadeOut();
parseScript(data);
data = jQuery(data).not(".gfield_label");
jQuery(data).find("form").attr('action', '/#gf_'+gid);
jQuery("#dialog-form"+pid).html(data).dialog({
modal:true,
width: "60%",
resizable: false,
draggable: false,
closeOnEscape: true,
open: function() {
jQuery('.ui-widget-overlay').addClass('custom-overlay');
}
}).dialog('open');
}
});
});
});
});
};
activateTooltip();
activatePopup();
function mutate(mutations) {
mutations.forEach(function(mutation) {
console.log(mutation.type);
activatePopup();
});
}
var target = document.getElementById("woo-grid");
var observer = new MutationObserver( mutate );
var config = { characterData: false, attributes: false, childList: true, subtree: false };
observer.observe(target, config);
News, Design, Style, Tips
Level 2, 14 Moore Street
Read more
News, Design, Style, Tips
14 Moore Street, Level 6
Read more
News, Design, Style, Tips
12 Moore Street, Level 6
Read more
News, Design, Style, Tips
Better Building Project
Read more
News, Design, Style, Tips
Level 5, 14 Moore Street
Read more
News, Design, Style, Tips
Level 3, 17 Moore Street
Read more
News, Design, Style, Tips
Level 4, 17 Moore Street
Read more
News, Design, Style, Tips
ACT Government – CAHMS
Read more
News, Design, Style, Tips
Elrington Lawyers
Read more
News, Design, Style, Tips
ANU Canberra Project
Read more
News, Design, Style, Tips
Arboretum Project
Read more
News, Design, Style, Tips
FARE Project
Read more