永发信息网

网页中的计算器下转载 js

答案:2  悬赏:70  手机版
解决时间 2021-04-12 08:52

谁能告诉我这个网页中的计算器怎么转载到我的织梦网站中。

最好能步骤写出来

http://asktao.17173.com/zhuanti/jsq/renwu.html
最佳答案





的所有代码,复制到自己的网页文件中就可以了。

全部回答

function change_value() { form1.point_hp.value = parseInt(form1.add_hp.value,10)+parseInt(form1.jiadian_hp.value,10)+parseInt(form1.level.value,10); form1.point_mp.value = parseInt(form1.add_mp.value,10)+parseInt(form1.jiadian_mp.value,10)+parseInt(form1.level.value,10); form1.point_ap.value = parseInt(form1.add_ap.value,10)+parseInt(form1.jiadian_ap.value,10)+parseInt(form1.level.value,10); form1.point_sp.value = parseInt(form1.add_sp.value,10)+parseInt(form1.jiadian_sp.value,10)+parseInt(form1.level.value,10); form1.un_fenpei.value = parseInt(form1.level.value,10)*4 - parseInt(form1.jiadian_hp.value,10) - parseInt(form1.jiadian_mp.value,10) - parseInt(form1.jiadian_ap.value,10) - parseInt(form1.jiadian_sp.value,10)-4; if (form1.level.value<60) form1.un_xiangxing.value = parseInt((form1.level.value-1)/2) - form1.jiadian_jin.value-form1.jiadian_mu.value-form1.jiadian_shui.value-form1.jiadian_huo.value-form1. jiadian_tu.value; else form1.un_xiangxing.value = parseInt(form1.level.value-30) - form1.jiadian_jin.value-form1.jiadian_mu.value-form1.jiadian_shui.value-form1.jiadian_huo.value-form1. jiadian_tu.value; form1.xiangxing_jin.value=parseInt(form1.jiadian_jin.value,10)+parseInt(form1.add_jin.value,10); form1.xiangxing_mu.value=parseInt(form1.jiadian_mu.value,10)+parseInt(form1.add_mu.value,10); form1.xiangxing_shui.value=parseInt(form1.jiadian_shui.value,10)+parseInt(form1.add_shui.value,10); form1.xiangxing_huo.value=parseInt(form1.jiadian_huo.value,10)+parseInt(form1.add_huo.value,10); form1.xiangxing_tu.value=parseInt(form1.jiadian_tu.value,10)+parseInt(form1.add_tu.value,10); if (form1.level.value>9) { form1.money_now.value=form1.level.value*form1.level.value*form1.level.value*0.0015+form1.level.value*form1.level.value*0.1+2; form1.money_bank.value=form1.level.value*form1.level.value*form1.level.value*0.0045+form1.level.value*form1.level.value*0.28+2; } else { form1.money_now.value=form1.level.value*form1.level.value*form1.level.value*0.0015+form1.level.value*form1.level.value*0.1+2; form1.money_bank.value="0"; } } function Calc() { var level = parseInt(form1.level.value,10); var un_fenpei = parseInt(form1.un_fenpei.value,10); var point_hp = parseInt(form1.point_hp.value,10); var point_mp = parseInt(form1.point_mp.value,10); var point_ap = parseInt(form1.point_ap.value,10); var point_sp = parseInt(form1.point_sp.value,10); var add_hp = parseInt(form1.add_hp.value,10); var add_mp = parseInt(form1.add_mp.value,10); var add_ap = parseInt(form1.add_ap.value,10); var add_sp = parseInt(form1.add_sp.value,10); var jiadian_hp = parseInt(form1.jiadian_hp.value,10); var jiadian_mp = parseInt(form1.jiadian_mp.value,10); var jiadian_ap = parseInt(form1.jiadian_ap.value,10); var jiadian_sp = parseInt(form1.jiadian_sp.value,10); var hp,mp,sp,dp,ap; var zhuangbei_hp = parseInt(form1.zhuangbei_hp.value,10); var zhuangbei_mp = parseInt(form1.zhuangbei_mp.value,10); var zhuangbei_ap = parseInt(form1.zhuangbei_ap.value,10); var zhuangbei_sp = parseInt(form1.zhuangbei_sp.value,10); var zhuangbei_dp = parseInt(form1.zhuangbei_dp.value,10); var jiadian_jin = parseInt(form1.jiadian_jin.value,10); var jiadian_mu = parseInt(form1.jiadian_mu.value,10); var jiadian_shui = parseInt(form1.jiadian_shui.value,10); var jiadian_huo = parseInt(form1.jiadian_huo.value,10); var jiadian_tu = parseInt(form1.jiadian_tu.value,10); var add_jin = parseInt(form1.add_jin.value,10); var add_mu = parseInt(form1.add_mu.value,10); var add_shui = parseInt(form1.add_shui.value,10); var add_huo = parseInt(form1.add_huo.value,10); var add_tu = parseInt(form1.add_tu.value,10); var xiangxing_jin = parseInt(form1.xiangxing_jin.value,10); var xiangxing_mu = parseInt(form1.xiangxing_mu.value,10); var xiangxing_shui = parseInt(form1.xiangxing_shui.value,10); var xiangxing_huo = parseInt(form1.xiangxing_huo.value,10); var xiangxing_tu = parseInt(form1.xiangxing_tu.value,10); var money_now=parseInt(form1.money_now.value,10); var money_bank=parseInt(form1.money_bank.value,10); point_hp=point_hp-level; point_mp=point_mp-level; point_ap=point_ap-level; point_sp=point_sp-level; hp= Math.round(0.645*level*parseInt(1.084*level+0.66276)+28.824*level+74.2808)+parseInt((level-1)/3.536+5)*point_hp+xiangxing_mu*(level+point_hp)/1.03; mp= 0.4070*level*parseInt(1.1823*level)+18.3623*level+63.5348+parseInt((level-1)/5.304+4)*point_mp; ap= 40 + (level+point_ap)*5 +0.476075*(level+point_ap)*xiangxing_tu; sp= 48 + (level+point_sp)*2 +0.02367*(level+point_sp)*xiangxing_huo; dp= 20 + (level+point_hp)*5 +0.214*(level+point_hp)*xiangxing_shui; form1.hp.value = parseInt(hp+zhuangbei_hp); form1.mp.value = parseInt(mp+zhuangbei_mp); form1.ap.value = parseInt(ap+zhuangbei_ap); form1.sp.value = parseInt(sp+zhuangbei_sp); form1.dp.value = parseInt(dp+zhuangbei_dp); }

