点击回首页
我的浏览记录 | | 帮助?
当前位置:
首页>> 企业网站>> MVC通用企业门户网站源码>> 源文件浏览
[商业版 299金币] WebForm,下载次数:33 次 | 关键字: mvc easyui 门户网站

源码截图

源码目录树

当前路径:PD.Web/Scripts/kindeditor/examples/total.html     <!doctype html>
<html>
	<head>
		<meta charset="utf-8" />
		<title>KindEditor Examples</title>
		<style>
			.ke-tabs-example li {
				padding: 0 5px;
			}
			.ke-icon-example1 {
				background-image: url(../skins/default/default.gif);
				background-position: 0px -672px;
				width: 16px;
				height: 16px;
			}
			.ke-icon-example2 {
				background-image: url(../skins/default/default.gif);
				background-position: 0px -672px;
				width: 16px;
				height: 16px;
			}
		</style>
		<link rel="stylesheet" href="../themes/default/default.css" />
		<link rel="stylesheet" href="../themes/simple/simple.css" />
		<script charset="utf-8" src="../kindeditor-min.js"></script>
		<script charset="utf-8" src="../lang/zh_CN.js"></script>
		<script>
			// ??????????????? #1
			KindEditor.lang({
				example1 : '??????HTML'
			});
			KindEditor.plugin('example1', function(K) {
				var self = this, name = 'example1';
				self.clickToolbar(name, function() {
					self.insertHtml('<strong>????????????</strong>');
				});
			});
			// ??????????????? #2
			KindEditor.lang({
				example2 : 'CLASS??????'
			});
			KindEditor.plugin('example2', function(K) {
				var self = this, name = 'example2';
				function click(value) {
					var cmd = self.cmd;
					if (value === 'adv_strikethrough') {
						cmd.wrap('<span style="background-color:#e53333;text-decoration:line-through;"></span>');
					} else {
						cmd.wrap('<span class="' + value + '"></span>');
					}
					cmd.select();
					self.hideMenu();
				}
				self.clickToolbar(name, function() {
					var menu = self.createMenu({
						name : name,
						width : 150
					});
					menu.addItem({
						title : '????????????',
						click : function() {
							click('red');
						}
					});
					menu.addItem({
						title : '????????????',
						click : function() {
							click('green');
						}
					});
					menu.addItem({
						title : '????????????',
						click : function() {
							click('yellow');
						}
					});
					menu.addItem({
						title : '??????????????????',
						click : function() {
							click('adv_strikethrough');
						}
					});
				});
			});
			function getParam(url, name) {
				return url.match(new RegExp('[?&]' + name + '=([^?&]+)', 'i')) ? unescape(RegExp.$1) : '';
			}
			KindEditor.ready(function(K) {
				var tabTitleList = ['????????????', '????????????', '????????????', '?????????', '????????????', '??????????????????', '????????????', 'HTML??????', 'URL??????', '???????????????', '???????????????'];
				var optionMap = {
					'content0' : {
						cssPath : '../plugins/code/prettify.css',
						allowFileManager : true
					},
					'content1' : {
						cssPath : '../plugins/code/prettify.css',
						resizeType : 1,
						allowPreviewEmoticons : false,
						allowImageUpload : false,
						items : [
							'fontname', 'fontsize', '|', 'forecolor', 'hilitecolor', 'bold', 'italic', 'underline',
							'removeformat', '|', 'justifyleft', 'justifycenter', 'justifyright', 'insertordered...
对不起,完整源码文件,请先购买后再查看
关于我们 | 顾问团队 | 发展历程 | 联系我们 | 源码上传
联系电话(Tel):4008-010-151(免长途) 企业QQ:2852517674
地址:北京市海淀区中关村鼎好大厦A座二层 邮编:100080
Room A-801,Dinghao Building,Zhongguancun,Beijing,China,100080
51Aspx.com 版权所有 CopyRight © 2006-2015. 京ICP备09089570号 | 京公网安备11010702000869号
分享该页面
关闭侧边栏