c'est fendart ton truc
CONTENU_INTERDIT if (window.FTB_AddEvent) { FTB_AddEvent(window,'load',function () { FTB_API['ctl00_ContentPlaceHolder1_ctlMessage_FreeTextBox1'] = new FTB_FreeTextBox('ctl00_ContentPlaceHolder1_ctlMessage_FreeTextBox1', true, false, new Array( new FTB_Button('ctl00_ContentPlaceHolder1_ctlMessage_FreeTextBox1_0_1','bold',null,null,false,null), new FTB_Button('ctl00_ContentPlaceHolder1_ctlMessage_FreeTextBox1_0_2','italic',null,null,false,null), new FTB_Button('ctl00_ContentPlaceHolder1_ctlMessage_FreeTextBox1_0_3','underline',null,null,false,null), new FTB_Button('ctl00_ContentPlaceHolder1_ctlMessage_FreeTextBox1_0_4','strikethrough',null,null,false,null), new FTB_Button('ctl00_ContentPlaceHolder1_ctlMessage_FreeTextBox1_1_0','',function() { this.ftb.DeleteContents(); },null,false,null), new FTB_Button('ctl00_ContentPlaceHolder1_ctlMessage_FreeTextBox1_1_1','undo',function() { this.ftb.Undo(); },null,false,function() { this.disabled=!this.ftb.CanUndo(); }), new FTB_Button('ctl00_ContentPlaceHolder1_ctlMessage_FreeTextBox1_1_2','redo',function() { this.ftb.Redo(); },null,false,function() { this.disabled=!this.ftb.CanRedo(); }), new FTB_Button('ctl00_ContentPlaceHolder1_ctlMessage_FreeTextBox1_2_0','insertimage',function() { this.ftb.InsertImage(); },null,false,null), new FTB_Button('ctl00_ContentPlaceHolder1_ctlMessage_FreeTextBox1_2_1','createlink',function() { this.ftb.CreateLink(); },null,false,null), new FTB_Button('ctl00_ContentPlaceHolder1_ctlMessage_FreeTextBox1_2_2','unlink',null,null,false,function() { var el = this.ftb.GetParentElement(); if (el.tagName && el.tagName.toLowerCase() != 'a') this.disabled = true; else this.disabled = false; }), new FTB_Button('ctl00_ContentPlaceHolder1_ctlMessage_FreeTextBox1_2_3','',function() { this.ftb.InsertTableWindow(); },null,false,null), new FTB_Button('ctl00_ContentPlaceHolder1_ctlMessage_FreeTextBox1_2_4','removeformat',null,null,false,null), new FTB_Button('ctl00_ContentPlaceHolder1_ctlMessage_FreeTextBox1_2_5','',function() { this.ftb.IeSpellCheck(); },null,false,null), new FTB_Button('ctl00_ContentPlaceHolder1_ctlMessage_FreeTextBox1_3_0','q0',function() { CiterText('ctl00_ContentPlaceHolder1_ctlMessage_FreeTextBox1','Auteur','Citation') },null,false,null), new FTB_Button('ctl00_ContentPlaceHolder1_ctlMessage_FreeTextBox1_3_1','o1',function() { InsertMedia('ctl00_ContentPlaceHolder1_ctlMessage_FreeTextBox1','wmp') },null,false,null), new FTB_Button('ctl00_ContentPlaceHolder1_ctlMessage_FreeTextBox1_3_2','o2',function() { InsertMedia('ctl00_ContentPlaceHolder1_ctlMessage_FreeTextBox1','real') },null,false,null), new FTB_Button('ctl00_ContentPlaceHolder1_ctlMessage_FreeTextBox1_3_3','o3',function() { InsertMedia('ctl00_ContentPlaceHolder1_ctlMessage_FreeTextBox1','flash') },null,false,null), new FTB_Button('ctl00_ContentPlaceHolder1_ctlMessage_FreeTextBox1_3_4','o4',function() { InsertMedia('ctl00_ContentPlaceHolder1_ctlMessage_FreeTextBox1','tab-bass') },null,false,null), new FTB_Button('ctl00_ContentPlaceHolder1_ctlMessage_FreeTextBox1_4_0','s1',function() { FTB_insertSmiley(this.ftb, getFTB_Button(this.ftb, "s1")) },null,false,null), new FTB_Button('ctl00_ContentPlaceHolder1_ctlMessage_FreeTextBox1_4_1','s2',function() { FTB_insertSmiley(this.ftb, getFTB_Button(this.ftb, "s2")) },null,false,null), new FTB_Button('ctl00_ContentPlaceHolder1_ctlMessage_FreeTextBox1_4_2','s3',function() { FTB_insertSmiley(this.ftb, getFTB_Button(this.ftb, "s3")) },null,false,null), new FTB_Button('ctl00_ContentPlaceHolder1_ctlMessage_FreeTextBox1_4_3','s4',function() { FTB_insertSmiley(this.ftb, getFTB_Button(this.ftb, "s4")) },null,false,null), new FTB_Button('ctl00_ContentPlaceHolder1_ctlMessage_FreeTextBox1_4_4','s5',function() { FTB_insertSmiley(this.ftb, getFTB_Button(this.ftb, "s5")) },null,false,null), new FTB_Button('ctl00_ContentPlaceHolder1_ctlMessage_FreeTextBox1_4_5','s6',function() { FTB_insertSmiley(this.ftb, getFTB_Button(this.ftb, "s6")) },null,false,null), new FTB_Button('ctl00_ContentPlaceHolder1_ctlMessage_FreeTextBox1_4_6','s7',function() { FTB_insertSmiley(this.ftb, getFTB_Button(this.ftb, "s7")) },null,false,null), new FTB_Button('ctl00_ContentPlaceHolder1_ctlMessage_FreeTextBox1_4_7','s8',function() { FTB_insertSmiley(this.ftb, getFTB_Button(this.ftb, "s8")) },null,false,null), new FTB_Button('ctl00_ContentPlaceHolder1_ctlMessage_FreeTextBox1_4_8','s9',function() { FTB_insertSmiley(this.ftb, getFTB_Button(this.ftb, "s9")) },null,false,null), new FTB_Button('ctl00_ContentPlaceHolder1_ctlMessage_FreeTextBox1_4_9','s10',function() { FTB_insertSmiley(this.ftb, getFTB_Button(this.ftb, "s10")) },null,false,null), new FTB_Button('ctl00_ContentPlaceHolder1_ctlMessage_FreeTextBox1_4_10','s11',function() { FTB_insertSmiley(this.ftb, getFTB_Button(this.ftb, "s11")) },null,false,null), new FTB_Button('ctl00_ContentPlaceHolder1_ctlMessage_FreeTextBox1_4_11','s12',function() { FTB_insertSmiley(this.ftb, getFTB_Button(this.ftb, "s12")) },null,false,null), new FTB_Button('ctl00_ContentPlaceHolder1_ctlMessage_FreeTextBox1_4_12','s13',function() { FTB_insertSmiley(this.ftb, getFTB_Button(this.ftb, "s13")) },null,false,null), new FTB_Button('ctl00_ContentPlaceHolder1_ctlMessage_FreeTextBox1_4_13','s14',function() { FTB_insertSmiley(this.ftb, getFTB_Button(this.ftb, "s14")) },null,false,null), new FTB_Button('ctl00_ContentPlaceHolder1_ctlMessage_FreeTextBox1_4_14','s15',function() { FTB_insertSmiley(this.ftb, getFTB_Button(this.ftb, "s15")) },null,false,null), new FTB_Button('ctl00_ContentPlaceHolder1_ctlMessage_FreeTextBox1_4_15','s16',function() { FTB_insertSmiley(this.ftb, getFTB_Button(this.ftb, "s16")) },null,false,null), new FTB_Button('ctl00_ContentPlaceHolder1_ctlMessage_FreeTextBox1_4_16','s17',function() { FTB_insertSmiley(this.ftb, getFTB_Button(this.ftb, "s17")) },null,false,null), new FTB_Button('ctl00_ContentPlaceHolder1_ctlMessage_FreeTextBox1_4_17','s18',function() { FTB_insertSmiley(this.ftb, getFTB_Button(this.ftb, "s18")) },null,false,null) ), new Array( new FTB_DropDownList('ctl00_ContentPlaceHolder1_ctlMessage_FreeTextBox1_0_0','forecolor',null,null,null) ), FTB_BREAK_BR, FTB_PASTE_TEXT, FTB_TAB_NEXTCONTROL, FTB_MODE_DESIGN, null, '/Themes/Default/FreeTextBox3.css', '', '', '', '', 'ftb.imagegallery.aspx?rif={0}&cif={0}', '~/images/', false, 21, 20 ); }); } else { ed = document.getElementById('ctl00_ContentPlaceHolder1_ctlMessage_FreeTextBox1_designEditor').contentWindow;ed.document.open(); ed.document.write('FreeTextBox has not been correctly installed. To install FreeTextBox either:
(1) add a reference to FtbWebResource.axd in web.config:
<system.web>
<httpHandlers>
<add verb="GET"
path="FtbWebResource.axd"
type="FreeTextBoxControls.AssemblyResourceHandler, FreeTextBox" />
</httpHandlers>
</system.web>
(2) Save the FreeTextBox image and javascript files to a location on your website and set up FreeTextBox as follows
<FTB:FreeTextBox id="FreeTextBox1" SupportFolder="ftbfileslocation" JavaScriptLocation="ExternalFile" ButtonImagesLocation="ExternalFile" ToolbarImagesLocation="ExternalFile" ButtonImagesLocation="ExternalFile" runat="server" />');ed.document.close(); } CONTENU_INTERDIT