js
joegu
这个作者很懒,什么都没留下…
展开
-
类似flash的导航条-js做的
The JavaScripts.com#miniflex { width: 60%; float: left; font-size: small; /* could be specified at a higher level */ margin: 0 0 0 100px; padding: 0 10px 0 10px; border-bottom: 1px solid #696;转载 2009-02-18 14:03:00 · 1100 阅读 · 0 评论 -
把数字后的百分号去除-js
alert(parseInt("100%"));alert(parseFloat("21.5%"));//-->转载 2009-02-18 14:05:00 · 9460 阅读 · 0 评论 -
toFixed() 方法可把 Number 四舍五入为指定小数位数的数字-js
alert(1.49999999.toFixed(2));//-->转载 2009-02-18 14:07:00 · 1180 阅读 · 0 评论