+
+ panelRoot.bind('stopResize', function() {
+ var panels = [];
+ $('.panel-wrap', panelRoot).not('.panel-content-overlay').each(function() {
+ console.log($(this), $(this).data('ctrl'));
+ panels.push({
+ url: $('.panel-toolbar select', this).val(),
+ ratio: $(this).width() / panelRoot.width()
+ })
+ });
+ self.options.panels = panels;
+ $.log($.toJSON(self.options));
+ $.cookie('options', $.toJSON(self.options), { expires: 7, path: '/'});
+ });