adding custom buttons

  •  10-29-2007, 8:53 PM

    adding custom buttons

    I've been able to add a custom button to the right end of my tool bar. But how can I add it to the first left position? I tried adding a holder but how do I tie the custom button to the holder?


    $editor->TemplateItemList = "holder, netspell, separator, bold, italic, underline, Separator, forecolor, backcolor";

    $editor->CustomAddons = "<img title=\"custom button\" class=\"CuteEditorButton\" onmouseover=\"CuteEditor_ButtonCommandOver(this)\" onmouseout=\"CuteEditor_ButtonCommandOut(this)\" onmousedown=\"CuteEditor_ButtonCommandDown(this)\" onmouseup=\"CuteEditor_ButtonCommandUp(this)\" ondragstart=\"CuteEditor_CancelEvent()\" Command=\"MyCmd\" src=\"CuteEditor_Files/Images/contact.gif\" />";

View Complete Thread