Ken,
This is another sample code for ASP version that shows customized buttons. Please check your mail box. I sent the whole source code to you today.
<script language="JavaScript" type="text/javascript" >
function Paste_Html1(editorID,value)
{
EditorID = editorID+"_editBox";
var editor = document.getElementById(EditorID);
editor.focus();
var sel = editor.document.selection.createRange();
// don't try to insert HTML into a control selection (ie. image or table)
if (editor.document.selection.type == 'Control') {
return;
}
sel.pasteHTML(value);
}
</
script>
<%
'CustomAddons
editor.CustomAddons = "<span title=""Custom Addons"" class=""button"" onclick=""var d = new Date(); Paste_Html1
('Editor1',d.toLocaleTimeString())"" type=""btn"" border=""0""> Custom button </span>"
%>
Let me know if you have questions.
asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
asp wysiwyg html editor: http://cutesoft.net/ASP
asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
Live Support: http://cutesoft.net/live-support/default.aspx