'); $('.bloomreachWidget').html($('#testdiv').html()); $('#testdiv').html(' '); /* $('.bloomreachWidget .br-related-query-link').each(function(e,value) { var link=$(value).html(); $(value).attr("href","/on/demandware.store/Sites-cpooutlets-Site/default/BR-Search"+"?q="+link); } ); */ $('.bloomreachWidget .br-sf-widget').each(function(key,value){ var pid=$(this).find('.cpo-product-data').html().trim().split(':')[1]; var dataurl="/on/demandware.store/Sites-cpooutlets-Site/default/Product-Show"+"?pid="+pid.trim()+"&source=quickview"; $(this).find('.br-sf-widget-merchant-qv').html('Quickview'); }); var bloo=$(".bloomreachWidget #br-related-searches-widget").html(); if(bloo!=null) { $(".bloomreachWidget #br-related-searches-widget").remove(); $('.bloomreachWidget').append(""); } }); var links = $('.br-sf-widget').find ('a'); var newurls = []; for (var i=0; i < links.length; i++) { links [i].href += "?source=quickview"; newurls.push (links [i].href); links [i].href = ""; var dv = document.createElement ("div"); var txt = document.createTextNode ("Quickview"); /* dv.appendChild (txt); */ $(dv).data ("linkurl", newurls [i]); $(dv).click (function () { $('#libox').load ($(this).data().linkurl); $('#transparentBox').css ('display', 'block'); }); $(links [i]).parent().append (dv); }
CPO Video Library

Space Ventilators