Forum Moderators: open
I don't have access to every modern web browser to test this so I'm asking the following question here:
How will a browser handle multiple anchors with the same label?
For instance if there are three anchors on a page that read < a name="2006-01-15" > and I reference the URL somewebpage#2006-01-15 will this always take me to the first occurance of this anchor name?
I also have a calendar with clickable dates that take you directly to the events page to the date you clicked on.
In my old script I had logic that would check to see if there was more than one event for the same date and only print the anchor tag one time.
Now that I'm using HTML::Template to generate the page I can't put the logic in there to only print one anchor tag per date.
So... I cheated and just put one anchor tag per event. It sure cut out a lot of code.