预览模式: 普通 | 列表

整个BLOG采用半静态化处理;完美支持IE/FireFox/Google Chrome浏览器;
采用URL重写,方便搜索引擎收录;
数据库使用PJBlog原数据库;
数据库结构直接调用,没有任何修改;说简单点就是拿来主义;
放弃了原有的UBB和FCKeditor编辑器;
改用简单实用的163编辑器;支持全屏编辑;
评论使用AjaxPro处理,以减少页面刷新次数;
由于是个性化修改,没有通用性;暂不提供下载;
我 - 涛の仔セ↗,程序员;页面设计功底很差;美工设计不会;

查看更多...

分类:WebsiteLog | 固定链接 | 评论: 8 | 人气: 773℃

JS获取浏览器名称及版本

A:
var Sys = {},
ua = navigator.userAgent;
if (window.ActiveXObject)
  Sys.ie = ua.match(/MSIE ([\d.]+)/)[1]
else if (window.google && window.chrome){
  Sys.chrome = ua.match(/Chrome\/([\d.]+)/)[1]}
else if (window.Components)
  Sys.firefox = ua.match(/Firefox\/([\d.]+)/)[1]
else if (window.opera)
  Sys.opera = ua.match(/Opera.([\d.]+)/)[1]
else if (!navigator.taintEnabled)

查看更多...

分类:JavaScript | 固定链接 | 评论: 0 | 人气: 21℃

ASP SQL Server 2005 Row_Number() 分页类

<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

查看更多...

分类:ASP | 固定链接 | 评论: 0 | 人气: 55℃

javascript汉字转拼音

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>javascript汉字转拼音</title>
</head>

<body>

查看更多...

分类:JavaScript | 固定链接 | 评论: 0 | 人气: 1972℃

AJAX Javascript CSS 分页代码

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>AJAX Javascript CSS 分页代码</title>
</head>

<body>

查看更多...

分类:JavaScript | 固定链接 | 评论: 0 | 人气: 42℃

JavaScript判断浏览器类型及版本

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>JavaScript判断浏览器类型及版本</title>
</head>

<body>

查看更多...

分类:JavaScript | 固定链接 | 评论: 0 | 人气: 45℃

DIV弹出窗口提示层
完全兼容IE Firefox Chrome Opera Safari
Author : www.531.hk
Create : 2010.02.21
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

查看更多...

分类:JavaScript | 固定链接 | 评论: 0 | 人气: 149℃

URLRewrite在IIS6和IIS7中的使用配置

之前使用Microsoft URLRewrite在IIS6中一切正常,但是在IIS7却不能正常使用,提示“无法找到资源”,这时需要在web.config中system.webServer节点中的handlers节点进行配置,如下:
如果在IIS7中使用,需在web.config中加入:
 <configuration>
......
  <system.webServer>
  <validation validateIntegratedModeConfiguration="false"/>
  <modules>
  <add type="URLRewriter.ModuleRewriter, URLRewriter" name="ModuleRewriter" />
  </modules>
  <system.webServer>
......

查看更多...

分类:ASP.NET | 固定链接 | 评论: 0 | 人气: 111℃

JS编码解码函数

<script language="javascript" type="text/javascript">
var Url = {
 
  // public method for url encoding
  _encode : function (string) {
  return escape(this._utf8_encode(string));
  },
 
  // public method for url decoding
  _decode : function (string) {
  return this._utf8_decode(unescape(string));
  },
 
  // private method for UTF-8 encoding

查看更多...

分类:JavaScript | 固定链接 | 评论: 0 | 人气: 84℃

Microsoft SQL Server错误: 15138删除对于用户失败,数据库主体在该数据库中拥有架构,无法删除。
删除 对于 用户“*****”失败。 (Microsoft.SqlServer.Smo)

其他信息:

执行 Transact-SQL 语句或批处理时发生了异常。 (Microsoft.SqlServer.ConnectionInfo)

解决方法一

先删除此用户对应的架构,然后在删除对应的用户
步骤
1。SQL SERVER MANAGEMENT STUDIO -> 数据库 -> 安全性 -> 构架,先删除对应的构架
2。SQL SERVER MANAGEMENT STUDIO -> 数据库 -> 安全性 -> 用户,删除对应的用户

解决方法二

查看更多...

分类:SQL | 固定链接 | 评论: 0 | 人气: 83℃

性能:

原文引用:

http://www.cnblogs.com/yeerh/archive/2009/05/19/1460350.html

改进后的下载地址:下载地址

特收藏一下!!!

查看更多...

分类:ASP.NET | 固定链接 | 评论: 0 | 人气: 87℃