2

Please consider changing the FogBugz page "header" so the rest of a page can be scrolled without losing the information displayed at the top of the page.

That is, "lock" the following information at the top of the page so it's always in view:

FogBugz Page Header

flag

1 Answer

2

You can definitely do that without frames. Here's a BugMonkey customization that will keep the "header" at the top of your screen even as you scroll the page:

name:          Floating top nav
description:   Makes the top nav remain fixed at the top of the screen as you scroll
author:        Dane Bertram
version:       1.4.0.0

js:

if (!$.browser.msie || parseInt($.browser.version, 10) > 6)
  $('body').addClass('floatingTopNav');


css:

.floatingTopNav #navTopContainer {
  position: fixed;
  right: 0;
  left: 0;
  z-index: 1;
}
.floatingTopNav #banner {
  position: fixed;
  left: 0;
  right: 0;
  top: 21px;
  z-index: 1;
}
.floatingTopNav #belowBanner {
  position: fixed;
  right: 0;
  top: 63px;
  z-index: 1;
}
.floatingTopNav #appTabs {
  position: fixed;
  left: 0;
  z-index: 2;
}
.floatingTopNav #mainArea {
  margin-top: 90px;
}
.floatingTopNav div.messageBar {
  position: fixed;
  z-index: 1;
}
.floatingTopNav .popupMenu {
  position: fixed !important;
}
.floatingTopNav .favoritesPopup {
  position: fixed !important;
  left: auto !important;
  right: 7px !important;
}
.floatingTopNav #idDropList_searchFor_oDropList {
  position: fixed !important;
  top:   54px !important;
  left:  auto !important;
  right:  7px !important;
  z-index: 12 !important;
}
.floatingTopNav .popupMenu.emailActionsMorePopup {
  position: absolute !important;
}
link|flag
Wow! I tried to fix one issue: the actual menus could be off-screen. – Michel de Ruiter Feb 8 at 22:24
Nice catch! Thanks @Michel! – db Feb 9 at 14:36
I've tweaked the way this works so that it can play nicely with the "Floating Bug Controls" customization: fogbugz.stackexchange.com/questions/9944/9945 – db Feb 14 at 15:16
One more fix: the "new version" message bar was hidden. – Michel de Ruiter Feb 20 at 10:07
And a few more. – Michel de Ruiter Apr 3 at 10:24

Your Answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.