View Issue Details

IDProjectCategoryView StatusLast Update
0007236mantisbtwebpagepublic2020-08-09 07:53
ReporterOliverBee Assigned Toatrol  
PrioritynormalSeverityfeatureReproducibilityalways
Status closedResolutionfixed 
Product Version1.0.3 
Summary0007236: Fix menu bar at top position (includes fix)
Description

Sometimes it was annoying me if I had to scroll upwards to get to the menu bar and I didn't want a second menu bar at bottom, too. So I tried to stick the menu bar at the top of the page without using frames. Maybe my solution isn't very beautiful but it works for me except a small bug for Internet Explorer (selection fields are seen behind the sticked menu bar but I wasn't able to fix this problem).

I tested the patch for IE and Firefox.

Additional Information

Patch against 1.0.1 (but should work to CVS Head too):

add to css\default.css:


body { height:100%; overflow-y:auto; ....
div.topFrame { background-color: #ffffff; top: 0px; left: 0px; width: 100%; position: fixed; }

  • html div.topFrame { position: absolute; }

add to core\html_api.php:
Modify function html_page_top2a():
add line


PRINT '<div class="topFrame">';

after line

$g_error_send_page_header = false;

Modify function print_menu():
add line


PRINT '</div class="topFrame">




';

after line

PRINT '</table>';

Tagspatch

Activities

atrol

atrol

2020-07-30 02:25

developer   ~0064204

Patch no longer needed, as top and left menue are always visible without scrolling in latest MantisBT versions.