|
@@ -186,6 +186,12 @@ var configuratorApp = (function(){
|
186
|
186
|
: $pre.slideUp(200, didAnim);
|
187
|
187
|
});
|
188
|
188
|
|
|
189
|
+ // Fix the config boxes on the screen (in wide style)
|
|
190
|
+ $(window).bind('scroll resize', function(){
|
|
191
|
+ var $cfg = $('#config_text'), wtop = $(window).scrollTop(), ctop = $cfg.offset().top;
|
|
192
|
+ $cfg.css({ paddingTop: ctop < $form.offset().top+100 && wtop > ctop ? wtop-ctop : 0 });
|
|
193
|
+ });
|
|
194
|
+
|
189
|
195
|
// Read boards.h, Configuration.h, Configuration_adv.h
|
190
|
196
|
var ajax_count = 0, success_count = 0;
|
191
|
197
|
var loaded_items = {};
|