亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? toolbar.js

?? .NET 網頁編輯器
?? JS
字號:
?var last_bk_color = "";
function bt_over(obj)
{
    obj = event.srcElement;
    var last_bk_color2 = obj.style.background;
    //alert(last_bk_color);
    if(last_bk_color == "")
        obj.style.background = "#ffffff";
    last_bk_color =  last_bk_color2
}

function bt_out(obj)
{
    obj = event.srcElement;
    obj.style.background = last_bk_color;
    last_bk_color=""
        
}



/*

*/
function ToolBar(editor)
{
    this._ImagePath = editor._ResourcePath+"images/ee/"+editor._Themes+"/";
    this._Editor = editor;
    
    this.Bar = editor.toolBar;
    this.BarDiv = editor.toolBarDiv;
        
    //build a button
    this.BuildButton = function (btInfo,handler)
    {
        var title = btInfo[1];
        var picurl = btInfo[0];
        
        if(!title) title="";
        var html = "";
        if(handler == null)
        {
            html = "<img src=\""+this._ImagePath+btInfo+"\" >"
            return createElement(html,this.BarDiv);
        }
        else
        {
            html = "<img title=\""+title+"\" onmouseover=\"bt_over(this);\" onmouseout=\"bt_out(this);\"";
            html +=" style=\"cursor:hand;background:#9EBEF5;\" ";
            html +=" src=\""+this._ImagePath+picurl+"\" onclick=\""+handler+";\">"
            var obj = createElement(html,this.BarDiv);
            obj.attachEvent("onclick",handler);
            obj.attachEvent("onmouseover",bt_over);
            obj.attachEvent("onmouseout",bt_out);
            return obj;
        }
        
    }
    
    this.BuildSelect = function(sel,handler)
    {
        var obj = createElement("SELECT",this.BarDiv);
        
        obj.style.cssText = sel.cssText;
        for(var i=0;i<sel.options.length;i++)
        {
            var _option = sel.options[i];
            if(_option.text == "") _option.text = _option.value;
            
            obj.options.add(new Option(_option.text,_option.value));
            obj.options[obj.options.length-1].style.cssText = _option.cssText;
                        
        }  
                       
        obj.attachEvent("onchange",handler);
               
        return obj;
    }
    
    this.BuildBar = function ()
    {       
        this.BuildSelect(UI.toolBar.Selects.Paragraph,this.Paragraph.bind(this));
        this.BuildSelect(UI.toolBar.Selects.FontName,this.FontName.bind(this));
        this.BuildSelect(UI.toolBar.Selects.FontSize,this.FontSize.bind(this));
        this.BuildButton(UI.toolBar.Seperater);        
        this.BuildSelect(UI.toolBar.Selects.ForeColor,this.ForeColor.bind(this));
        this.BuildButton(UI.toolBar.Buttons.ForeColor,this.ForeColorD.bind(this));
        this.BuildSelect(UI.toolBar.Selects.BackColor,this.BackColor.bind(this));
        this.BuildButton(UI.toolBar.Buttons.BackColor,this.BackColorD.bind(this));  
        this.BuildButton(UI.toolBar.Seperater); 
        this.BuildButton(UI.toolBar.Buttons.ZoomIn,this.ZoomIn.bind(this));
        this.BuildButton(UI.toolBar.Buttons.ZoomOut,this.ZoomOut.bind(this));        
        createElement("<br>",this.BarDiv);
        this.BuildButton(UI.toolBar.Buttons.Bold,this.Bold.bind(this)); 
        this.BuildButton(UI.toolBar.Buttons.Italic,this.Italic.bind(this)); 
        this.BuildButton(UI.toolBar.Buttons.Underline,this.Underline.bind(this)); 
        this.BuildButton(UI.toolBar.Buttons.Strikethrough,this.Strikethrough.bind(this)); 
        this.BuildButton(UI.toolBar.Buttons.Subscript,this.Subscript.bind(this)); 
        this.BuildButton(UI.toolBar.Buttons.Superscript,this.Superscript.bind(this));
        this.BuildButton(UI.toolBar.Seperater); 
        this.BuildButton(UI.toolBar.Buttons.Undo,this.Undo.bind(this)); 
        this.BuildButton(UI.toolBar.Buttons.Redo,this.Redo.bind(this)); 
        this.BuildButton(UI.toolBar.Buttons.Print,this.Print.bind(this));
        this.BuildButton(UI.toolBar.Seperater);  
        this.BuildButton(UI.toolBar.Buttons.Insertimagefromgallery,this.Gallery.bind(this)); 
        this.BuildButton(UI.toolBar.Buttons.Createlink,this.Createlink.bind(this)); 
        this.BuildButton(UI.toolBar.Buttons.Unlink,this.Unlink.bind(this)); 
        this.BuildButton(UI.toolBar.Buttons.Removeformat,this.Removeformat.bind(this));
        this.BuildButton(UI.toolBar.Seperater); 
        this.BuildButton(UI.toolBar.Buttons.Inserttime,this.Inserttime.bind(this)); 
        this.BuildButton(UI.toolBar.Buttons.Insertdate,this.Insertdate.bind(this)); 
        this.BuildButton(UI.toolBar.Buttons.Wordcount,this.Wordcount.bind(this));
        this.BuildButton(UI.toolBar.Seperater);  
        this.BuildButton(UI.toolBar.Buttons.Justifyright,this.Justifyright.bind(this)); 
        this.BuildButton(UI.toolBar.Buttons.Justifyleft,this.Justifyleft.bind(this)); 
        this.BuildButton(UI.toolBar.Buttons.Justifycenter,this.Justifycenter.bind(this)); 
        this.BuildButton(UI.toolBar.Seperater); 
        this.BuildButton(UI.toolBar.Buttons.Bullets,this.Bullets.bind(this)); 
        this.BuildButton(UI.toolBar.Buttons.Numberedlist,this.Numberedlist.bind(this)); 
        this.BuildButton(UI.toolBar.Buttons.Indent,this.Indent.bind(this)); 
        this.BuildButton(UI.toolBar.Buttons.Outdent,this.Outdent.bind(this)); 
        this.BuildButton(UI.toolBar.Seperater);    
        
        
    }
    
    this.BuildBar();
    
}


