Hello Brad.

I already answered this - didn't you see it?

Your HTML is broken.

you are missing a double quote character.
so you've confused the browser.

THIS:
   <a href="../cgi-bin/foo.pl#top>Top of Page</a>

SHOULD BE:
   <a href="../cgi-bin/foo.pl#top">Top of Page</a>

Alan.



----- Original Message ----- 
From: "Brad Cathey" <[EMAIL PROTECTED]>
To: "Sam Tregar" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, December 02, 2004 5:07 AM
Subject: Re: [htmltmpl] Question about page anchors (bookmarks) in H::T


Sam,

> On Wed, 1 Dec 2004, Brad Cathey wrote:
> 
>> In a regular HTML setting, this is no problem >> 
>>    http://www.domain.com/page.html#top
>> 
>> But in the .TMPL model, it goes to the home page:
>> 
>>    http://www.domain.com/#top
> 
> Two answers:
> 
> 1) That's not "the .TMPL model" that's the model of your code.  In my
>   code that would usually look like:
> 
>     http://www.domain.com/foo.pl#top
> 
>   But that's got nothing to do with HTML::Template

1) Not sure I understand, because in straight HTML

   <a href="#top">Top of Page</a>

works fine. However, I ended up leaving the anchor at the top of the page
(would not work without it) and adding the relative cgi-path to my link, as
you indicated, and it worked fine.

   <a href="../cgi-bin/foo.pl#top>Top of Page</a>

Thanks.





-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
Html-template-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/html-template-users



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
Html-template-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/html-template-users

Reply via email to