function fp_render_mobile_hamburger_menu
Search API
6.x theme.inc | fp_render_mobile_hamburger_menu() |
This will create the HTML content for the "mobile hamburger" menu, which appears when we press the 3 lines icon or "hamburger" icon on a mobile device.
1 call to fp_render_mobile_hamburger_menu()
- fp_display_page in includes/
theme.inc - Output the contents of the $page variable to the screen. $page is an array containing details about the page, as well as its original menu item (router_item) definition.
File
- includes/
theme.inc, line 1434
Code
function fp_render_mobile_hamburger_menu() {
$rtn = "";
$rtn .= "<div id='mobile-hamburger-menu' style='display:none;'>
<div class='mobile-top-nav'>";
$rtn .= fp_render_top_nav_content(TRUE);
$rtn .= " </div>
<div class='clear'></div>
<div class='mobile-sidebar-content'>";
$rtn .= fp_render_sidebar_left_content(TRUE);
$rtn .= " </div>
</div>";
return $rtn;
}