You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
1.3 KiB

function showContent(url) {
var iframe = document.getElementById("content-iframe");
iframe.src = url;
}
function showContent2(url) {
var iframe = document.getElementById("content2-iframe");
iframe.src = url;
}
function mol1() {
showContent('https://embed.molview.org/v1/?mode=balls&smiles=NCO(O)N');
showContent2('./assets/docs/synthesis/molecules/molecules-procedural/desc/CH7N2O2.html');
}
function mol2() {
showContent('https://embed.molview.org/v1/?mode=balls&smiles=[Pa-2][Se-][Mn][Pt+4][O-3][H+3][Cu][Yb][Cm+4][Tm-3][Os+][Ar+2]');
showContent2('./assets/docs/synthesis/molecules/molecules-procedural/desc/ArCmCuHMnOOsPaPtSeTmYb.html');
}
function mol3() {
showContent('https://embed.molview.org/v1/?mode=balls&smiles=[O-]O[N+][N-4][O-]O[O+][O-3][N-][N+][C-2][O+2]C[C-3]');
showContent2('./assets/docs/synthesis/molecules/molecules-procedural/desc/C3H8N4O7.html');
}
function mol4() {
showContent('https://embed.molview.org/v1/?mode=balls&smiles=ClHCCHSFHOCNOO');
showContent2('./assets/docs/synthesis/molecules/molecules-procedural/desc/ClHCCHSFHOCNOO.html');
}
function mol5() {
showContent('https://embed.molview.org/v1/?mode=balls&smiles=ONOClHClCPPFSNFN');
showContent2('./assets/docs/synthesis/molecules/molecules-procedural/desc/CH10Cl2F2N3O2P2S.html');
}
// Security Cleaner
// Delete all items in localStorage
localStorage.clear();