2010-12-14 68 views
0

I have a simplesaut de section html avec <a name="something"> more than once?

<a name="top"></a> 

and another link:

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

it works but after the first time the url turns to:

www.site.com/#top 

and it doesn't work after a user uses it one time. How can I make it so it will work multiple times?

+1

"ça ne marche pas" - _what_ ne fonctionne pas? Qu'attendez-vous de travailler? – Oded

+0

Hors-sujet: vous n'avez pas besoin d'utiliser un 'avec un tag a' nom, vous pouvez référencer un' id' d'un élément à la place. Cela permet de réduire le nombre de tags divers dispersés sur votre page. – zzzzBov

Répondre

0

I've seen this before. Can you test in different browsers and see if behavior is consistent? Try restarting browser, also.