diff options
| author | Tim Almdal <tnalmdal@shaw.ca> | 2009-11-20 21:10:56 -0800 |
|---|---|---|
| committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-11-20 21:10:56 -0800 |
| commit | 23a60fb1f217475419c55adc7ce7427fcdadb2c3 (patch) | |
| tree | 28b15d661787b9d3d17dddbc7442a5f6282c49c7 /themes | |
| parent | 1fec5e22b4e45c3c892b992e4fb2f2983ca3f206 (diff) | |
| parent | 005cf8e8286b4dbc99bc47fae2662acfca855fd7 (diff) | |
Merge branch 'master' into talmdal_dev
Diffstat (limited to 'themes')
| -rw-r--r-- | themes/wind/views/page.html.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/themes/wind/views/page.html.php b/themes/wind/views/page.html.php index 03d43918..9c440412 100644 --- a/themes/wind/views/page.html.php +++ b/themes/wind/views/page.html.php @@ -86,9 +86,13 @@ <? endif ?> <?= $theme->user_menu() ?> <?= $theme->header_top() ?> - <div id="g-site-menu"> + + <!-- hide the menu and make it visible after the page has loaded, to minimize menu flicker --> + <div id="g-site-menu" style="visibility: hidden"> <?= $theme->site_menu() ?> </div> + <script> $(document).ready(function() { $("#g-site-menu").css("visibility", "visible"); }) </script> + <?= $theme->header_bottom() ?> </div> |
