SmtC: Show me the Code
Ole Peter Smith
Instituto de Matemática e Estatística
Universidade Federal de Goiás
http://www.olesmith.com.br

Visualize
Even a stopped clock is right once a day.
English proverb
< Generation | Shadow | Legend >
Put Shadow on Elements: Row, Column and Box
Change Classes on Shadow Elements
??Shadow.js Listing: Shadow.js.
"use strict";


function Sudoku_Shadow_Cells(form_id)
{
    let form_quote="'"+form_id+"'";
    
    for (let r=0;r0)
            {
                Sudoku_Input(r,s).setAttribute
                (
                    "onmouseover",
                    "Sudoku_Shadow_Cell(this,"+form_quote+");"
                        +
                    "Sudoku_Same_Value_Cells_Mark("+form_quote+",value);"
                );
                Sudoku_Input(r,s).setAttribute
                (
                    "onmouseout",
                    "Sudoku_Shadow_Cell(this,"+form_quote+",false);"
                    +
                    "Sudoku_Same_Value_Cells_Mark("+form_quote+",value,false);"
                );
            }
        }
    
    }
}


function Sudoku_Shadow_Value_Cells(element,form_id,value,add=true)
{
    let cells=Sudoku_Same_Value_Cells(form_id,value);
    for (let n=0;n
< Generation | Shadow | Legend >
Messages:
0 secs.