> <a 
> href="$link.setPage("publicsite,Sitefaq.vm#shortName")">Click here</a>
the link tool will not be able to parse this

This is how to correctly format an anchor link using the link tool

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

the anchor should be left out of the link tools page parameter.

hth,
Scott





> -----Original Message-----
> From: nathan barron [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, May 28, 2002 10:49 AM
> 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. 
> ______________________________________________________________
> __________
> 

Reply via email to