In layout.html

add class: navbar-fixed-top

<!-- Navbar ================================================== -->

<div class="navbar navbar-inverse navbar-fixed-top">
    <div class="flash">{{=response.flash or ''}}</div>
    <div class="navbar-inner">
        <div class="container-full">
            <button type="button" class="btn btn-navbar" 
data-toggle="collapse" data-target=".nav-collapse">
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
...
...

เมื่อ วันพฤหัสบดีที่ 27 มีนาคม ค.ศ. 2014, 22 นาฬิกา 50 นาที 29 วินาที 
UTC+7, Tom Clerckx เขียนว่า:
>
> Is there an easy way to keep the menu 'floating' on top.
> I.e. when a user scrolls down that the menu stays visible at the top of 
> the page
>
> Best regards,
> Tom.
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to