Page 1 of 1

Safari/Autorenoberfläche/URL

Posted: Thu Dec 02, 2004 4:51 pm
by Guest
Hallo,
mit Safari 1.2.4 funktioniert der URL-Button in Safari nicht korrekt.

Wenn man eine URL eintragen will, wird man nur nach der URL gefragt, nicht aber nach dem beschreibenden Text.

Stattdessen wird der Text, der schon im Eingabefeld ist, als beschreibender Text und nach dem schließenden a-tag eingefügt. Das sieht dann so aus:

Vorher:

Code: Select all

Hallo
Nachher:

Code: Select all

Hallo
<a href="http://www.s9y.org/">Hallo
</a>Hallo
Liebe Grüße,
Harald[/code]

Re: Safari/Autorenoberfläche/URL

Posted: Thu Dec 02, 2004 5:10 pm
by garvinhicking
Hm, we actually don't have any Safari-Users in our team, so most of our JS-code is adapter to Mozilla (or even Internet Explorer). If only Safari used the Gecko engine :(

Regards,
Garvin

Posted: Thu Dec 02, 2004 5:48 pm
by Guest
ahh..the sweet horror of javascript platform quirks.

Have a look here:

http://www.quirksmode.org/js/selected.html

Safari wants window.getSelection, is different to both IE and FFX.

There is a sample getSel function on the page as well.

Posted: Thu Dec 02, 2004 6:16 pm
by garvinhicking
Thanks for the URL! I will look into that and fix it :)

Regards
Garvin.

safari fix?

Posted: Tue Apr 19, 2005 5:26 pm
by Xanthouos
So, did you get around to any safari fix/patch?
:idea:

Re: safari fix?

Posted: Tue Apr 19, 2005 7:24 pm
by garvinhicking
It was a bit too hard for me to get around without having Safari/Mac to test it on, so sadly it did not get fixed. But maybe Safari got fixed meantime? :)

Regards,
Garvin

Posted: Thu Apr 21, 2005 2:44 am
by Scytale
Maybe you can test it on Konqueror (try a Knoppix LiveCD), because Safari and Konqueror share some codebase.

Hm. Just tried it with mine and after typing the URL into the dialog box, nothing happens at all...