Stimmt, das hier
<a href="javascript:void(0)" onclick="window.open("file://///server/share/dir/Bild.jpg", "Bild"); return false">XYZ</a)
wirft nicht diese Fehlermeldung:
uncaught exception: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMJSWindow.open]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: http://localhost:8080/sug/ :: onclick :: line 1" data: no]
Sondern diese:
Fehler: syntax error
Quelldatei: ..../Javascript/test.html
Zeile: 1, Spalte: 11
Quelltext:
window.open(
Du musst die inneren doppelten Anführungszeichen, gegen einfache austauschen.
Struppi.