$w . onReady (()=> {
$w ( ‘#html2’ ). show ();
$w ( ‘#html3,#html3,#html4,#html5,#html6,#html7,#html8’ ). hide ();
$w ( '#table1' ). show ();
$w ( '#table2' ). hide ();
$w ( ‘#switch1’ ). onChange (()=>{
if ( $w ( ‘#switch1’ ). checked === false ){
$w ( ‘#table1’ ). show ();
$w ( ‘#table2’ ). hide ();
}
else if ( $w ( ‘#switch1’ ). checked === true ){
$w ( ‘#table1’ ). hide ();
$w ( ‘#table2’ ). show ();
}
$w ( ‘#dropdown1’ ). onChange (()=>{
if ( $w ( “#dropdown1” ). value === “Ethereum (ETH)” ){
$w ( ‘#html2’ ). show ();
$w ( ‘#html3,#html4,#html5,#html6,#html7,#html8’ ). hide ();
}
else if ( $w ( “#dropdown1” ). value === “Raven (RVN)” ){
$w ( ‘#html3’ ). show ();
$w ( ‘#html2,#html4,#html5,#html6,#html7,#html8’ ). hide ();
}
else if ( $w ( “#dropdown1” ). value === “Ergo (ERG)” ){
$w ( ‘#html4’ ). show ();
$w ( ‘#html2,#html3,#html5,#html6,#html7,#html8’ ). hide ();
}
else if ( $w ( “#dropdown1” ). value === “Bitcoin Gold (BTG)” ){
$w ( ‘#html5’ ). show ();
$w ( ‘#html2,#html3,#html4,#html6,#html7,#html8’ ). hide ();
}
else if ( $w ( “#dropdown1” ). value === “Eth Classic (ETC)” ){
$w ( ‘#html6’ ). show ();
$w ( ‘#html2,#html3,#html4,#html5,#html7,#html8’ ). hide ();
}
else if ( $w ( “#dropdown1” ). value === “Conflux (CFX)” ){
$w ( ‘#html7’ ). show ();
$w ( ‘#html2,#html3,#html4,#html5,#html6,#html8’ ). hide ();
}
else if ( $w ( “#dropdown1” ). value === “Cortex (CTXC)” ){
$w ( ‘#html8’ ). show ();
$w ( ‘#html2,#html3,#html4,#html5,#html6,#html7’ ). hide ();
}
})
})
})