You might want Ajax instead of LOAD.
http://web2py.com/books/default/chapter/29/11#The-ajax-function
But whatever you are trying to do sounds very strange.
On Friday, May 25, 2012 12:07:35 AM UTC-7, Annet wrote:
>
> I have a view site/index.html which extends site/generic.html which
> extends scaffold.html.
>
> scaffold.html contains the <head></head> and <body></body> tags. The body
> only contains {{inlcude}}
>
> site/generic.html contains the site header and footer and a
> <container></container> tag containing {{include}}
>
> I have groups of functions, these groups are menu items in a navigation
> bar. I'd like the dropdown menus to have ajax functionality, so in the code
> that renders the dropdown menus I have:
>
> <a onclick="web2py_component('{{=_link}}',
> 'component-pane')">{{=_name}}</a>
>
> which renders the following items:
>
> <a onclick="web2py_component('/bootstrap/calendar/openingHours/283',
> 'component-pane')">Opening hours</a>
>
>
> The problem is that I don't know where to put the component-pane:
>
> <div id="component-pane"
> <div class="row-fluid">
> <div class="span7">
> {{=LOAD()}}
> </div> <!-- /span -->
> <div class="span5">
> </div> <!-- /span -->
> </div> <!-- /row -->
> </div> <!-- /component-pane -->
>
> and what to put in the {{=LOAD()}}, for initially there is nothing to
> load, this depends on which item in dropdown menu is being clicked.
>
>
> Regards,
>
> Annet
>