当前位置:Gxlcms > html代码 > 初学者,js写的一个俄罗斯方块问题_html/css_WEB-ITnose

初学者,js写的一个俄罗斯方块问题_html/css_WEB-ITnose

时间:2021-07-01 10:21:17 帮助过:13人阅读

本帖最后由 ontseason 于 2013-09-28 10:22:03 编辑

俄罗斯方块 源码 js

源码地址: http://paste.pound-python.org/show/A12fE3qDjeauUD3edlcT/

菜鸟。。看不懂那个getTable()函数 return document.getElementById("area");
打死也没看出id=area的元素在哪....


回复讨论(解决方案)

//创建table td填充div根据HorizontalNum,VerticalNum的数量决定,创建HorizontalNum * VerticalNum的表格区域
var table = document.createElement("table");
table.id=" area";

一般都是 搜索的 很少用看的

人气教程排行