本站首页    管理页面    写新日志    退出

The Neurotic Fishbowl

[web developer center]Five Most Common Coding Errors
snowrose 发表于 2007/9/16 15:22:23

from link:http://javascript.about.com/od/hintsandtips/a/worst_4.htm <4>document.all
Internet Explorer 4 introduced the document.all DOM (document object model) to allow access to the various parts of the web page. Soon after that the standard DOM method getElementById was introduced and is therefore available in all version 5+ browsers. This means that the document.all references are only needed to support IE4. Just about no one runs IE4 any more and s

阅读全文(1832) | 回复(0) | 编辑 | 精华 | 删除

 


[web developer center]Five Most Common Coding Errors
snowrose 发表于 2007/9/16 15:20:57

from link:http://javascript.about.com/od/hintsandtips/a/worst_3.htm
<3> Browser Detection
The third worst mistake that Javascript beginners make is to use Browser Detection to determine what Javascript code to run on which browser. The problem with doing this is that there are hundreds of different browsers that you would really need to test for in order to get the code exactly right

阅读全文(1750) | 回复(0) | 编辑 | 精华 | 删除

 


[web developer center]Five Most Common Coding Errors
snowrose 发表于 2007/9/16 15:19:42

from link:http://javascript.about.com/od/hintsandtips/a/worst_2.htm <2>Password Protection: The second biggest mistake people starting out with Javascript make is to try to use it to set up a password protected area on their site. What most people creating such scripts tend to forget is that Javascript is open source and therefore anyone with a decent knowledge of Javascript can read your Javascript code to find out what the password is that it is testing for (no matter

 


[web developer center]Five Most Common Coding Errors
snowrose 发表于 2007/9/16 15:17:43

from link:http://javascript.about.com/od/hintsandtips/a/worst.htm <1>No Right Click Scripts: The biggest mistake that people starting out with Javascript make is to try to use it to block their visitors access to the source of their web page. The most common way that they try to do this is using a No Right Click script. While some of these scripts are effective at disablin

 


[web developer center]html element or object supported in different broswers --- all[]
snowrose 发表于 2007/9/16 14:42:22

(3)all[]
   i don't like this attribute actually,because this is not the valid sytax in javascript,i have a eletric book named dhtml,but i think it is very old,if you are a programmer and your code just support one or two browser ,that is ok,but if your codes requires very strict,you shouldn't use this,and this is a topic wroten by a american,the link is :http://javascript.about.com/od/hintsandtips/a/worst_4.htm,what he said is reasonable,so i just copy the conent

 


[web developer center]html element or object supported in different broswers---scrollIntoView
snowrose 发表于 2007/9/16 14:23:32

(2)scrollIntoView() method
supported by ie 6/7,safari2+,ff Scrolls the window until the element is visible.
    
Syntax:
    
document.all.elementID.scrollIntoView(param1)

 


[web developer center]html element or object supported in different broswers---accessKey
snowrose 发表于 2007/9/16 11:01:28

(1) accessKey
   supported by:winIE 6/7,mac safari2(ctrl+letter),but not in ff or    safari3(i just test on safari 3 on pc,not mac)
The property is read/write,the property has no default value
 http://www.cs.tut.fi/~jkorpela/forms/accesskey.html
thank for this guy very much,and i collect all of this topic,hope you like it. The original version of this document had a much

 


[web developer center]html 中的单引号
snowrose 发表于 2007/9/5 14:53:48

 在html 里如果用转义字符代替单引号,记住千万不要用&apos;,因为在ie6里不认这个东东,经过多方面查找,找到一个&#039;,最后发现各种浏览器都支持,要用innerHTML对它赋值才见效。good luck
the reason is from:

&apos; is not a valid HTML entity reference. The definitive list of HTML entity references is here, and &apos; is not on it. &apos; was introduced as a standard entity in XML, and thus is also standard in XHTML. Ev

 


[web developer center]翻译mozilla 开发者手册 ---from mozilla develper center
snowrose 发表于 2007/8/24 8:59:04