他里面的两个js方法

我要举报
如以上问答信息为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
Scientists are worried that an asteroid(小
什么大学专业最简单,读职高,学什么专业好,
夏季柳树的句子,关于春夏秋冬的柳树句子
过节给领导送礼需要注意什么?
现在网上最最流行的是什么`??
从武昌区到汉阳沌口体育中心坐什么公交车具体
单选题下列现象中属于光的干涉现象的是A.天空
现在做什么最赚钱
ISO9000内审员考题
怎样改掉丈夫的倔脾气?
白色速干运动衣上的泥巴印怎么洗
我买的w595c怎么才是300万相数?上面标的是320
冬天手这样,遇热就红肿特别麻烦怎么办
火红4至7岛怎么去
商业街上 一楼门面40平米二楼400平米,适合经
推荐资讯
有没有类似天龙八部的网游?
厦门鼓浪屿唯美句子,厦门爱情海句子
什么去痘疤跟痘印比较好?
工商银行卡取现超两万要多久可以再取
英雄联盟里说英雄肉是不是说英雄的生命值高?
毕业赠言给搞笑的同学,适合毕业生的搞笑赠言
祖国在我心中什么意思
让生命充满爱的观后感应该用什么题目?
世界上最遥远的距离是什麽?
江山市婺剧研究院我想知道这个在什么地方
广西目前有什么好发展
,谁帮我弄qq空间啊
正方形一边上任一点到这个正方形两条对角线的
阴历怎么看 ?