Re: Custom Button

  •  03-09-2005, 2:57 PM

    Re: Custom Button


    Your code is here:
     
     
     
    Solution:

    Change the following code from:
     
    editor2.CustomAddons = "<span...>Insert Html</span>"
     
    to:
     
    editor2.CustomAddons = "<button...>Insert Html</button>"
      
    Your code will work.
     
    Suggestions:

    You don't need to create your paste HTMl JavaScript code.

    You can use the built-in funtion like: 

    onclick=""_Format(Editor2,'insertHTML','html code');""

    onclick=""Paste_Html1('Editor2','Test Text');""

    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

View Complete Thread