it's

<a href="$link.setPage("publicsite,Sitefaq.vm")#shortName">Click here</a>

So put the anchor AFTER the url that get's generated by the $link tool.
Otherwise the $link tool goes looking for a template named
"publicsite,Sitefaq.vm#shortName"

Age


> -----Original Message-----
> From: nathan barron [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, May 28, 2002 16:49
> To: 'Turbine Users List'
> Subject: RE: Anchors in turbine/velocity
>
>
> I tried putting an anchor in the target page like this:
>
> <a name="shortName"></a>
>
> I then changed the syntax of the link to:
>
> <a href="$link.setPage("publicsite,Sitefaq.vm#shortName")">Click here</a>
>
> However this doesn't seem to work (unlike in normal HTML)
>
> I am using IE 6.0 by the way.
>
> Cheers
>
> Nathan
>
> -----Original Message-----
> From: Edgar Deloera Moreno [mailto:[EMAIL PROTECTED]]
> Sent: 28 May 2002 16:50
> To: 'Turbine Users List'
> Subject: RE: Anchors in turbine/velocity
>
> Hi nathan, what version of ie, you are using??? if you are using '#' you
> have to use a ie5.5 or greather, try this ... maybe this is the
> problem!!!
>
>   Edgar ...
>
>
> -----Original Message-----
> From: nathan barron [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, May 28, 2002 9:12 AM
> To: '[EMAIL PROTECTED]'
> Subject: Anchors in turbine/velocity
>
>
> Hi guys
>
> I have a link within a vm file like this:
>
> <a href="$link.setPage("publicsite,Sitefaq.vm")">Click here</a>
>
> This works fine, but I would like to send the user to a specific point in
> the 'Sitefaq.vm' page. How can I do this???????
>
> Within HTML you use an anchor in the target page and specify the
> name of the
> anchor in the link with a '#' symbol I tried this but it didn't work.
> Perhaps I have the syntax wrong!!???!
>
> Any help would be much appreciated.
>
> Cheers
>
> Nathan
>
>
> ________________________________________________________________________
> This email has been scanned for all viruses by the MessageLabs service.
> ________________________________________________________________________
>
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>
>
> ________________________________________________________________________
> This email has been scanned for all viruses by the MessageLabs service.
>
>
> ________________________________________________________________________
> This email has been scanned for all viruses by the MessageLabs service.
> ________________________________________________________________________


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to