js
#不许人间见白头#
这个作者很懒,什么都没留下…
展开
-
js计时器
计时器 <html> <head> <title>js的内置对象</title> <script type="text/javascript"> /*var rand=parseInt(Math.random()*30+20); document.write(rand+"<br>"); var num1=Math.floor(25.4); document.write(num1+"<br>"原创 2020-07-28 23:29:50 · 279 阅读 · 0 评论 -
js模拟论坛发帖
模拟论坛发帖 <html> <head> <title>论坛发帖</title> <style type="text/css"> .content{ width:520px; /*border:1px solid pink;*/ } #txt1{ width:600px; padding-left:5px; padding-bottom:5px; border-bottom原创 2020-07-28 23:27:29 · 1108 阅读 · 0 评论 -
js动态表格
动态表格 <html> <head> <title>动态表格</title> <style type="text/css"> table{ width:500px; text-align:center; } div{ text-align:center; } </style> <script type="text/javascript"> fu原创 2020-07-28 23:20:35 · 93 阅读 · 0 评论 -
树形菜单
树形菜单 <html> <head> <title>树形菜单</title> <style type="text/css"> .txt{ width:400px; height:600px; border:2px solid pink; margin:auto; padding-left:35px; position:relative; } dl a{ text-de原创 2020-07-28 23:14:49 · 266 阅读 · 0 评论 -
js 九九乘法表
九九乘法表 <html> <head> <title>九九乘法表</title> <style type="text/css"> td{ border:1px solid pink; } </style> <script type="text/javascript"> document.write("<table border='0' align='center'>")原创 2020-07-28 23:12:52 · 92 阅读 · 0 评论 -
js打印倒金字塔横线
js打印倒金字塔横线 <html> <head> <title>倒正金字塔</title> <script type="text/javascript"> var i; for(i=1;i<=6;i++){ document.write("<hr width="+(100-(i*13))+"%>"); } for(i=5;i>=0;i--){ document.write("原创 2020-07-28 23:10:49 · 1526 阅读 · 0 评论