/*****************************
 *
 *    prototype extend
 *
 *****************************
*/


ToolBar.prototype.ZoomIn = function ()
{
     var obj = this._Editor.editorDiv;
     if(obj.style.pixelHeight == "")
        obj.style.pixelHeight = obj.offsetHeight;
     
     var old = obj.style.pixelHeight;
     if(old - 50 < 0) return;
     
     obj.style.pixelHeight -= 50;
     
     this._Editor.fitSize();
          
}

ToolBar.prototype.ZoomOut = function ()
{
     var obj = this._Editor.editorDiv;
     if(obj.style.pixelHeight == "")
        obj.style.pixelHeight = obj.offsetHeight;
        
     obj.style.pixelHeight += 50;
     
     this._Editor.fitSize();
         
}


/*
    toolbutton 's eventHandler
*/
ToolBar.prototype.execCommand = function(p1,p2,p3){this._Editor.execCommand(p1,p2,p3);};

ToolBar.prototype.Paragraph = function (){
    var obj=event.srcElement;
    var value = obj.options[obj.selectedIndex].value;
	this.execCommand("formatBlock", "false",value);
}
/*

*/
ToolBar.prototype.ForeColor = function (){
    var obj=event.srcElement;
    var value = obj.options[obj.selectedIndex].value;
	this.execCommand("ForeColor", "false",value);
}
/*

*/
ToolBar.prototype.BackColor = function (){
    var obj=event.srcElement;
    var value = obj.options[obj.selectedIndex].value;
	this.execCommand("BackColor", "false", value);
}
/*

*/
ToolBar.prototype.FontSize = function (){
    var obj=event.srcElement;
    var value = obj.options[obj.selectedIndex].value;
    this.execCommand("FontSize", "false", value);
}
/*

*/
ToolBar.prototype.FontName = function (){
    var obj=event.srcElement;
    var value = obj.options[obj.selectedIndex].value;
    this.execCommand("FontName", "false", value);
}
/*

*/
ToolBar.prototype.Removeformat = function (){
	this.execCommand("removeformat");
}