使用W3C DOM 一级核心:很多html作者可能都以为html是种平面化的东西 ----一种有很多标签的文本,但是,它不仅仅如此,很多html文档(或者类似SGML 文档或者XML文档)是种树形结构,例如:下面的文档和树形结构很相似(尽管不一样--参考DOM 关于空格的注视):
<html>
   <head>
     <title>My Document</title>
   </head>
   <body>
     <h1>Header</h1>
     <p>Parag

 


[RIA]一个小球自由落体运动的例子
snowrose 发表于 2007/7/19 8:57:46

<!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>无标题文档</title>
</head> <body>
<div id="ball_div" onclick="

 


« 1 2 3 4 5 6 7 8 9 10 »

 
 



The Neurotic Fishbowl

.: 公告




Bloginess

«August 2025»
12
3456789
10111213141516
17181920212223
24252627282930
31

.: 我的分类(专题)

首页(130)
RIA(22)
linux(3)
J2EE(24)
the mood of everyday(58)
oral English(14)
database(2)
soap(3)
java(9)
web developer center(14)


In the Bowl

.: 最新日志

倾情奉献iphone、ipod、ipho
check ipad's rotatio
css position fixed d
field validation whe
常见浏览器cookie个数和大小限制说明
人类无法抗拒的10种心理,学会它,就能控
读as3cookbook 有感
flex builder linux s
Component returned f
use tramp in emacs i


.: 最新回复

replcica watches
replcica watches
Dell spikes game sit
回复:人类无法抗拒的10种心理,学会它,
回复:人类无法抗拒的10种心理,学会它,
回复:flex builder linu
回复:人类无法抗拒的10种心理,学会它,
回复:人类无法抗拒的10种心理,学会它,
回复:致女人------摘自读者
回复:虚心接受别人的意见,谨慎改正


The Fishkeeper
blog名称:up forever
日志总数:130
评论数量:274
留言数量:4
访问次数:1946547
建立时间:2006年5月25日



Text Me

.: 留言板

签写新留言

参观
这个界面很漂亮!
我试试吧
up forever
该换了!


Other Fish in the Sea

.: 链接


http://blogger.org.cn/blog/more.asp?name=hongrui&id=16955

邢红瑞 

http://niegc.cublog.cn/  聂国聪

http://www.blogjava.net/SteelHand/ 铁手剑谱

http://blog.sina.com.cn/qianqq 糖qq

http://blog.csdn.net/misty_wish   师弟

http://www.bbxy.net/xiaoyu/ Goteet老师

http://www.chinaitpower.com    中国it动力

http://jinyuxi.blog.sohu.com/ 靳羽西




