+
+ panelRoot.bind('stopResize', function() {
+ var panelRatios = [];
+ $('.panel-wrap', panelRoot).each(function() {
+ panelRatios.push($(this).width() / panelRoot.width());
+ });
+ self.options.panelRatios = panelRatios;
+ $.log($.toJSON(self.options));
+ $.cookie('options', $.toJSON(self.options), { expires: 7, path: '/'});
+ });