home / experts / javascript / column47 |
|
Building the Game's DOMWe build the game's DOM similarly to how we did it for the sliding puzzle. The board consists of
We build each row by first cloning the
and then appending all nodes to the
Similarly, we create the
and then appending each node to the
|
Produced by Yehuda Shiran and Tomer Shiran
Created: August 30, 1999
Revised: August 30, 1999
URL: http://www.webreference.com/js/column47/build.html