thank you :-)
maybe no-one really uses anchors any more but they were the first HTML
thing I learned in 1995 :-)
On Feb 12, 3:22 pm, mdipierro <[email protected]> wrote:
> Try the latest URL in launchpad
>
> >>> URL(r=request,anchor=23,args=1)
>
> /test/default/index/1#23
>
> Massimo
>
> On Feb 12, 9:10 am, mdipierro <[email protected]> wrote:
>
>
>
> > sorry I misunderstood the question. perhaps URL should have an achor
> > argument keyword.
>
> > Massimo
>
> > On Feb 12, 9:02 am, Kacper Krupa <[email protected]> wrote:
>
> > > The only way what i see its:
> > > URL(r=request) + "#something"
>
> > > On 12 Lut, 15:46, cjparsons <[email protected]> wrote:
>
> > > > 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 -- 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