上一页 1 ··· 21 22 23 24 25 26 27 28 29 ··· 34 下一页

2010年10月12日

摘要: offsetXXX、scrollXXX 与clientXXX的区别与联系 offsetTop returns the distance of the current element relative to the top of the offsetParent node. offsetLeft Returns the number of pixels that the upper left corner of the current element is offset to the left within the offsetParent node. offsetHeight returns 阅读全文
posted @ 2010-10-12 09:27 做个不善的人 阅读(252) 评论(0) 推荐(0)
 

2010年10月8日

摘要: http://blog.csdn.net/zhujianjiangnan/archive/2009/10/25/4726037.aspx http://snipplr.com/view/86/clear-floats-without-structural-markup/ http://www.docin.com/p-47288513.html 阅读全文
posted @ 2010-10-08 23:03 做个不善的人 阅读(135) 评论(0) 推荐(0)
 
摘要: Clearing Floats The Old Fashioned Way当一个有边框或者有背景的容器包含float时,float不会自动强制迫使容器的高度自动增加以便适应将所有的float包含进去。相反,容器会忽略 float,这样float会超出容器的范围(底部)。那些之用windows下的IE的人员会强烈反抗“那不正确“。的确,IE会根据float自动适应高度,但那只限于容器有个确定的尺寸,在很多情况下并没有想象的那么好,而且用IE的用户仅仅占一部分。W3C建议在容器的末尾增加一个“clear:both"的元素,强迫容器适应它的高度以便装下所有的float。正如下面所描述的:“ 阅读全文
posted @ 2010-10-08 23:02 做个不善的人 阅读(526) 评论(0) 推荐(0)
 

2010年9月24日

摘要: Javascript文件Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->/*inlineSlidesSlideshowexampleofChapter6of"BeginningJavaScriptwithDOMScriptingandAJAX"byChristianHeilmann(c)ChristianHeilmannandApress*/inlineSlides={//CSSclassesslideClass:' 阅读全文
posted @ 2010-09-24 16:51 做个不善的人 阅读(441) 评论(0) 推荐(0)
 
摘要: 1. 使用几个图片的翻转下面是一种最简单、没有使用任何缓存机制的方法:Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--><scripttype="text/javascript">functionrollover(img,url){document.images[img].src=url;}</script>THML的代码如下所示:Code highlighting produced by Actip 阅读全文
posted @ 2010-09-24 14:26 做个不善的人 阅读(1323) 评论(0) 推荐(0)
 

2010年9月12日

摘要: 原文:http://support.microsoft.com/kb/130869In Microsoft Visual C++, if the version of the compiler is older than a specific version, a GUID must be initialized exactly once. For this reason, there are two different versions of the DEFINE_GUID macro. One version just declares an external reference to t 阅读全文
posted @ 2010-09-12 14:24 做个不善的人 阅读(1052) 评论(0) 推荐(0)
 

2010年9月8日

摘要: 数据类型基本数据类型基本数据类型是JS语言最底层的实现。简单数值类型: 有Undefined, Null, Boolean, Number和String。注意,描述中的英文单词在这里仅指数据类型的名称... 阅读全文
posted @ 2010-09-08 16:10 做个不善的人 阅读(221) 评论(0) 推荐(0)
 

2010年9月5日

摘要: JavaScript创建新类(或对象)的方法主要有以下几种:工厂方式、构造函数式、原型方式、混合的构造函数/原型方式、动态原型方法、混合工厂方式。 1.工厂方式: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->function say() { document.write(this.name+"<br/>");}function people(name, age, sex) { var pTemp =new 阅读全文
posted @ 2010-09-05 13:00 做个不善的人 阅读(3269) 评论(0) 推荐(0)
 

2010年8月29日

摘要: When you build a driver or other program, the program's symbols are usually stored in symbol files, although some older compilers store certain symbols in the executable file. When a debugger is analyzing a program, it needs to access the program's symbols. Typically, symbol files can includ 阅读全文
posted @ 2010-08-29 16:03 做个不善的人 阅读(589) 评论(0) 推荐(0)
 
摘要: Most project managers tend to think only conventionally when managing projects. This means that they begin from a given project goal, plan the project to meet the goal, then execute the plan in order to meet the project goal. Little thought is given to strategic thinking or systems thinking. As a re 阅读全文
posted @ 2010-08-29 14:27 做个不善的人 阅读(969) 评论(0) 推荐(0)
 
上一页 1 ··· 21 22 23 24 25 26 27 28 29 ··· 34 下一页