By eric | May 28, 2007 - 9:14 pm - Posted in 旅游::Travelling
-
Recent Posts
-
Recent Comments
-
Archives
Friends
Web
Google Ads
By eric | - 7:51 pm - Posted in 运动::SportsHealth
Enter your weight in kilograms and your height in centimeters in the form below and press the “Let’s see” button (Please read disclaimer below before using this form)
Disclaimer: This form is based on the calculation of
“Body Mass Index“
and is only meant to be a demonstration of how Javascript(tm) could be used
on a Web Page. Information it contains may not be accurate and is not designed
or intended to serve as medical advice. I am not liable for any physical or
psychological damages suffered as a result of using this script.
<!– hide this script tag’s contents from old browsers
//Body Mass calculator- by John Scott (johnscott03@yahoo.com)
//Visit JavaScript Kit (http://javascriptkit.com) for script
//Credit must stay intact for use
function ClearForm(form){
form.weight.value = “”;
form.height.value = “”;
form.bmi.value = “”;
form.my_comment.value = “”;
}
function bmi(weight, height) {
bmindx=weight/eval(height*height);
return bmindx;
}
function checkform(form) {
if (form.weight.value==null||form.weight.value.length==0 || form.height.value==null||form.height.value.length==0){
alert(”\nPlease complete the form first”);
return false;
}
else if (parseFloat(form.height.value) =500||
parseFloat(form.weight.value) =500){
alert(”\nReally know what you’re doing? \nPlease enter values again. \nWeight in kilos and \nheight in cm”);
ClearForm(form);
return false;
}
return true;
}
function computeform(form) {
if (checkform(form)) {
yourbmi=Math.round(bmi(form.weight.value, form.height.value/100));
form.bmi.value=yourbmi;
if (yourbmi >40) {
form.my_comment.value=”You are grossly obese, consult your physician!”;
}
else if (yourbmi >30 && yourbmi 27 && yourbmi 22 && yourbmi =21 && yourbmi =18 && yourbmi =16 && yourbmi <18) {
form.my_comment.value=”You are starving. Go Find some food!”;
}
else if (yourbmi
By eric | - 7:45 pm - Posted in 技术::Tech
Note: 1 Inch = 2.54 cm, 1 Feet = 30.48 cm, 1
Feet = 12 Inch
/*
cm/inch/feet converter - credit must stay intact for use
By Ada Shimar ada@chalktv.com
For this script and more,
Visit http://javascriptkit.com
*/
function roundit(which){
return Math.round(which*100)/100
}
function cmconvert(){
with (document.cminch){
feet.value = roundit(cm.value/30.84);
inch.value = roundit(cm.value/2.54);
}
}
function inchconvert(){
with (document.cminch){
cm.value = roundit(inch.value*2.54);
feet.value=roundit(inch.value/12);
}
}
function feetconvert(){
with (document.cminch){
cm.value=roundit(feet.value*30.48);
inch.value=roundit(feet.value*12);
}
}
这样我们就容易转换了,呵呵,有时候经常忘记。。。。。憎恨美国的单位制度啊
只要上面的方框里面直接输入,然后光标移动到任意其他输入框就会自动换算了:)
By eric | - 10:05 am - Posted in 运动::SportsHealth
十、巴西东方柔术
源自日本柔术的功夫,後传入巴西,逐渐改变成巴西特色武术。
他们利用快速的攻击,牵制对手,令对手不能反击。
九、卡利武术
一种专门研究利用武器的功夫,节目宣称他们是最著重武器的武术。
在他们的武术系统中,能以武器作多完整的攻守。
八、马珈术
由以色列所创的功夫,现时全世界警队及军队都有所学习。
这种武术创立目的,不是为了击倒对方,是为了不让对手攻击,在课程中,他们甚至要学习如何面对手鎗,是新潮实用武术之一。
七、跆拳道
韩国国技,以脚为主,以拳为辅。
快速的攻击,精妙优美的脚法,使他成为最受欢迎武术之一。
六、合气道
由日本武术大师植芝盛平,於一九二零年代创立的武术。
合气道不是以击倒对手为目的,而是顺著对手的攻势,然後随之化解的武术。
五、聚气道
由一美国人在战时於日本四处拜访大师,再研制出来的另类武术。
聚气道的大前提,是要把对手的攻击吸收,把一些可以杀害平常人的攻击,在他们身上都无法应用。
四、忍术
日本传统武术,学习忍术的人称为忍者。
忍术练习最高境界,是能把任何东西都可看成武器,以及随时以「第六感」感受得到危险的才近。
三、泰拳
原本存在於泰国森林内的武术,後来传出了大城巿,以至全世界。
泰拳的攻击技术很少,他们没有分段数,练习目的是习中精神,把简单攻击连接得令对手无法招架?
二、空手道
日本冲绳的传统武术,空手道的意思就是以手作为武器攻击的技术。
空手道的练习,是要用身心结合,并以双手作为武器,籍以击倒对手。
一、少林功夫
中国历史悠久的武术,被誉为所有武术的起源。
少林功夫以襌学为主,练习内容极为广泛,拳脚武器一一包括,称为武术之源也为之不过。
-
Search Blog
-
Additional Info
My TextJourney is only for serious bloggers. We experience, cherish and memorize our Text Journey. Pages
Categories
- News (8)
- 下载::Sharing (6)
- 五花八门::Others (20)
- 商财::Business (27)
- 天马行空::Category (11)
- 娱乐::Fun (40)
- 学问::Academic (11)
- 影音::MovieMusic (4)
- 思考::Thinking (29)
- 技术::Tech (28)
- 文学::Arts (13)
- 新潮::Fancy (14)
- 旅游::Travelling (9)
- 美味::Gourmet (6)
- 运动::SportsHealth (8)
-
Meta
-
Classifieds
Live Free Or Die, Just another My.textjourney.com weblog, is proudly powered by Wordpress. Theme designed by Joni Ang for CG, Micro & Horizon.Huang © 2007 All Rights Reserved.


