I did it this way, (unfortunatley IE5 only) It's a straight HTML page with a bunch of forms, write in a form, highlight it w the mouse and click the formatting link.
code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Adminpage for IE5...</title>
<script language=javascript>
function hiliteToBold(txtArea){
txtAreaName = txtArea.name;
txtRange = document.all[txtAreaName].createTextRange();
txtContainer = txtRange.parentElement().name;
objRange = document.selection.createRange();
hiliteTxt = objRange.text;
toBoldTxt = "<B>" + hiliteTxt + "</B>";
if(hiliteTxt != ""){
objRange.text = toBoldTxt;
}
}
function hiliteToItalic(txtArea){
txtAreaName = txtArea.name;
txtRange = document.all[txtAreaName].createTextRange();
txtContainer = txtRange.parentElement().name;
objRange = document.selection.createRange();
hiliteTxt = objRange.text;
toItalicTxt = "<I>" + hiliteTxt + "</I>";
if(hiliteTxt != ""){
objRange.text = toItalicTxt;
}
}
function hiliteToPara(txtArea){
txtAreaName = txtArea.name;
txtRange = document.all[txtAreaName].createTextRange();
txtContainer = txtRange.parentElement().name;
objRange = document.selection.createRange();
hiliteTxt = objRange.text;
toParaTxt = "<P>" + hiliteTxt + "</P>";
if(hiliteTxt != ""){
objRange.text = toParaTxt;
}
}
function hiliteToFont_11(txtArea){
txtAreaName = txtArea.name;
txtRange = document.all[txtAreaName].createTextRange();
txtContainer = txtRange.parentElement().name;
objRange = document.selection.createRange();
hiliteTxt = objRange.text;
toFont_11_Txt = "<FONT style='font-size: 11pt;'>" + hiliteTxt + "</FONT>";
if(hiliteTxt != ""){
objRange.text = toFont_11_Txt;
}
}
function hiliteToFont_12(txtArea){
txtAreaName = txtArea.name;
txtRange = document.all[txtAreaName].createTextRange();
txtContainer = txtRange.parentElement().name;
objRange = document.selection.createRange();
hiliteTxt = objRange.text;
toFont_12_Txt = "<FONT style='font-size: 12pt;'>" + hiliteTxt + "</FONT>";
if(hiliteTxt != ""){
objRange.text = toFont_12_Txt;
}
}
function hiliteToFont_14(txtArea){
txtAreaName = txtArea.name;
txtRange = document.all[txtAreaName].createTextRange();
txtContainer = txtRange.parentElement().name;
objRange = document.selection.createRange();
hiliteTxt = objRange.text;
toFont_14_Txt = "<FONT style='font-size: 14pt;'>" + hiliteTxt + "</FONT>";
if(hiliteTxt != ""){
objRange.text = toFont_14_Txt;
}
}
function hiliteToMailto(txtArea){
txtAreaName = txtArea.name;
txtRange = document.all[txtAreaName].createTextRange();
txtContainer = txtRange.parentElement().name;
objRange = document.selection.createRange();
hiliteTxt = objRange.text;
toMailto = '<a href="mailto:' + hiliteTxt + '">' + hiliteTxt + '</a>';
if(hiliteTxt != ""){
objRange.text = toMailto;
}
}
function hiliteToExternLink(txtArea){
txtAreaName = txtArea.name;
txtRange = document.all[txtAreaName].createTextRange();
txtContainer = txtRange.parentElement().name;
objRange = document.selection.createRange();
hiliteTxt = objRange.text;
toExternLink = '<a href="' + hiliteTxt + '" target="_blank">' + hiliteTxt + '</a>';
if(hiliteTxt != ""){
objRange.text = toExternLink;
}
}
</script>
</head>
<body>
<form action="">
<table width="600" border="0" cellspacing="10" cellpadding="0" align="left">
<tr valign="top">
<td width="150">Choose area for updating/editing</td>
<td width="300">
<select name="siteArea">
<option value="1" selected>- Choose area - </option>
<option value="2">Conference info</option>
<option value="3">Miscallenous</option>
<option value="4">Register</option>
<option value="5">blah 1</option>
<option value="6">blah 2</option>
<option value="7">blah 3</option>
</select>
</td>
<td width="150">Choose here first</td>
</tr>
<tr valign="top">
<td>Heading</td>
<td>
<input type="text" name="txtHeading">
</td>
<td> </td>
</tr>
<tr valign="top">
<td>Maintext</td>
<td><textarea cols="30" rows="15" name="txtMainText"></textarea></td>
<td><br>
<a href="#" onClick="javascript:hiliteToBold(txtMainText);">Bold</a><br>
<a href="#" onClick="javascript:hiliteToItalic(txtMainText);">Italic</a><br>
<a href="#" onClick="javascript:hiliteToPara(txtMainText);">Paragraph</a><br>
<a href="#" onClick="javascript:hiliteToFont_11(txtMainText);">11 pt</a><br>
<a href="#" onClick="javascript:hiliteToFont_12(txtMainText);">12 pt</a><br>
<a href="#" onClick="javascript:hiliteToFont_14(txtMainText);">14 pt</a><br>
<a href="#" onClick="javascript:hiliteToMailto(txtMainText);">MailTo</a><br>
<a href="#" onClick="javascript:hiliteToExternLink(txtMainText);">http-link</a><br>
</td>
</tr>
<tr valign="top">
<td>Add external link</td>
<td>
http:// <input type="text" name="extLink1"><br>
http:// <input type="text" name="extLink2"><br>
http:// <input type="text" name="extLink3"><br>
http:// <input type="text" name="extLink4"><br>
</td>
<td>(no [url=http://)</td>]http://)</td>[/url]
</tr>
<tr valign="top">
<td>Add img (size: height 100px , width 100px)</td>
<td><input type="file" name="fileImage" accept="image/jpeg,image/gif"></td>
<td>(Only .jpg or .gif format)</td>
</tr>
<tr valign="top">
<td>Attach a file</td>
<td><input type="file" name="fileDocument" accept="application/msword,application/pdf"></td>
<td>(Only .doc or .pdf format)</td>
</tr>
<tr valign="top">
<td>Save info</td>
<td><input type="submit" value="Spara"></td>
<td> </td>
</tr>
</table>
</form>
</body>
</html>
Have fun/Dan
[This message has been edited by DmS (edited 06-18-2001).]