Hi,

I've put this into a viewer file named layout.html but it doesn't
work:
        <head>
        
{{response.files.append(URL(request.application,'static','superfish.js'))}}
                {{include 'web2py_ajax.html'}}
        </head>


        ...some code



        {{
                response.menu=[
                ('Home',request.function=='home',URL(r=request,f='home'),[]),
                ('Store
Information',request.function=='info',URL(r=request,f=info'),
                []),]
        }}

Thanks in advance for help!

        {{###### superfish menu }}
        {{=MENU(response.menu,_class='sf-menu')}}
        <script>
                jQuery(document).ready(function(){
                jQuery('ul.sf-menu').superfish({delay:400});});
        </script>

Reply via email to