胖仔黑黑
百度首页 | 百度空间
 
宠物专区
 
   
 
开放模块
 
   
 
文章列表
 
2008-08-30 15:27

在表格中,使用colgroup控制列时,发现text-align属性在IE7下的表现是没问题,但是在FF3下却失效了,原来是这样子滴:(标准的用法是:使用col或者colgroup只能控制单元格的border、background、width和visibility属性)

Table cells may belong to two contexts: rows and columns. However, in the source document cells are descendants of rows, never of columns. Nevertheless, some aspects of cells can be influenced by setting properties on columns.

The following properties apply to column and

 
2008-06-24 10:09

1. 在php标签中直接写php脚本

{php}

.....


{/php}

2. 在php标签中include php文件

{php}

include(相对或绝对路径);


{/php}

注意:如果是相对路径的话,该路径的根目录与调用改模板的PHP页面是一样的,而不是该模板的根目录。

 
2008-06-03 18:16

Attribute for <FORM ...>
ENCTYPE = "multipart/form-data"
| "application/x-www-form-urlencoded" | "text/plain"

In most cases you will not need to use this attribute at all. The def

 
2008-06-02 11:23

UML的类图关系分为: 关联、聚合/组合、依赖、泛化(继承)。而其中关联又分为双向关联、单向关联、自身关联;下面就让我们一起来看看这些关系究竟是什么,以及它们的区别在哪里。

1、关联

双向关联:

C1-C2:

 
2008-05-26 14:35

依赖是对象间最弱的一种关系,一个对象依赖于另一个对象是指这个对象和它之间存在短期的关系。在这个短暂的关系中,依赖的对象通过调用被依赖对象的方法来获取它提供的服务,或者依此来配置被依赖的对象。

关联是对象间长期的关系。在关联中,一个对象保存对另一个对象的引用,并在需要的时候调用这个对象的方法。 依赖一般的表现方法是方法的局部变量,或者是方法内对静态方法的引用。 关联一般的表现方法是对象的全局变

 
2008-05-19 17:24

IE0001: XMLHTTPRequest overly-aggressive caching

Internet Explorer's XMLHTTPRequest object may cache and reuse the response to a GET request if the server does not send any headers prohibiting caching. Workarounds: Either use the POST method, a random query string, or (best) configure the server to send proper cache directives. Note: Using a non-random query string alone is not enough to prevent caching.

 
2008-05-16 10:42

核心代码:

this.requester.open( method.toUpperCase(),url,op.async,op.username,op.pwd);
//设置请求头
this.setRequestHeader();

if( data && method.toLowerCase() == "post" ){
   this.requester.send(data);
}
else
   this.requester.send();

以下是在不同浏览器下测试使用同一个XHR实例进行多次请求(前一次还在请求中,并且不使用abort操作)的结果

 
2008-05-16 10:09

“默认情况下,在IE中当使用Ajax GET方法多次请求数据时,如果后面几次请求的URL(包括参数)与第一次相同,则之后的请求事实上都不会向服务器发送,而是直接将XHR的readyState变更为4,从而会直接触发onreadystatechange事件。”

如果不注意该问题容易产生以下问题:

以下是部分请求相关的代码:

var send = function( url, method, data ){
   var op = this.options;
if( op.useLock && this._locked )
   return;
else if( this.is

 
2008-05-10 15:19

1. xmlhttprequest + iframe + 设置document.domain(dom访问受document.domain影响,xmlhttprequest不受document.domain影响,因此在iframe中用xhr去数据,然后用dom把数据交给parent)

http://hi.baidu.com/momoca/blog/item/f360252d10992d37349bf794.html (很详细的讲解)

http://johnvey.com/features/deliciousdirector/web-service

 
2008-05-09 22:29

跨子域页面间的 JavaScript 访问

Filed under: 纯技术, JavaScript — lewislv @ 16:24

当某个互联网运营商的网站上规模

 
     
 
 
开放模块
 
   
 
个人档案
 
mingwei1943

上次登录:
2天前
加为好友
 
   
 
文章分类
 
 
 
 
 
 
 
(5)
 
 
Linux(12)
 
c++(3)
 
 
Sqlite(11)
 
 
 
Ajax(3)
 
 
Vim(4)
 
Css(9)
 
Cvs(1)
 
 
 
 
 
 
 
Uml(2)
 
Html(1)
 
 
     
 
最新评论
   
文章评论|照片评论


请问下如何创建一条竖的水平线?
 
 

解释得很清晰
 

呵呵,瞎弄着玩的
 

呵呵 挺好看的
文本框都有背景样式~
 
     
 
好友最新文章
 
     
 
最近访客
 
 

jaoooo

jinfanlee

wshswshs

shopinxie

号码5

昕月妤涛

heptachord

休止巡回
     
 
背景音乐
 
 
其它
 
已有人次访问本空间
 
订阅RSS  什么是RSS?

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


©2008 Baidu