Thursday, November 17, 2011

HTML editor for php NicEdit

<div id="sample">
      <script type="text/javascript" src="http://js.nicedit.com/nicEdit-latest.js"></script> <script type="text/javascript">

      //<![CDATA[
  
      bkLib.onDomLoaded(function() {
  
      new nicEditor().panelInstance('area1');
  
      new nicEditor({fullPanel : true}).panelInstance('area2');

      new nicEditor({iconsPath : '../nicEditorIcons.gif'}).panelInstance('area3');

      new nicEditor({buttonList : ['fontSize','bold','italic','underline','strikeThrough','subscript','superscript','html','image']}).panelInstance('area4');

      new nicEditor({maxHeight : 100}).panelInstance('area5');

      });
 
      //]]>

      </script>

      <textarea cols="50" id="area1">
Text is here
      </textarea>
 

      </div>

1 comment:

  1. very informative and interesting article you have posted i liked it very much and i have asked my friends to give a visti too so that they may also get the benefit.

    joomla extension

    ReplyDelete

Thank you for your Comment....

Popular Posts