freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

在asp中fckeditor的使用手冊(cè)-資料下載頁(yè)

2025-06-29 01:10本頁(yè)面
  

【正文】 --------------------------- script. type=”text/javascript” var FCKeditor = new FCKeditor( ‘fbContent’ )。 % if power = powercode then % [’LinkBrowser’] = true。 [’ImageBrowser’] = true。 [’FlashBrowser’] = true。 [’LinkUpload’] = true。 [’ImageUpload’] = true。 [’FlashUpload’] = true。 % end if % = ‘Basic’。 = ‘100%’。 = ‘200′。 = ‘’。 ()。 /script------------------------------------- 在按鈕旁邊加文字 ------------------------------------- 打開 editor/js/兩個(gè)js文件 第一個(gè)是支持非ie瀏覽器的 第二個(gè)文件是支持ie瀏覽器的 搜索FCKToolbarButton,可以看到許多類似這樣的語(yǔ)句: case ‘Save’:B = new FCKToolbarButton(’Save’, , null, null, true, null, 3)。 break。 ‘Save’是按鈕英文名字 FCKToolbarButton的四個(gè)參數(shù)分別是: 按鈕命令名稱,按鈕標(biāo)簽文字,按鈕工具提示,按鈕樣式,按鈕是否在源代碼 模式可見,按鈕下拉菜單其中將第4項(xiàng)參數(shù)設(shè)置為FCK_TOOLBARITEM_ICONTEXT即可使按鈕旁邊出現(xiàn) 文字,注意沒(méi)有引號(hào)。 例如: case ‘Preview’:B = new FCKToolbarButton(’Preview’, , null, FCK_TOOLBARITEM_ICONTEXT, true, null, 5)。這樣我們就可以將 我們經(jīng)常用的3種模式源代碼、預(yù)覽、全屏編輯按鈕都加上文字了。 解釋fck樣式的工作原理 ------------------------------------- fck的樣式設(shè)置涉及到了兩個(gè)文件,另一個(gè)是告訴fck樣式表如何使用的xml文件,兩個(gè)文件確一不可。 css文件的位置是不做要求的,但是需要你在應(yīng)用的編輯器的頁(yè)面上插入樣 式表文件的鏈接。這樣才能顯示出來(lái)樣式。 。該文件定義了 那些樣式可以使用在那些標(biāo)簽里面。 這就是fck自帶的樣式xml定義: ?xml version=”″ encoding=”utf8″ ? Styles Style name=”Image on Left” element=”img” Attribute name=”style” value=”padding: 5px。 marginright: 5px” / Attribute name=”border” value=”2″ / Attribute name=”align” value=”left” / /Style Style name=”Image on Right” element=”img” Attribute name=”style” value=”padding: 5px。 marginleft: 5px” / Attribute name=”border” value=”2″ / Attribute name=”align” value=”right” / /Style Style name=”Custom Bold” element=”span” Attribute name=”style” value=”fontweight: bold?!?/ /Style Style name=”Custom Italic” element=”em” / Style name=”Title” element=”span” Attribute name=”class” value=”Title” / /Style Style name=”Code” element=”span” Attribute name=”class” value=”Code” / /Style Style name=”Title H3″ element=”h3″ / Style name=”Custom Ruler” element=”hr” Attribute name=”size” value=”1″ / Attribute name=”color” value=”ff0000″ / /Style /Styles每一個(gè)style將來(lái)會(huì)生成一個(gè)樣式的菜單項(xiàng)。name名稱就是顯示在菜單里的文字;element定義了該樣式可以應(yīng)用在那種 html標(biāo)簽上,Attribute的 name指定了將會(huì)修改標(biāo)簽的哪個(gè)屬性來(lái)應(yīng)用樣式,value則是修改成的值。 看這個(gè): Style name=”Title” element=”span” Attribute name=”class” value=”Title” / /Style如果你在fck選定了文字 “經(jīng)典論壇 》 前臺(tái)制作與腳本專欄 》 FCKeditor實(shí)戰(zhàn)技巧 1》 編輯帖子”應(yīng)用該樣式 則原來(lái)文字就會(huì)變成span class=”Title”經(jīng)典論壇 》 前 臺(tái)制作與腳本專欄 》 FCKeditor實(shí)戰(zhàn)技巧 1》 編輯帖子/span注意:如果編輯器呈整頁(yè)編輯狀態(tài),那么整頁(yè)里面也需要插入樣式表鏈接才能 顯示出來(lái)樣式。 ============================================ FCKeditor JavaScript. API(翻譯整理) 原文地址:-------------------------------------------- FCK編輯器加載后,將會(huì)注冊(cè)一個(gè)全局的 FCKeditorAPI對(duì)象。 FCKeditorAPI對(duì)象在頁(yè)面加載期間是無(wú)效的,直到頁(yè)面加載完 成。如果需要交互式地知道 FCK編輯器已經(jīng)加載完成,可使用“FCKeditor_OnComplete”函數(shù)。 script. type=”text/javascript” function FCKeditor_OnComplete(editorInstance) { (’FCKeditor1′).(’FitWindow’).Execute()。 } /script在當(dāng)前頁(yè)獲得 FCK編輯器實(shí)例: var Editor = (’InstanceName’)。從 FCK編輯器的彈出窗口中獲得 FCK編輯器實(shí)例: var Editor = ().FCK。從框架頁(yè)面的子框架中獲得其它子框架的 FCK編輯器實(shí)例: var Editor = (’InstanceName’)。從頁(yè)面彈出窗口中獲得父窗口的FCK編輯器實(shí)例: var Editor = (’InstanceName’)。獲得 FCK編輯器的內(nèi)容: (formatted)。 // formatted為:true|false,表示是否按HTML格式取出 也可用: ()。設(shè)置 FCK編輯器的內(nèi)容: (”content”, false)。 //第二個(gè)參數(shù)為:true|false,是否以所見即所得方式設(shè)置其內(nèi)容。此方法常用于“設(shè)置初始值”或“表單重置”操作。 插入內(nèi)容到 FCK編輯器: (”html”)。 // “html”為HTML文本 檢查 FCK編輯器內(nèi)容是否發(fā)生變化: ()。在 FCK編輯器之外調(diào)用 FCK編輯器工具條命令: 命令列表如下: -------------------------------------------- DocProps, Templates, Link, Unlink, Anchor, BulletedList, NumberedList, About, Find, Replace, Image, Flash, SpecialChar, Smiley, Table, TableProp, TableCellProp, UniversalKey, Style, FontName, FontSize, FontFormat, Source, Preview, Save, NewPage, PageBreak, TextColor, BGColor, PasteText, PasteWord, TableInsertRow, TableDeleteRows, TableInsertColumn, TableDeleteColumns, TableInsertCell, TableDeleteCells, TableMergeCells, TableSplitCell, TableDelete, Form, Checkbox, Radio, TextField, Textarea, HiddenField, Button, Select, ImageButton, SpellCheck, FitWindow, Undo, Redo-------------------------------------------- 使用方法如下: -------------------------------------------- (’FitWindow’).Execute()。-----------------------------------
點(diǎn)擊復(fù)制文檔內(nèi)容
環(huán)評(píng)公示相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1