Description
- P.when('A','ready').execute(function(A) {
- function setFeatureBulletsExpanderCollapsedHeight() {
- var $ = A.$;
- var PRODUCT_OVERVIEW_V2_FEATURE_MAX_HEIGHT = 540;
- var FEATUREBULLETS_TOP_MARGIN_OFFSET_CORRECTION = 12;
- var EXPANDER_HEADING_HEIGHT = 20;
- var expanderElement = $("#pov2FeatureBulletsExpander");
- if(expanderElement !== null) {
- var productOverviewFeatureElement = $('#productOverview_feature_div');
- var featureBulletsExpanderContent = $('#pov2FeatureBulletsExpanderContent');
- var featureBulletsExpanderHeading = $('#pov2FeatureBulletsExpanderHeading');
- var expanderContentHeight = featureBulletsExpanderContent.height();
- var productOverviewFeatureElementHeight = productOverviewFeatureElement !== null ? productOverviewFeatureElement.height() : 0;
- var expanderCollapsedHeight = Math.min(PRODUCT_OVERVIEW_V2_FEATURE_MAX_HEIGHT - productOverviewFeatureElementHeight - FEATUREBULLETS_TOP_MARGIN_OFFSET_CORRECTION, expanderContentHeight);
- if (expanderContentHeight === expanderCollapsedHeight) {
- featureBulletsExpanderContent.css("padding-bottom", "0px");
- }
- expanderCollapsedHeight = expanderCollapsedHeight < EXPANDER_HEADING_HEIGHT ? EXPANDER_HEADING_HEIGHT : expanderCollapsedHeight;
- expanderElement.attr("data-a-expander-collapsed-height", expanderCollapsedHeight);
- featureBulletsExpanderContent.css('display', '');
- featureBulletsExpanderHeading.css('display', '');
- }
- }
- function logFeatureBulletsPOv2ExpanderMetric(metric) {
- if (typeof window.ue !== 'undefined' && typeof metric !== 'undefined' && typeof window.ue.count !== 'undefined') {
- window.ue.count(metric, ((window.ue.count(metric) || 0) + 1));
- }
- }
- setFeatureBulletsExpanderCollapsedHeight();
- A.on('a:expander:pov2FeatureBulletsExpander:toggle:expand', function(data) {
- logFeatureBulletsPOv2ExpanderMetric('featureBulletsPOv2DesktopExpanderExpanded');
- });
- A.on('a:expander:pov2FeatureBulletsExpander:toggle:collapse', function(data) {
- logFeatureBulletsPOv2ExpanderMetric('featureBulletsPOv2DesktopExpanderCollapsed');
- });
- });
Magic-J wood is a versatile table perfect for the mini apartment or living area. Adjustable to 7 different heights by pressing a button on the metal box, it turns into a 8 seater dining table in seconds. In fact, thanks to the opening "book" of the wooden top, it can double the surface easily and in seconds. The base is made up of an elliptical tube in metal while the top is available to choose from: glossy black, glossy white, wenge, graphite and walnut.