海讯工作室,专注CMS开发
百度空间 | 百度首页 
               
 
文章列表
 
2009年06月12日 星期五 11:19
服务器支持URI重写功能。如果你使用Apache服务器,可以通过设置mod_rewrite模块来实现。

第一步,首先安装Apache并启用mod_rewrite模块。然后把两个文件放到根目录下:.htaccess和index.php。 .htaccess文件用来让服务器读取,其中必须包含一个mod_rewrite的重写规则,使所有请求都被重定向到index.php。下面是个例子:

RewriteEngine on
RewriteRule !\.(js|ico|gif|jpg|png|css)$ index.php
RewriteRule !\.(js|ico|gif|bmp|jpg|png|cs
 
2009年06月12日 星期五 10:17

初级URL重写指南

本文是mod_rewrite参考文档的补充材料。阐述在实际应用中如何解决网管所面临的基于URL的典型问题,并详细描述了如何配置URL重写规则集以解决这些问题。

注意:根据你的服务器配置,有可能必须对这里的例子作些小修改,比如,在额外
 
2009年06月12日 星期五 10:07
新注册了一个域名:www.zotop.com,呵呵,准备用作cms的php版本的官网,名称本身没有什么意思,只是觉得比较简短而且应该比较好记,中文名称翻译成什么?不太好想,呵呵,“逐涛”?更多感觉像“猪逃跑”,哈哈,这样的话和drupal的谐音“猪跑了”很有些相似!大家有什么好的意见没有?
 
2009年06月12日 星期五 10:02

        为了使url地址更加友好(当然可能有别的原因),很多站点使用了url重写,如http://www.cnblogs.com/life,在asp.net中通常要处理这样的url重写,必须在IIS中将*.*映射

 
2009年06月05日 星期五 09:44

商城县城关中学四班(1997级)的同学们:

HI,大家还记得我吗,我叫陈磊,好多年过去了,大多都失去了联系,你们还记得曾经的彼此嘛,呵呵,看到了请和我联系,我的qq:56283832,邮箱:hankx_chen@qq.com,或者请留言,留下你的qq或者电子邮箱,我想整理一份大家的联系方式,呵呵,大家email一张您的近照给我更好,我会分发给大家!

 
2008年12月26日 星期五 09:11

The jQuery team has been working hard on the new release of the jQuery library and it’s ready for some in-depth testing! jQuery 1.3 is not ready for production use yet but we need help to weed out any bugs that might’ve snuck through.

Download

A copy of jQuery 1.3b1 can be found here:

Please don’t use minified or pack

 
2008年12月24日 星期三 14:19

 
2008年12月19日 星期五 16:54

[原创]用JS或jQuery访问页面内的iframe,兼容IE/FF


假设有两个页面,在相同域下.

index.html 文件内含有一个iframe:

XML/HTML代码
 
2008年12月18日 星期四 10:36
数据类型 描述 字节 推荐使用
SMALLINT 整数,从-32000到 +32000范围 2 存储相对比较小的整数。
比如: 年纪,数量
INT 整数,从-2
 
2008年12月03日 星期三 11:33

官方网站:http://bassistance.de/jquery-plugins/jquery-plugin-validation/

修复了一些bug,并增加了一些特性,更加好用了

1.5
---
* Improved basic demo, validating confirm-password field after password changed
* Fixed basic validation to pass the untrimmed input value as the first parameter to validation methods, changed required accordingly; breaks existing custom method that rely on the t

 
2008年11月14日 星期五 00:14

可以到这个网站:http://odyniec.net/projects/imgareaselect/

另外附上一个例子:http://gravatar.com ,他的图像裁剪使用了这个插件,效果很不错!

他是这么用的:

<script type="text/javascript">
   function preview (img, selection) {
    grav.cropper = { img: img, selection: selection }
    preview1(img, selection);

 
2008年11月08日 星期六 10:54

What we'll do here is use css border property for outer image border and we'll fake the inner border using combination of background and padding properties.

double border for images

First we add a border property to the image and set the values

img{
 border:2px solid #72a143;
}

If we set the padding to 1px and add a yellow background,

img{
 border:2px solid #72a143;
 paddi
 
2008年11月08日 星期六 09:24

image

This tutorial is aimed at controlling the size of the thumbnails appearing on your page. Sometimes we don't have enough space to spare to fit in large thumbnails and yet we would like to avoid small and barely recognizable images. Using this trick we limit the default dimensions of the thumb, and show it in full size when user mouse-overs it.

 
2008年10月30日 星期四 12:39

<style>
body{
background-color:white;
font-size:12px;
font-family:Arial, Helvetica, sans-serif;
margin:0px;
padding:0px;
color:white;
}
ul,li{
margin:0px;
padding:0px;
}
li{
display:inline;
list-style:none;
list-style-position:outside;
text-align:center;
font-weight:bold;
float:left;
}
a:link{
color:#336601;
text-decoration:none;
float:left;
width:100px;
padding:3px 5px 0px 5px;

 
2008年10月30日 星期四 11:32

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style type="text/css">
<!--
a {
float:left;
margin:5px 1px 0 1px;
width:20px;
height:20px;
color:#999;
font:12px/20px 宋体;
text

 
     
 
 
个人档案
 
hankx_chen
男, 27岁
河南 郑州 
上次登录:
1天前
加为好友
 
   
 
文章分类
 
 
 
 
 
Asp(15)
 
 
Php(13)
 
css&js(13)
 
 
     
 
日历
 
     
 
文章存档
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
     
 
最新评论
 
文章评论|照片评论

 

哈哈 这都被你发现了啊..!
 

哥们,给我发一个你的编辑器,谢谢了~~~不甚感激~~~
 

很需要。。。麻烦您给我发一个。。万分感谢
 

需要~!谢谢....
 
     
 
好友最新文章
 
     
 
最近访客
 
 

727128506

nick_yjf

solace2002zhen

leoqq123456

lampol

huangruizhao

auho4

duren10
     
 
其它
 
已有人次访问本空间
 
订阅RSS  什么是RSS?

您也想拥有这样的空间?请点此申请。
     


©2009 Baidu