-
大小: 3.49MB文件类型: .rar金币: 2下载: 0 次发布日期: 2023-11-16
- 语言: JavaScript
- 标签: jquery 网络书店
资源简介
完整的一套网络书店系统,可以学习jquery的好的例子

代码片段和文件信息
“““
FCKeditor - The text editor for Internet - http://www.fckeditor.net
Copyright (C) 2003-2007 Frederico Caldeira Knabben
== BEGIN LICENSE ==
Licensed under the terms of any of the following licenses at your
choice:
- GNU General Public License Version 2 or later (the “GPL“)
http://www.gnu.org/licenses/gpl.html
- GNU Lesser General Public License Version 2.1 or later (the “LGPL“)
http://www.gnu.org/licenses/lgpl.html
- Mozilla Public License Version 1.1 or later (the “MPL“)
http://www.mozilla.org/MPL/MPL-1.1.html
== END LICENSE ==
File Name: fckeditor.py
This is the integration file for Python.
File Authors:
Andrew Liu (andrew@liuholdings.com)
“““
import cgi
import os
import string
def escape(text replace=string.replace):
“““Converts the special characters ‘<‘ ‘>‘ and ‘&‘.
RFC 1866 specifies that these characters be represented
in HTML as < > and & respectively. In Python
1.5 we use the new string.replace() function for speed.
“““
text = replace(text ‘&‘ ‘&‘) # must be done 1st
text = replace(text ‘<‘ ‘<‘)
text = replace(text ‘>‘ ‘>‘)
text = replace(text ‘“‘ ‘"‘)
text = replace(text “‘“ ‘‘‘)
return text
# The FCKeditor class
class FCKeditor(object):
def __init__(self instanceName):
self.InstanceName = instanceName
self.basePath = ‘/fckeditor/‘
self.Width = ‘100%‘
self.Height = ‘200‘
self.ToolbarSet = ‘Default‘
self.Value = ‘‘;
self.Config = {}
def Create(self):
return self.CreateHtml()
def CreateHtml(self):
HtmlValue = escape(self.Value)
Html = ““
if (self.IsCompatible()):
File = “fckeditor.html“
link = “%seditor/%s?InstanceName=%s“ % (
self.basePath
File
self.InstanceName
)
if (self.ToolbarSet is not None):
link += “&ToolBar=%s“ % self.ToolbarSet
# Render the linked hidden field
Html += “yle=\“display:none\“ />“ % (
self.InstanceName
self.InstanceName
HtmlValue
)
# Render the configurations hidden field
Html += “yle=\“display:none\“ />“ % (
self.InstanceName
self.GetConfigFieldString()
)
# Render the editor iframe
Html += “rame id=\“%s\__frame\“ src=\“%s\“ width=\“%s\“ height=\“%s\“ frameborder=\“0\“ scrolling=\“no\“> rame>“ % (
self.InstanceName
link
self.Width
self.Height
)
else:
if (self.Width.find(“%%“) < 0):
WidthCSS = “%spx“ % self.Width
else:
WidthCSS = self.Width
if (self.Height.find(“%%“) < 0):
HeightCSS = “%spx“ % self.Height
else:
HeightCSS = self.Height
Html += ““ % (
self.InstanceName
Wid
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 1433600 2008-03-05 22:17 code\access\cust.mdb
文件 9411 2007-05-16 09:20 code\admin\admin.asp
文件 147 2007-05-04 10:25 code\admin\login-out.asp
文件 5645 2007-05-12 16:33 code\admin\login.asp
文件 932 2007-03-20 11:10 code\admin-do\add-admin.asp
文件 722 2007-03-02 15:14 code\admin-do\add-backup.asp
文件 1228 2007-05-05 10:03 code\admin-do\add-book.asp
文件 1488 2007-03-27 10:29 code\admin-do\add-class.asp
文件 599 2007-05-14 10:28 code\admin-do\add-news.asp
文件 2057 2007-03-21 09:07 code\admin-do\brush-admin.asp
文件 3825 2007-05-16 09:28 code\admin-do\brush-back.asp
文件 943 2007-03-02 15:12 code\admin-do\brush-backup.asp
文件 3899 2007-05-12 15:53 code\admin-do\brush-book-lack.asp
文件 4122 2007-05-12 17:13 code\admin-do\brush-book-order.asp
文件 3907 2007-05-12 15:52 code\admin-do\brush-book.asp
文件 1339 2007-05-03 21:14 code\admin-do\brush-class.asp
文件 4125 2007-03-20 11:04 code\admin-do\brush-news.asp
文件 4177 2007-03-20 11:02 code\admin-do\brush-user.asp
文件 772 2007-03-20 11:15 code\admin-do\check.asp
文件 332 2007-03-18 21:44 code\admin-do\del-admin.asp
文件 319 2007-05-16 09:29 code\admin-do\del-back.asp
文件 564 2007-03-02 15:44 code\admin-do\del-backup.asp
文件 322 2007-05-12 15:46 code\admin-do\del-book-lack.asp
文件 318 2007-05-12 17:14 code\admin-do\del-book-order.asp
文件 317 2007-05-04 10:05 code\admin-do\del-book.asp
文件 425 2007-05-03 21:12 code\admin-do\del-class.asp
文件 331 2007-03-18 21:44 code\admin-do\del-news.asp
文件 317 2007-03-11 22:22 code\admin-do\del-user.asp
文件 511 2007-03-20 11:07 code\admin-do\edit-admin.asp
文件 401 2007-03-13 13:21 code\admin-do\edit-lang.asp
............此处省略822个文件信息
相关资源
- jQuery新年年会随机手机号码滚动抽奖
- jQuery实现上下拖动进行排序排序
- js丶jQuery碰撞物体小游戏(字母丶数字
- jquery模块滚动切换(jscrollpane)
- LigerUI是基于jQuery的UI框架
- jQuery插件页面滚动返回顶部按钮(s
- jQuery美团酒店入住日期代码
- 图片轮播+图片放大(基于jquery.exzoo
-
ja
vasc ript中jQuery中胡DOM操作 - jQuery图片放大缩小双击还原_zoom0305j
- jQuery+HTML5条形码生成代码
- jQuery自动弹窗
- jquery图片水印插件
- jQuery多级复选框选中代码
- jQuery插件编写步骤.doc
- jquery图片裁切(基于jquery.cropzoom)
- jQuery form表单美化代码
- jQuery仿Excel表格列表排序代码
- jQuery仿淘宝手机端带视频图片轮播.
- jQuery拖拽排序布局插件
- jQuery拖拽排序插件DDSort.js
- jquery实现鼠标悬停在图片上的放大效
- 基于jquery的图片收缩与放大效果
- jQuery头像裁剪前端代码
- jQuery头像图片裁剪尺寸插件
- jquery-3.2.1.min.jssockjs-0.3.min.jsstomp.js
- jQuery2.0.3开发版
- jQuery网页版俄罗斯方块游戏代码
- jQuery CSS3带前后按钮控制旋转木马动画
- jQuery CSS3云朵飘动动画特效
评论
共有 条评论