Sam, > On Wed, 1 Dec 2004, Brad Cathey wrote: > >> In a regular HTML setting, this is no problem�the URL reads: >> >> 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
