首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > JAVA > Java相关 >

javascript解决方法

2012-03-17 
javascript请师兄师姐给个javascript的基本语法比较完整的代码,包括尽量多的HTML标签,我主要想重新看看他

javascript
请师兄师姐给个javascript的基本语法比较完整的代码,包括尽量多的HTML标签,我主要想重新看看他们的标签和属性的基本用法,现在好多都忘记了,小弟不胜感激!

[解决办法]

HTML code
<html><body bgcolor=black leftmargin=0 topmargin=0><table border=1 width="100%" height="100%"><tr><form name=loading>  <td align="center">  <p style="color:white; font-size:60;">世界因你而美好</p>    <input type="text" name=chart size=100 style="border-style:none; color:red; background:yellow;font-weight:900;">    <br>    <input type="text" name=percent size=100 style="text-align:center;border-style:none; color:red; background:black;">    <br>    <input type="button" onclick="count()" value="快点击我"><script type="text/javascript">  var bar=0 ;  var line="||" ;  var amount = "||" ;    function count()  {      bar = bar +2 ;      amount = amount +line ;      document.loading.chart.value=amount ;      document.loading.percent.value=bar+"%" ;      if(bar<99)        setTimeout("count()",100);      else        window.location="http://www.flash88.net/flash882004y12y9auto3ty/f3/485.swf" ;  }</script>  </td> </form></tr></table></body></html> 

热点排行