»
EnglishFrenchVietnamese

Print - Make one Visible box - JavaScriptBank.com

Full version: jsB@nk » Game » Make one Visible box
URL: https://www.javascriptbank.com/make-one-visible-box.html

Make one Visible box © JavaScriptBank.comGame requires a little brain's activity.

Full version: jsB@nk » Game » Make one Visible box
URL: https://www.javascriptbank.com/make-one-visible-box.html



JavaScript
<SCRIPT language=javascript>var work1='true';var work2='true';var work3='true';var work4='true';var work5='true';var work6='true';</SCRIPT><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->


HTML
<TABLE height="100%" cellSpacing=0 width="30%" celpadding="0">  <TBODY>  <TR>    <TD id=a1     onclick="work6='false';if(work1=='true')document.all.a6.bgColor='white'"     bgColor=navy>&nbsp;</TD>    <TD id=a2     onclick="work3='false';if(work2=='true')document.all.a3.bgColor='white'"     bgColor=red>&nbsp;</TD>    <TD id=a3     onclick="work5='false';if(work3=='true')document.all.a5.bgColor='white'"     bgColor=aqua>&nbsp;</TD></TR>  <TR>    <TD id=a4     onclick="work6='false';if(work4=='true')document.all.a6.bgColor='white'"     bgColor=yellow>&nbsp;</TD>    <TD id=a5     onclick="work1='false';if(work5=='true')document.all.a1.bgColor='white'"     bgColor=blue>&nbsp;</TD>    <TD id=a6     onclick="work2='false';if(work6=='true')document.all.a2.bgColor='white'"     bgColor=green>&nbsp;</TD></TR></TBODY></TABLE><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->