/*
參數:left/center/right
*/
ToolBar.prototype.Justifyleft = function(){this.Justify("left");}
ToolBar.prototype.Justifycenter = function(){this.Justify("center");}
ToolBar.prototype.Justifyright = function(){this.Justify("right");}
ToolBar.prototype.Justify = function Justify(aStr){
	switch(aStr){
	case "left":
		this.execCommand("JustifyLeft");
		break;
	case "center":
		this.execCommand("JustifyCenter");
		break;
	case "right":
		this.execCommand("JustifyRight");
		break;
	default:
		return false;
	}
}


/*
字體顏色
*/
ToolBar.prototype.ForeColorD = function ForeColorD(){
	var arr = showModalDialog(this._Editor._ResourcePath+"Dialogs/selcolor.htm", window, "dialogWidth:300px; dialogHeight:300px; status:0; help:0");
	if (arr)
	{
		this.ForeColor(arr);
		
	}
	this._Editor.focus();
}
/*
字體背景顏色
*/
ToolBar.prototype.BackColorD = function BackColorD(){
	var arr = showModalDialog(this._Editor._ResourcePath+"Dialogs/selcolor.htm", window, "dialogWidth:300px; dialogHeight:300px; status:0; help:0");
	if (arr)
	{
		this.BackColor(arr);
	}
	this._Editor.focus();
}
/*

*/
//文字加粗
ToolBar.prototype.Bold = function (){
	this.execCommand("bold");
	
}
//傾斜
ToolBar.prototype.Italic = function (){
	this.execCommand("italic");
}
//下劃線
ToolBar.prototype.Underline = function (){
	this.execCommand("underline");
}
ToolBar.prototype.Strikethrough = function () { 
	this.execCommand("strikethrough");
}
ToolBar.prototype.Superscript = function () { 
	this.execCommand("Superscript");
}
ToolBar.prototype.Subscript = function () { 
	this.execCommand("Subscript");
}
ToolBar.prototype.Undo = function () { 
	this.execCommand("undo");
}
ToolBar.prototype.Redo = function () { 
	this.execCommand("redo");
}
ToolBar.prototype.Print = function () { 
	this.execCommand("print");
}
//超鏈接
ToolBar.prototype.Createlink = function (){
	this.execCommand("createlink");
}
//取消鏈接
ToolBar.prototype.Unlink = function unurl(){
	this.execCommand("unlink");
}


/*
    Insert operations
*/
ToolBar.prototype.Insertdate = function ()
{
    this._Editor.insertText(new Date().toLocaleDateString());
}
ToolBar.prototype.Inserttime = function ()
{
    this._Editor.insertText(new Date().toLocaleTimeString());
}
ToolBar.prototype.Wordcount = function ()
{
    this._Editor.WordCount();
}
/*

*/

ToolBar.prototype.Bullets = function (){
	this.execCommand("insertunorderedlist");
		
}
ToolBar.prototype.Numberedlist = function (){
	this.execCommand("insertorderedlist");
		
}
ToolBar.prototype.Indent = function (){
	this.execCommand("indent");
		
}
ToolBar.prototype.Outdent = function (){
	this.execCommand("outdent");
		
}
/*
    external dialog
*/

ToolBar.prototype.Gallery = function ()
{
    var folder = 'ee_client/images/upload/';
	var galleryscript = this._Editor._ResourcePath+'Dialogs/imagegallery.aspx?rif='+folder+'&cif='+folder;
	//if (parameters && parameters != '') galleryscript += '&' + parameters;
	
	var imgArr = showModalDialog(galleryscript,window,'dialogWidth:560px; dialogHeight:500px;help:0;status:0;resizeable:1;');

	if (imgArr != null) {
		var imagestring = '<IMG SRC="' + imgArr['filename'] + '" HEIGHT=' + imgArr['height'] + ' WIDTH=' + imgArr['width'] + ' BORDER=0>';
		this._Editor.insertHTML(imagestring);
	} else {
		//alert("您沒有選擇圖片。");
	}
}


/*

*/







/*
    footBar

*/

