Einzelnen Beitrag anzeigen
Alt 22.01.2004, 13:20   #13
jak
Inventar
 
Registriert seit: 13.06.2001
Beiträge: 1.830


Standard

Du hast ein " übersehen: (vor dem http)
<edit>
Außerdem ist die Reihenfolge ein bischen durcheinander:
Code:
if (action == "url") { 
 var thisURL = prompt("", "http://"); 
 if (thisURL == NULL) thisURL = "";
 var thisTitle = prompt("Geben Sie jetzt den Titel der URL ein.", "web page"); 
 var urlUBBCode = "<a href=\"http://"+thisURL+"\" target=\"_blank\">"+thisTitle+"</a>"; 
 ...

 revisedMessage = currentMessage+urlUBBCode; 
 document.REPLIER.post_text.value=revisedMessage; 
 document.REPLIER.post_text.focus(); 
 return; 
}
</edit>

@reichr: Poste entweder die Fehlermeldung oder die ganze html Datei.

Jak
____________________________________
Join the DNRC | Godwin\'s Law (thx@stona)
Documentation is like sex: If it\'s good, it\'s very, very good. If it\'s bad, it\'s better than nothing.
\"In theory, theory and practice are the same. In practice, they are not\" (Lawrence Berra)
jak ist offline   Mit Zitat antworten