Ohne den Wcm Quelltext zu kennen, würde ic es so machen. Ich muß mir erst noch überlegen wie man textfelder anspricht aber da kommm ich auch noch drauf.
P.S.: Die erste Zeile ist nicht notwendig, ist aber im w3c Standart vorgesehen.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<script language="JavaScript">
<!--
function linkmachen()
{
var linkadresse=prompt("Bitte Internetadresse eingeben","http://");
var linktext;
linktext=prompt("Bitte geben Sie einen Text ein","")
if (linktext=="") {linktext=linkadresse};
document.write("<a href=\"" + linkadresse + "\">" + linktext + "</a>");
}
//-->
</script>
</head>
<body>
<input type="Button" value="Link einfügen" OnClick="linkmachen()">
</body>
</html>
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)
|