var j = i + 1;
var action = $this.fluidbook.settings['product_zoom_action_' + j];
-
+
if (!action) {
action = 'link';
}
}
},
+ resizeFunctions: function () {
+ var m = $("#zoomPopupMenu");
+ var ww = this.fluidbook.resize.ww;
+ $(m).find('.hidelabel').removeClass('hidelabel');
+ if ($(m).outerWidth() <= ww) {
+ return;
+ }
+ $(m).find('.button:not(.nolabel)').each(function () {
+ $(this).addClass('hidelabel');
+ if ($(m).outerWidth() <= ww) {
+ return false;
+ }
+ });
+ },
+
resizeZoomLinkBackground: function (show) {
var top, left, bottom, right, width, height, hpadding, vpadding;
+ this.resizeFunctions();
var menuWidth = $("#zoomPopupMenu").outerWidth();
-
var wrappers = $('.zoomPopupWrapper');
+
if ($('html').hasClass('menu-burger') && this.fluidbook.resize.ww <= 800) {
top = 0;
left = 0;