Hallo,
ich hatte schon mal vor einigen Tagen hier gepostet, jetzt mit hash statt location. Folgendes Problem:
Javascript bei Init der Seite:
<script type="text/javascript">
<!--
try {
if (window.location.hash=="") {
window.location.hash="#current" }
}
catch(e) {;}
-->
</script>
HTML-Anker:
<a name="current"></a>
In Opera und IE hängt er den hash an die URL an, bei Firefox und Mozilla nicht. Dementsprechend kein Sprung zum Anker in Firefox und Mozilla. Jemand eine Idee?
Btw: Keine Fehlermeldung in FF-Javascriptkonsole, läuft definitiv in if-Abfrage rein.
Gruß & Dank,
LeKuchen