Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var rightSideHeight;
- var optionsHeight;
- $(".quickViewContent .selectboxit-container").live("click", function() {
- rightSideHeight = $(".quickViewPopup .product-details-page .overview").height();
- optionsHeight = $(this).find(".selectboxit-options").height();
- var newHeight = rightSideHeight + optionsHeight;
- $(".quickViewPopup.active .quickViewContent").css("height", newHeight + "px");
- });
- $("#product_childattribute_size_@(Model.Id)").bind({
- "close": function (ev, obj) {
- console.log("rightSideHeight = " + rightSideHeight);
- $(".quickViewContent").removeAttr("style").css("height", rightSideHeight + "px");
- //$(".quickViewContent").get(0).style.setProperty('height', rightSideHeight + 'px');
- }
- });
Add Comment
Please, Sign In to add comment