You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

преди 13 години
1234567891011121314151617181920212223242526
  1. /* standard 2-column layout with
  2. wrapper
  3. + wtab
  4. + main
  5. + head
  6. + toolbar_area
  7. + body
  8. + footer
  9. + sidebar_area
  10. */
  11. wn.PageLayout = function(args) {
  12. $.extend(this, args)
  13. this.wrapper = $a(this.parent, 'div', 'layout-wrapper layout-wrapper-background');
  14. this.main = $a(this.wrapper, 'div', 'layout-main-section');
  15. this.sidebar_area = $a(this.wrapper, 'div', 'layout-side-section');
  16. $a(this.wrapper, 'div', '', {clear:'both'});
  17. this.head = $a(this.main, 'div');
  18. this.toolbar_area = $a(this.main, 'div');
  19. this.body = $a(this.main, 'div');
  20. this.footer = $a(this.main, 'div');
  21. if(this.heading) {
  22. this.page_head = new PageHeader(this.head, this.heading);
  23. }
  24. }