-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
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
News, Design, Style, Tips
GCB Project
Read more
News, Design, Style, Tips
Pambula hospital
Read more
News, Design, Style, Tips
ACT Government – Transact House
Read more
News, Design, Style, Tips
CWP Renewables
Read more
News, Design, Style, Tips
Zapari Group
Read more
News, Design, Style, Tips
Canberra Data Centre
Read more
News, Design, Style, Tips
Nara House
Read more