So my wife and I have been looking at house plans with the intent of building one day. And I have been scripting a lot. I don't know exactly what triggered it but I had a dream we were building the house and I was laying out the floor with CSS and Javascript. I made it self cleaning. To bad it can't really be done this way.
<div id="kitchenFloor" class="Pergo Mahogany WideStrips" onwalk="selfClean()"></div>
function selfClean()
{
var floor = house.getElementById("kitchenFloor");
if(floor.mud == true)
{
//remove Mud
floor.mud = false;
}
}
No comments:
Post a Comment