Home | History | Annotate | Download | only in resources

Lines Matching refs:Sections

57     // Because sections are collapsed when they are in menu mode, it is not
60 // TODO(aa): Sections should maintain their collapse state when minimized.
382 // Get all sections to be layed out.
384 var sections = document.querySelectorAll(
387 for (var i = 0, section; section = sections[i]; i++) {
393 // Ensure the miniview sections don't have any clipped items.
431 // Returns whether or not the sections are currently animating due to a
438 // Layout the sections in a modified accordian. The header and miniview, if
443 // | collapsed section | <- Any collapsed sections are fixed position.
464 // sections sinch up and sit below the expanded section. This is so that we
465 // don't have a bunch of dead whitespace in the case of expanded sections that
468 // While transitioning sections, we only want scrollbars to appear if they're
473 var sections = SectionLayoutInfo.getAll();
482 for (i = 0; section = sections[i]; i++) {
493 for (; section = sections[i]; i++) {
497 footerHeight += $('closed-sections-bar').offsetHeight;
529 // all sections are collapsed, then get rid of the previous height.
537 for (i = 0, section; section = sections[i]; i++) {
561 $('closed-sections-bar').style.top = y + 'px';
686 // Show this section and hide all other sections - at most one section can
748 * Callback when the shown sections changes in another NTP.
749 * @param {number} newShownSections Bitmask of the shown sections.
1116 // It looks better to return the scroll to the top when toggling sections.