Re: <A NAME= question

by "Raj Bhaskar" <raj(at)lordofthemoon.com>

 Date:  Thu, 13 Mar 2003 20:50:24 -0000
 To:  beauford.2002(at)rogers.com,
hwg-basics(at)mail.hwg.org
 In-Reply-To: 
  todo: View Thread, Original
Hi Beauford,

> for ($i = 1; $i < 6; $i++) {
>     <A NAME = $i >Destination</A>
>     A bunch of of other code.....
> }
> 
> When I look at the source from my browser everything looks the way it should
> be. I get <A NAME=1>, <A NAME=2>, etc. The problem is that when I click on
> the link it does nothing. I get the little click noise, but that's it.

Shouldn't that be:
for ($i=1; $i<6; $i++) {
<a href="#$i">Destination</a>
Bunch of other code
}

ie, replace <a name="xx"> by <a href="#xx">

HTH,
Raj.
-- 
__    _  __  Raj Bhaskar, University of Glasgow       
|_/   |_|    |  Email: raj(at)lordofthemoon.com
|  \   |  |   \/   Homepage: http://lordofthemoon.com
Time is too precious to waste,
 and too precious not to share
 -- (unknown)

HTML: hwg-basics mailing list archives, maintained by Webmasters @ IWA

This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.