lvetica, sans-serif; MARGIN: 0px 0px 8px; PADDING-BOTTOM: 0px; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; PADDING-TOP: 0px } DIV.blogrollmain { FONT: 12px verdana, arial, helvetica, sans-serif } BLOCKQUOTE { COLOR: #202020; FONT: 11px verdana, arial, helvetica, sans-serif } .tinyfont { FONT: 9px verdana, arial, helvetica, sans-serif } TD { COLOR: #202020; FONT-FAMILY: verdana; FONT-SIZE: 12px } .title { COLOR: #996897; FONT-FAMILY: verdana, sans-serif; FONT-SIZE: 10pt; FONT-WEIGHT: bold } .titlefont { COLOR: #996897; FONT-FAMILY: verdana, sans-serif; FONT-SIZE: 14px; FONT-STYLE: italic } .titlefontarch { BORDER-BOTTOM: 1px solid; BORDER-LEFT: 1px solid; BORDER-RIGHT: 1px solid; BORDER-TOP: 1px solid; COLOR: #996897; FONT-FAMILY: verdana, sans-serif; FONT-SIZE: 14px; TEXT-ALIGN: center; WIDTH: 100% } .menu_text { COLOR: #c1ae94; FONT-FAMILY: Verdana, Arial, sans-serif; FONT-SIZE: 10px; MARGIN-BOTTOM: 1px } .links { FONT-FAMILY: Verdana, Arial, sans-serif; FONT-SIZE: 11px } .smallfont { COLOR: #202020; FONT-FAMILY: Verdana, Arial, sans-serif; FONT-SIZE: 11px; MARGIN: 0px } A:link { COLOR: #996897; TEXT-DECORATION: none } A:visited { COLOR: #996897; TEXT-DECORATION: none } A:hover { BACKGROUND-COLOR: #996897; COLOR: #610862; TEXT-DECORATION: underline } A { TEXT-DECORATION: none } .content { WIDTH: auto } .dateheader { MARGIN: 0px; PADDING-BOTTOM: 0px; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; PADDING-TOP: 0px; POSITION: relative; WIDTH: auto; Z-INDEX: 3; min-width: 120px } .wbtn1 { BACKGROUND-COLOR: #ffffff; BORDER-BOTTOM: #996897 1px solid; BORDER-LEFT: #996897 1px solid; BORDER-RIGHT: #996897 1px solid; BORDER-TOP: #996897 1px solid; COLOR: #996897; FONT-FAMILY: verdana, arial geneva; FONT-SIZE: 7pt; TEXT-DECORATION: none } .calendar { PADDING-BOTTOM: 4px; PADDING-LEFT: 4px; PADDING-RIGHT: 4px; PADDING-TOP: 4px; TEXT-ALIGN: center } .calhead { BACKGROUND-COLOR: #ffffff; BORDER-BOTTOM: gray 1px solid; COLOR: black; TEXT-ALIGN: center; VERTICAL-ALIGN: middle; WIDTH: 14% } .calbody { BORDER-BOTTOM: 1px solid; TEXT-ALIGN: center; VERTICAL-ALIGN: middle; WIDTH: 14% } .style2 {color: #996897}
本站首页    管理页面    写新日志    退出

The Neurotic Fishbowl

[web developer center]Five Most Common Coding Errors
snowrose 发表于 2007/9/16 15:22:23

from link:http://javascript.about.com/od/hintsandtips/a/worst_4.htm <4>document.all
Internet Explorer 4 introduced the document.all DOM (document object model) to allow access to the various parts of the web page. Soon after that the standard DOM method getElementById was introduced and is therefore available in all version 5+ browsers. This means that the document.all references are only needed to support IE4. Just about no one runs IE4 any more and s

阅读全文(1832) | 回复(0) | 编辑 | 精华 | 删除

 


[web developer center]Five Most Common Coding Errors
snowrose 发表于 2007/9/16 15:20:57

from link:http://javascript.about.com/od/hintsandtips/a/worst_3.htm
<3> Browser Detection
The third worst mistake that Javascript beginners make is to use Browser Detection to determine what Javascript code to run on which browser. The problem with doing this is that there are hundreds of different browsers that you would really need to test for in order to get the code exactly right

阅读全文(1750) | 回复(0) | 编辑 | 精华 | 删除

 


[web developer center]Five Most Common Coding Errors
snowrose 发表于 2007/9/16 15:19:42

from link:http://javascript.about.com/od/hintsandtips/a/worst_2.htm <2>Password Protection: The second biggest mistake people starting out with Javascript make is to try to use it to set up a password protected area on their site. What most people creating such scripts tend to forget is that Javascript is open source and therefore anyone with a decent knowledge of Javascript can read your Javascript code to find out what the password is that it is testing for (no matter

 


[web developer center]Five Most Common Coding Errors
snowrose 发表于 2007/9/16 15:17:43

from link:http://javascript.about.com/od/hintsandtips/a/worst.htm <1>No Right Click Scripts: The biggest mistake that people starting out with Javascript make is to try to use it to block their visitors access to the source of their web page. The most common way that they try to do this is using a No Right Click script. While some of these scripts are effective at disablin

 


[web developer center]html element or object supported in different broswers --- all[]
snowrose 发表于 2007/9/16 14:42:22

(3)all[]
   i don't like this attribute actually,because this is not the valid sytax in javascript,i have a eletric book named dhtml,but i think it is very old,if you are a programmer and your code just support one or two browser ,that is ok,but if your codes requires very strict,you shouldn't use this,and this is a topic wroten by a american,the link is :http://javascript.about.com/od/hintsandtips/a/worst_4.htm,what he said is reasonable,so i just copy the conent

 


[web developer center]html element or object supported in different broswers---scrollIntoView
snowrose 发表于 2007/9/16 14:23:32

(2)scrollIntoView() method
supported by ie 6/7,safari2+,ff Scrolls the window until the element is visible.
    
Syntax:
    
document.all.elementID.scrollIntoView(param1)

 


[web developer center]html element or object supported in different broswers---accessKey
snowrose 发表于 2007/9/16 11:01:28

(1) accessKey
   supported by:winIE 6/7,mac safari2(ctrl+letter),but not in ff or    safari3(i just test on safari 3 on pc,not mac)
The property is read/write,the property has no default value
 http://www.cs.tut.fi/~jkorpela/forms/accesskey.html
thank for this guy very much,and i collect all of this topic,hope you like it. The original version of this document had a much

 


[web developer center]html 中的单引号
snowrose 发表于 2007/9/5 14:53:48

 在html 里如果用转义字符代替单引号,记住千万不要用&apos;,因为在ie6里不认这个东东,经过多方面查找,找到一个&#039;,最后发现各种浏览器都支持,要用innerHTML对它赋值才见效。good luck
the reason is from:

&apos; is not a valid HTML entity reference. The definitive list of HTML entity references is here, and &apos; is not on it. &apos; was introduced as a standard entity in XML, and thus is also standard in XHTML. Ev

 


[web developer center]翻译mozilla 开发者手册 ---from mozilla develper center
snowrose 发表于 2007/8/24 8:59:04

使用W3C DOM 一级核心:很多html作者可能都以为html是种平面化的东西 ----一种有很多标签的文本,但是,它不仅仅如此,很多html文档(或者类似SGML 文档或者XML文档)是种树形结构,例如:下面的文档和树形结构很相似(尽管不一样--参考DOM 关于空格的注视):
<html>
   <head>
     <title>My Document</title>
   </head>
   <body>
     <h1>Header</h1>
     <p>Parag

 


[RIA]一个小球自由落体运动的例子
snowrose 发表于 2007/7/19 8:57:46

<!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>无标题文档</title>
</head> <body>
<div id="ball_div" onclick="

 


« 1 2 3 4 5 6 7 8 9 10 »

 
 



The Neurotic Fishbowl

.: 公告




Bloginess

«August 2025»
12
3456789
10111213141516
17181920212223
24252627282930
31

.: 我的分类(专题)

首页(130)
RIA(22)
linux(3)
J2EE(24)
the mood of everyday(58)
oral English(14)
database(2)
soap(3)
java(9)
web developer center(14)


In the Bowl

.: 最新日志

倾情奉献iphone、ipod、ipho
check ipad's rotatio
css position fixed d
field validation whe
常见浏览器cookie个数和大小限制说明
人类无法抗拒的10种心理,学会它,就能控
读as3cookbook 有感
flex builder linux s
Component returned f
use tramp in emacs i


.: 最新回复

replcica watches
replcica watches
Dell spikes game sit
回复:人类无法抗拒的10种心理,学会它,
回复:人类无法抗拒的10种心理,学会它,
回复:flex builder linu
回复:人类无法抗拒的10种心理,学会它,
回复:人类无法抗拒的10种心理,学会它,
回复:致女人------摘自读者
回复:虚心接受别人的意见,谨慎改正


The Fishkeeper
blog名称:up forever
日志总数:130
评论数量:274
留言数量:4
访问次数:1946547
建立时间:2006年5月25日



Text Me

.: 留言板

签写新留言

参观
这个界面很漂亮!
我试试吧
up forever
该换了!


Other Fish in the Sea

.: 链接


http://blogger.org.cn/blog/more.asp?name=hongrui&id=16955

邢红瑞 

http://niegc.cublog.cn/  聂国聪

http://www.blogjava.net/SteelHand/ 铁手剑谱

http://blog.sina.com.cn/qianqq 糖qq

http://blog.csdn.net/misty_wish   师弟

http://www.bbxy.net/xiaoyu/ Goteet老师

http://www.chinaitpower.com    中国it动力

http://jinyuxi.blog.sohu.com/ 靳羽西




站点首页 | 联系我们 | 博客注册 | 博客登陆

Sponsored By W3CHINA
W3CHINA Blog 0.8 Processed in 0.078 second(s), page refreshed 144761873 times.
《全国人大常委会关于维护互联网安全的决定》  《计算机信息网络国际联网安全保护管理办法》
苏ICP备05006046号