|
|
2710-2
Product Options
| |
|
Med Box style with lift-out tray. 2 compartments. Colors - Grey and Orange.
2 compartments, color - grey, orange
var overlay = null;
var prm = Sys.WebForms.PageRequestManager.getInstance();
prm.add_pageLoaded(PageLoaded);
prm.add_initializeRequest(InitializeRequest);
function PageLoaded(sender, args) {
prm._postBackControlClientIDs[prm._postBackControlClientIDs.length] = "ctl00_pageContent_addToCart";
}
function InitializeRequest(sender, args) {
var productDetail = document.getElementById("product-detail-div");
if (productDetail != null) {
if (overlay == null) {
overlay = document.createElement("div");
overlay.id = "product-detail-overlay";
overlay.setAttribute("class", "updateProgress");
}
var width = 0;
var height = 0;
if (productDetail.currentStyle) {
var paddingLeft = productDetail.currentStyle.paddingLeft.replace(/px,*\)*/g, "");
var paddingTop = productDetail.currentStyle.paddingTop.replace(/px,*\)*/g, "");
width = (productDetail.offsetWidth - paddingLeft - 1) + "px";
height = (productDetail.offsetHeight - paddingTop - 1) + "px";
}
else if (document.defaultView) {
width = document.defaultView.getComputedStyle(productDetail, '').getPropertyValue("width");
height = document.defaultView.getComputedStyle(productDetail, '').getPropertyValue("height");
}
if (width != 0 && height != 0) {
overlay.style.width = width;
overlay.style.height = height;
overlay.style.top = "-" + overlay.style.height;
productDetail.style.width = width;
productDetail.style.height = height;
productDetail.appendChild(overlay);
}
}
}
| | |
|
There are no mailing lists at this time.
| |
| | |
|
|
|
| Powered by nsCommerceSpace by Network Solutions |
| |