function footBar(editor)
{
    this._ImagePath = editor._ResourcePath+"images/ee/"+editor._Themes+"/";
    this._Editor = editor;
    
    this.Bar = editor.footBar;
    this.BarDiv = editor.footBarDiv;
    
    //build a button
    this.BuildButton = function (btInfo,handler)
    {
        
        var title = btInfo[1];
        var picurl = btInfo[0];
        
        if(!title) title="";
        var html = "";
        var obj=null;
        if(handler == null)
        {
            html = "<img src=\""+this._ImagePath+btInfo+"\" >"
            return createElement(html,this.BarDiv);
        }
        else
        {
        
            if(typeof(btInfo) == "string")
            {
                
                html = btInfo;
                obj = createElement(html,this.BarDiv);
            }else{
                html = "<img title=\""+title+"\" onmouseover=\"bt_over(this);\" onmouseout=\"bt_out(this);\"";
                html +=" style=\"cursor:hand;background:#9EBEF5;\" ";
                html +=" src=\""+this._ImagePath+picurl+"\" onclick=\""+handler+";\">"
                obj = createElement(html,this.BarDiv);
            }
            obj.attachEvent("onclick",handler);
            obj.attachEvent("onmouseover",bt_over);
            obj.attachEvent("onmouseout",bt_out);
            return obj;
        }
        
    }
    
    this.BuildBar = function ()
    {
        this.BuildButton(UI.footBar.Buttons.Mod,this.Mod.bind(this));
    
    }
    
    this.BuildBar();
        
    
}

 /*
        改變MOD
 */
