On Feb 12, 1:25 pm, Kacper Krupa <[email protected]> wrote:
> {{= URL(r=request, c='controller', f='function', args='#arg') }}
> or
> {{= URL(r=request, c='controller', f='function', args=['#arg']) }}
>
> ?
>

No, that gives an 'invalid request' with the '#' escaped to %23

> On 12 Lut, 13:52, cjparsons <[email protected]> wrote:
>
>
>
> > I have a page that contains mainly text information in the view
> > arranged in sections with <h2 name="secname"> labels. I've not put it
> > in 'static' because I want to use views/layout.html.
>
> > How can I link from another page to a particular section? I've tried
> > putting '#secname' at the end of the f= parameter in {{=URL(...}}, not
> > surprisingly without success. I guess I could pass the anchor as an
> > argument and then redirect, or collapse/expand the sections in
> > javascript but I'm hoping there's an easy way.
>
> > Chris- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to