公告 [2024-09-21]欢迎欢迎!~~热烈欢迎!
[2024-09-28]Div+CSS布局入门教程(一)。
[2024-09-22] PJblog基本配置美化修改合集【转载】
[2024-09-28]PJBlog皮肤layout.css中文对照
[2024-09-27]欢迎大家参与到日志评分中,评选出自己喜欢的日志。
[2024-09-24]重装PJBLOG系统-必须备份的文件
[2024-09-1]陈冠希博客小提示:纵使发表评论不用注册,但是为鸟保护你滴发言权,建议您不要乱评论。


在SKINS/主题目录/UBB/目录下,找到editor.css文件

找到图片中的css位置

查看更多...

Tags: pjblog

分类:Excel笔记 | 评论: 0 | 浏览量: 5

修改处:

修改文件路径:

Template/Article.asp

查看更多...

Tags: pjblog

分类:Excel笔记 | 评论: 0 | 浏览量: 7

简单的说就是下载一个开发版本,把ASP目录中的所有文件覆盖原来的,就可以了

开发板:

asp.zip

asp里面上传组件uploader.class.asp里的CheckOrCreatePath修改如下:

查看更多...

Tags: ueditor

分类:技术资料 | 评论: 0 | 浏览量: 31

标题居中

我在左边

我是颜色

查看更多...

分类:程序代码 | 评论: 0 | 浏览量: 6

在UEditor官网github.com/fex-team/ueditor/releases下载ASP版本文件(ueditor1_4_3_3-utf8-asp.zip),解压到PJBlog根目录UEditor文件夹中,然后按照下边方法修改即可。

第一步:创建一个新的asp文件(UEditor.asp)

ASP/Visual Basic代码
  1. <%  
  2. Class UEditor  
  3.   
  4.     private sBasePath  
  5.     private sInstanceName  
  6.     private sWidth  
  7.     private sHeight  
  8.     private sToolbarSet  
  9.     private sValue  
  10.   
  11.     Private Sub Class_Initialize()  
  12.         sBasePath        = "/UEditor"  
  13.         sWidth            = "100%"  
  14.         sHeight            = "200px"  
  15.         sToolbarSet        = "Default"  
  16.         sValue            = ""  
  17.     End Sub  
  18.   
  19.     Public Property Let BasePath( basePathValue )  
  20.         sBasePath = basePathValue  
  21.     End Property  
  22.   
  23.     Public Property Let InstanceName( instanceNameValue )  
  24.         sInstanceName = instanceNameValue  
  25.     End Property  
  26.   
  27.     Public Property Let Width( widthValue )  
  28.         sWidth = widthValue  
  29.     End Property  
  30.   
  31.     Public Property Let Height( heightValue )  
  32.         sHeight = heightValue  
  33.     End Property  
  34.   
  35.     Public Property Let ToolbarSet( toolbarSetValue )  
  36.         sToolbarSet = toolbarSetValue  
  37.     End Property  
  38.   
  39.     Public Property Let Value( newValue )  
  40.         If ( IsNull( newValue ) or IsEmpty( newValue ) ) Then  
  41.             sValue = ""  
  42.         Else  
  43.             sValue = newValue  
  44.         End If  
  45.     End Property  
  46.   
  47.     ' Generates the instace of the editor in the HTML output of the page.  
  48.     Public Sub Create( instanceName )  
  49.         response.write CreateHtml( instanceName )  
  50.     end Sub  
  51.   
  52.     ' Returns the html code that must be used to generate an instance of UEditor.  
  53.     Public Function CreateHtml( instanceName )  
  54.         dim html  
  55.   
  56.         html = ""  
  57.   
  58.         '加载编辑器的容器  
  59.         html = html &  Replace(Replace(Replace(Replace("<script id=""{0}"" name=""{0}"" type=""text/plain"" style=""width:{1};height:{2};"">{3}</script>""{0}", instanceName), "{1}", sWidth), "{2}", sHeight), "{3}", sValue)  
  60.         '实例化编辑器  
  61.         If sToolbarSet="Basic" Then  
  62.             html = html & Replace("<script type=""text/javascript"">UE.getEditor('{0}', {toolbars: [['fullscreen', 'source', 'undo', 'redo', 'bold']]});</script>""{0}", instanceName)  
  63.         Else  
  64.             html = html & Replace("<script type=""text/javascript"">UE.getEditor('{0}', {toolbars: [['fullscreen', 'source', '|', 'customstyle', 'paragraph', 'fontfamily', 'fontsize', '|','indent', 'justifyleft', 'justifycenter', 'justifyright', 'justifyjustify', '|','undo', 'redo', '|','bold', 'italic', 'underline', 'fontborder', 'strikethrough', 'superscript', 'subscript', 'removeformat', 'formatmatch', 'autotypeset', 'blockquote', 'pasteplain', '|', 'forecolor', 'backcolor', 'selectall', 'cleardoc', '|','link', 'unlink', 'anchor', '|','simpleupload', 'insertimage', 'emotion', 'insertvideo', 'music', 'attachment', 'map', 'pagebreak', 'template', 'background', '|','date', 'time', 'spechars', 'snapscreen', '|','touppercase', 'tolowercase', '|','inserttable', 'deletetable', 'insertparagraphbeforetable', 'insertrow', 'deleterow', 'insertcol', 'deletecol', 'mergecells', 'mergeright', 'mergedown', 'splittocells', 'splittorows', 'splittocols']]});</script>""{0}", instanceName)  
  65.         End If  
  66.   
  67.         CreateHtml = html  
  68.   
  69.     End Function  
  70.   
  71.     Public Sub LoadScript()  
  72.         dim html  
  73.         html = ""  
  74.         html = html & "<script type=""text/javascript"" charset=""utf-8"" src=""" & sBasePath & "/ueditor.config.js""></script>"  
  75.         html = html & "<script type=""text/javascript"" charset=""utf-8"" src=""" & sBasePath & "/ueditor.all.min.js""> </script>"  
  76.         html = html & "<script type=""text/javascript"" charset=""utf-8"" src=""" & sBasePath & "/lang/zh-cn/zh-cn.js""></script>"  
  77.         Response.Write(html)  
  78.     End Sub  
  79. End Class  
  80.   
  81. %>  

 

 

第二步:修改blogpost.asp

  1. 删除
ASP/Visual Basic代码
  1. <!--#include file="FCKeditor/fckeditor.asp" -->  

         2.添加

ASP/Visual Basic代码
  1. <!--#include file="UEditor/UEditor.asp" -->  

查看更多...

Tags: 编辑器

分类:程序代码 | 评论: 0 | 浏览量: 9

excel中,某些函数对身份证号码识别有点小问题,智能识别前15位

比如条件格式显示重复值,只要前15位相同,excel就会判定两个身份证号码是重复的;

countif函数,sumif函数都只能识别前15位;

例如:

查看更多...

Tags: Excel

分类:Excel笔记 | 评论: 0 | 浏览量: 4