footBar.prototype.Mod = function(){
   var sender = event.srcElement;
         
    if(sender.value=="HTML")
    {
        sender.value="VIEW";
        this._Editor.SetMod(1);
    }else{
        sender.value="HTML";
        this._Editor.SetMod(0);
    }
        
    
}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
91福利在线看| 久久精品人人做人人爽人人| 日韩电影免费一区| 制服丝袜成人动漫| 久久99久久精品| 国产视频在线观看一区二区三区| 成人一区二区在线观看| 亚洲人123区| 精品婷婷伊人一区三区三| 日韩和欧美一区二区| 精品久久久网站| 成人性生交大片免费看中文 | 中文字幕亚洲一区二区av在线 | 欧美日韩国产高清一区二区三区 | 久久婷婷国产综合精品青草| 国产成人亚洲综合色影视| 亚洲欧美日韩一区二区| 欧美另类高清zo欧美| 精品一区免费av| 国产精品国产成人国产三级| 欧美午夜精品久久久久久孕妇| 青青草国产精品97视觉盛宴| 国产日韩欧美高清在线| 在线免费观看日本一区| 麻豆91小视频| 国产精品久久久久久久久图文区| 日本大香伊一区二区三区| 秋霞影院一区二区| 国产精品久久福利| 这里只有精品免费| 成人黄色小视频| 天堂成人免费av电影一区| 国产日韩亚洲欧美综合| 欧美日韩综合在线免费观看| 国产精品一二三区| 亚洲图片欧美色图| 久久精品一区八戒影视| 欧美日韩另类一区| 国产a视频精品免费观看| 亚洲制服欧美中文字幕中文字幕| 欧美videofree性高清杂交| 99久久精品国产一区| 日本欧美一区二区三区乱码| 国产精品久久久久四虎| 日韩视频一区在线观看| av亚洲精华国产精华精华| 美女尤物国产一区| 亚洲综合无码一区二区| 国产网站一区二区三区| 91麻豆精品国产91久久久久久| 成人手机电影网| 久久国产剧场电影| 亚洲在线视频一区| 国产精品麻豆一区二区| 欧美电视剧在线观看完整版| 色婷婷香蕉在线一区二区| 国产露脸91国语对白| 五月天激情综合网| 亚洲色图第一区| www国产精品av| 欧美日韩国产a| 91麻豆免费看片| 国产一区二区日韩精品| 日韩国产欧美在线观看| 亚洲精品自拍动漫在线| 国产欧美精品在线观看| 精品久久久久一区二区国产| 欧美性极品少妇| 91天堂素人约啪| 国产精品亚洲综合一区在线观看| 日本免费新一区视频| 亚洲国产精品一区二区久久| 亚洲视频一区在线观看| 国产农村妇女毛片精品久久麻豆| 日韩精品中文字幕在线不卡尤物 | 成人欧美一区二区三区黑人麻豆 | 国产精品日韩精品欧美在线| 精品99一区二区| 8x福利精品第一导航| 在线影视一区二区三区| 97久久精品人人做人人爽| 国产99久久久国产精品潘金 | 精品国产凹凸成av人网站| 欧美三级在线播放| 日本道精品一区二区三区| 99久久精品免费| 成人av资源下载| 成人综合在线网站| 国产黄色精品视频| 国产一区二区主播在线| 日本女人一区二区三区| 三级欧美韩日大片在线看| 亚洲综合色区另类av| 一区二区三区日韩精品视频| 成人免费在线播放视频| 国产精品美女久久久久aⅴ | 国产精品18久久久久久久久久久久| 免费欧美高清视频| 日韩av一区二| 日日夜夜免费精品| 日韩电影在线观看网站| 日韩国产精品久久久久久亚洲| 亚洲一区二区三区美女| 亚洲激情成人在线| 亚洲一区二区三区四区五区中文| 一区二区三区91| 一区二区三区中文字幕电影| 亚洲男人天堂一区| 亚洲综合一区在线| 丝袜美腿成人在线| 另类人妖一区二区av| 极品美女销魂一区二区三区| 精品一区二区三区免费毛片爱 | 国产v综合v亚洲欧| 成人激情av网| 色综合天天综合网天天看片| 日本精品免费观看高清观看| 在线视频你懂得一区| 欧美无砖砖区免费| 337p亚洲精品色噜噜噜| 精品日韩在线一区| 国产亚洲一区二区三区| 国产精品久久久久一区| 亚洲激情网站免费观看| 婷婷六月综合亚洲| 另类的小说在线视频另类成人小视频在线 | 欧美国产精品一区二区三区| 中文字幕不卡的av| 亚洲精品国产a久久久久久 | 日韩黄色免费电影| 捆绑调教美女网站视频一区| 狠狠色综合色综合网络| 国产成人精品一区二| 色综合久久久久网| 欧美日韩午夜精品| 欧美mv日韩mv国产网站app| 久久九九久久九九| 亚洲精品国产精华液| 五月天亚洲婷婷| 国产精品自拍三区| 91色九色蝌蚪| 欧美精品日日鲁夜夜添| 欧美精品一区二区三区高清aⅴ | 欧美一级专区免费大片| 久久久久国产精品麻豆ai换脸 | 日韩一区有码在线| 午夜av区久久| 国产麻豆成人传媒免费观看| 99久久国产免费看| 在线综合视频播放| 国产免费成人在线视频| 一区二区三区精品久久久| 免费一级片91| av电影在线观看完整版一区二区| 欧美视频精品在线| 26uuu亚洲综合色欧美| 亚洲欧美一区二区在线观看| 日韩av中文在线观看| 成人精品一区二区三区四区| 欧美三区免费完整视频在线观看| 亚洲精品一区二区三区99| 亚洲精选在线视频| 韩国女主播成人在线观看| 91麻豆国产精品久久| 日韩欧美国产午夜精品| 日韩美女啊v在线免费观看| 日韩经典一区二区| 9色porny自拍视频一区二区| 91精品国产综合久久蜜臀| 国产精品女上位| 奇米色一区二区三区四区| fc2成人免费人成在线观看播放 | 免费av网站大全久久| 成人av资源在线观看| 日韩一二在线观看| 日韩理论在线观看| 久草热8精品视频在线观看| 99精品视频一区| 精品国产乱码久久久久久浪潮| 亚洲精品免费在线| 国产成人8x视频一区二区| 555夜色666亚洲国产免| 中文字幕字幕中文在线中不卡视频| 美女被吸乳得到大胸91| 色诱视频网站一区| 国产人伦精品一区二区| 日本不卡一区二区| 在线影院国内精品| 国产精品三级视频| 韩国欧美国产1区| 欧美精品久久久久久久多人混战| 亚洲欧洲在线观看av| 国产麻豆精品视频| 日韩无一区二区| 亚洲一二三专区| 成人午夜免费视频| 精品88久久久久88久久久| 午夜伦欧美伦电影理论片| 91免费观看在线| 欧美国产激情一区二区三区蜜月|