Commit c0410d40 authored by Sylvain Coulange's avatar Sylvain Coulange
Browse files

début exportlink()

parent 53a6e3eb
var phonTableFr = `
<div class="d-flex justify-content-evenly">
<!-- CONSONNES -->
<div style="position:relative">
<div class="form-check" style="position:absolute;left:-20px;top:-25px">
<div class="d-flex p-1 m-1" style="background-color:#caf2ca;border:1px solid black; border-radius:5px">
<div class="form-check align-self-center">
<input class="form-check-input" type="checkbox" onchange="checkUncheck(this.checked,'check-cons')" id="checkAll" checked>
</div>
<table>
<table style="background-color:white;">
<tbody>
<tr>
<td class="phonTableTd"><div class="custphonc" data-phon="m"></div></td>
<td class="phonTableTd"><div class="custphonc" data-phon="n"></div></td>
<td class="phonTableTd"><div class="custphon custphonc" data-phon="m"></div></td>
<td class="phonTableTd"><div class="custphon custphonc" data-phon="n"></div></td>
<td class="phonTableTd"> </td>
<td class="phonTableTd"><div class="custphonc" data-phon="ŋ"></div></td>
<td class="phonTableTd"><div class="custphon custphonc" data-phon="ŋ"></div></td>
</tr>
<tr>
<td class="phonTableTd"><div class="custphonc" data-phon="p"></div></td>
<td class="phonTableTd"><div class="custphonc" data-phon="t"></div></td>
<td class="phonTableTd"><div class="custphon custphonc" data-phon="p"></div></td>
<td class="phonTableTd"><div class="custphon custphonc" data-phon="t"></div></td>
<td class="phonTableTd"> </td>
<td class="phonTableTd"><div class="custphonc" data-phon="k"></div></td>
<td class="phonTableTd"><div class="custphon custphonc" data-phon="k"></div></td>
</tr>
<tr>
<td class="phonTableTd"><div class="custphonc" data-phon="b"></div></td>
<td class="phonTableTd"><div class="custphonc" data-phon="d"></div></td>
<td class="phonTableTd"><div class="custphon custphonc" data-phon="b"></div></td>
<td class="phonTableTd"><div class="custphon custphonc" data-phon="d"></div></td>
<td class="phonTableTd"> </td>
<td class="phonTableTd"><div class="custphonc" data-phon="ɡ"></div></td>
<td class="phonTableTd"><div class="custphon custphonc" data-phon="ɡ"></div></td>
</tr>
<tr>
<td class="phonTableTd"><div class="custphonc" data-phon="f"></div></td>
<td class="phonTableTd"><div class="custphonc" data-phon="s"></div></td>
<td class="phonTableTd"><div class="custphonc" data-phon="ʃ"></div></td>
<td class="phonTableTd"><div class="custphon custphonc" data-phon="f"></div></td>
<td class="phonTableTd"><div class="custphon custphonc" data-phon="s"></div></td>
<td class="phonTableTd"><div class="custphon custphonc" data-phon="ʃ"></div></td>
<td class="phonTableTd"> </td>
</tr>
<tr>
<td class="phonTableTd"><div class="custphonc" data-phon="v"></div></td>
<td class="phonTableTd"><div class="custphonc" data-phon="z"></div></td>
<td class="phonTableTd"><div class="custphonc" data-phon="ʒ"></div></td>
<td class="phonTableTd"><div class="custphonc" data-phon="ʁ"></div></td>
<td class="phonTableTd"><div class="custphon custphonc" data-phon="v"></div></td>
<td class="phonTableTd"><div class="custphon custphonc" data-phon="z"></div></td>
<td class="phonTableTd"><div class="custphon custphonc" data-phon="ʒ"></div></td>
<td class="phonTableTd"><div class="custphon custphonc" data-phon="ʁ"></div></td>
</tr>
<tr>
<td class="phonTableTd"> </td>
<td class="phonTableTd"><div class="custphonc" data-phon="l"></div></td>
<td class="phonTableTd"><div class="custphon custphonc" data-phon="l"></div></td>
<td class="phonTableTd"> </td>
<td class="phonTableTd"> </td>
</tr>
......@@ -51,9 +51,9 @@ var phonTableFr = `
</tr>
<tr>
<td class="phonTableTd"> </td>
<td class="phonTableTd"><div class="custphonc" data-phon="j"></div></td>
<td class="phonTableTd"><div class="custphonc" data-phon="ɥ"></div></td>
<td class="phonTableTd"><div class="custphonc" data-phon="w"></div></td>
<td class="phonTableTd"><div class="custphon custphonc" data-phon="j"></div></td>
<td class="phonTableTd"><div class="custphon custphonc" data-phon="ɥ"></div></td>
<td class="phonTableTd"><div class="custphon custphonc" data-phon="w"></div></td>
</tr>
<tr>
<td class="phonTableTd"></td>
......@@ -62,73 +62,71 @@ var phonTableFr = `
<td class="phonTableTd"></td>
</tr>
<tr>
<td class="phonTableTd"><div class="custphonc" data-phon="ks"></div></td>
<td class="phonTableTd"><div class="custphonc" data-phon="ɡz"></div></td>
<td class="phonTableTd"><div class="custphonc" data-phon="ɲ"></div></td>
<td class="phonTableTd"><div class="custphonc" data-phon="tʃ"></div></td>
<td class="phonTableTd"><div class="custphon custphonc" data-phon="ks"></div></td>
<td class="phonTableTd"><div class="custphon custphonc" data-phon="ɡz"></div></td>
<td class="phonTableTd"><div class="custphon custphonc" data-phon="ɲ"></div></td>
<td class="phonTableTd"><div class="custphon custphonc" data-phon="tʃ"></div></td>
</tr>
</tbody>
</table>
</div>
<!-- VOYELLES -->
<div class="d-flex flex-column justify-content-around">
<div style="position:relative">
<div class="form-check" style="position:absolute;left:-20px;top:-25px">
<input class="form-check-input" type="checkbox" onchange="checkUncheck(this.checked,'check-vow')" id="checkAllv" checked>
</div>
<table>
<tbody>
<tr>
<td class="phonTableTd"><div class="custphonv" data-phon="i"></div></td>
<td class="phonTableTd"><div class="custphonv" data-phon="y"></div></td>
<td class="phonTableTd"> </td>
<td class="phonTableTd"><div class="custphonv" data-phon="u"></div></td>
</tr>
<tr>
<td class="phonTableTd"><div class="custphonv" data-phon="e"></div></td>
<td class="phonTableTd"><div class="custphonv" data-phon="ø"></div></td>
<td rowspan="2"><div class="custphonv" data-phon="ə"></div></td>
<td class="phonTableTd"><div class="custphonv" data-phon="o"></div></td>
</tr>
<tr>
<td class="phonTableTd"><div class="custphonv" data-phon="ɛ"></div></td>
<td class="phonTableTd"><div class="custphonv" data-phon="œ"></div></td>
<td class="phonTableTd"><div class="custphonv" data-phon="ɔ"></div></td>
</tr>
<tr>
<td class="phonTableTd"> </td>
<td class="phonTableTd"> </td>
<td class="phonTableTd"><div class="custphonv" data-phon="a"></div></td>
<td class="phonTableTd"><div class="custphonv" data-phon="ɑ"></div></td>
</tr>
<tr>
<td class="phonTableTd"></td>
<td class="phonTableTd"></td>
<td class="phonTableTd"></td>
<td class="phonTableTd"></td>
</tr>
<tr>
<td class="phonTableTd"><div class="custphonv" data-phon="ɛ̃"></div></td>
<td class="phonTableTd"><div class="custphonv" data-phon="œ̃"></div></td>
<td class="phonTableTd"><div class="custphonv" data-phon="ɑ̃"></div></td>
<td class="phonTableTd"><div class="custphonv" data-phon="ɔ̃"></div></td>
</tr>
<tr>
<td class="phonTableTd"></td>
<td class="phonTableTd"></td>
<td class="phonTableTd"></td>
<td class="phonTableTd"></td>
</tr>
<tr>
<td class="phonTableTd"><div class="custphonv" data-phon="wa"></div></td>
<td class="phonTableTd"><div class="custphonv" data-phon="wɛ̃"></div></td>
<td class="phonTableTd"><div class="custphonv" data-phon="ɥi"></div></td>
<td class="phonTableTd"><div class="custphonv" data-phon="ij"></div></td>
</tr>
</tbody>
</table>
<div class="d-flex p-1 m-1" style="background-color:#caf2ca;border:1px solid black; border-radius:5px">
<div class="form-check align-self-center">
<input class="form-check-input" type="checkbox" onchange="checkUncheck(this.checked,'check-vow')" id="checkAllv" checked>
</div>
<table style="background-color:white;">
<tbody>
<tr>
<td class="phonTableTd"><div class="custphon custphonv" data-phon="i"></div></td>
<td class="phonTableTd"><div class="custphon custphonv" data-phon="y"></div></td>
<td class="phonTableTd"> </td>
<td class="phonTableTd"><div class="custphon custphonv" data-phon="u"></div></td>
</tr>
<tr>
<td class="phonTableTd"><div class="custphon custphonv" data-phon="e"></div></td>
<td class="phonTableTd"><div class="custphon custphonv" data-phon="ø"></div></td>
<td rowspan="2"><div class="custphon custphonv" data-phon="ə"></div></td>
<td class="phonTableTd"><div class="custphon custphonv" data-phon="o"></div></td>
</tr>
<tr>
<td class="phonTableTd"><div class="custphon custphonv" data-phon="ɛ"></div></td>
<td class="phonTableTd"><div class="custphon custphonv" data-phon="œ"></div></td>
<td class="phonTableTd"><div class="custphon custphonv" data-phon="ɔ"></div></td>
</tr>
<tr>
<td class="phonTableTd"> </td>
<td class="phonTableTd"> </td>
<td class="phonTableTd"><div class="custphon custphonv" data-phon="a"></div></td>
<td class="phonTableTd"><div class="custphon custphonv" data-phon="ɑ"></div></td>
</tr>
<tr>
<td class="phonTableTd"></td>
<td class="phonTableTd"></td>
<td class="phonTableTd"></td>
<td class="phonTableTd"></td>
</tr>
<tr>
<td class="phonTableTd"><div class="custphon custphonv" data-phon="ɛ̃"></div></td>
<td class="phonTableTd"><div class="custphon custphonv" data-phon="œ̃"></div></td>
<td class="phonTableTd"><div class="custphon custphonv" data-phon="ɑ̃"></div></td>
<td class="phonTableTd"><div class="custphon custphonv" data-phon="ɔ̃"></div></td>
</tr>
<tr>
<td class="phonTableTd"></td>
<td class="phonTableTd"></td>
<td class="phonTableTd"></td>
<td class="phonTableTd"></td>
</tr>
<tr>
<td class="phonTableTd"><div class="custphon custphonv" data-phon="wa"></div></td>
<td class="phonTableTd"><div class="custphon custphonv" data-phon="wɛ̃"></div></td>
<td class="phonTableTd"><div class="custphon custphonv" data-phon="ɥi"></div></td>
<td class="phonTableTd"><div class="custphon custphonv" data-phon="ij"></div></td>
</tr>
</tbody>
</table>
</div>
</div>
`
......@@ -143,61 +141,60 @@ var phonTableEn = `
<table style="background-color:white;">
<tbody>
<tr>
<td class="phonTableTd"><div class="custphon custphonc" data-phon="m"></div></td>
<td class="phonTableTd"> </td>
<td class="phonTableTd"><div class="custphonc" data-phon="m"></div></td>
<td class="phonTableTd"> </td>
<td class="phonTableTd"><div class="custphonc" data-phon="n"></div></td>
<td class="phonTableTd"><div class="custphon custphonc" data-phon="n"></div></td>
<td class="phonTableTd"> </td>
<td class="phonTableTd"><div class="custphonc" data-phon="ŋ"></div></td>
<td class="phonTableTd"><div class="custphon custphonc" data-phon="ŋ"></div></td>
</tr>
<tr>
<td class="phonTableTd"><div class="custphonc" data-phon="p"></div></td>
<td class="phonTableTd"><div class="custphon custphonc" data-phon="p"></div></td>
<td class="phonTableTd"> </td>
<td class="phonTableTd"><div class="custphonc" data-phon="t"></div></td>
<td class="phonTableTd"><div class="custphon custphonc" data-phon="t"></div></td>
<td class="phonTableTd"> </td>
<td class="phonTableTd"><div class="custphonc" data-phon="k"></div></td>
<td class="phonTableTd"><div class="custphon custphonc" data-phon="k"></div></td>
</tr>
<tr>
<td class="phonTableTd"><div class="custphonc" data-phon="b"></div></td>
<td class="phonTableTd"><div class="custphon custphonc" data-phon="b"></div></td>
<td class="phonTableTd"> </td>
<td class="phonTableTd"><div class="custphonc" data-phon="d"></div></td>
<td class="phonTableTd"><div class="custphon custphonc" data-phon="d"></div></td>
<td class="phonTableTd"> </td>
<td class="phonTableTd"><div class="custphonc" data-phon="ɡ"></div></td>
<td class="phonTableTd"><div class="custphon custphonc" data-phon="ɡ"></div></td>
</tr>
<tr>
<td class="phonTableTd"><div class="custphonc" data-phon="f"></div></td>
<td class="phonTableTd"><div class="custphonc" data-phon="θ"></div></td>
<td class="phonTableTd"><div class="custphonc" data-phon="s"></div></td>
<td class="phonTableTd"><div class="custphonc" data-phon="ʃ"></div></td>
<td class="phonTableTd"><div class="custphonc" data-phon="x"></div></td>
<td class="phonTableTd"><div class="custphon custphonc" data-phon="f"></div></td>
<td class="phonTableTd"><div class="custphon custphonc" data-phon="θ"></div></td>
<td class="phonTableTd"><div class="custphon custphonc" data-phon="s"></div></td>
<td class="phonTableTd"><div class="custphon custphonc" data-phon="ʃ"></div></td>
<td class="phonTableTd"><div class="custphon custphonc" data-phon="x"></div></td>
</tr>
<tr>
<td class="phonTableTd"><div class="custphonc" data-phon="v"></div></td>
<td class="phonTableTd"><div class="custphonc" data-phon="ð"></div></td>
<td class="phonTableTd"><div class="custphonc" data-phon="z"></div></td>
<td class="phonTableTd"><div class="custphonc" data-phon="ʒ"></div></td>
<td class="phonTableTd"><div class="custphonc" data-phon="h"></div></td>
<td class="phonTableTd"><div class="custphon custphonc" data-phon="v"></div></td>
<td class="phonTableTd"><div class="custphon custphonc" data-phon="ð"></div></td>
<td class="phonTableTd"><div class="custphon custphonc" data-phon="z"></div></td>
<td class="phonTableTd"><div class="custphon custphonc" data-phon="ʒ"></div></td>
<td class="phonTableTd"><div class="custphon custphonc" data-phon="h"></div></td>
</tr>
<tr>
<td class="phonTableTd"> </td>
<td class="phonTableTd"><div class="custphonc" data-phon="l"></div></td>
<td class="phonTableTd"><div class="custphonc" data-phon="ɹ"></div></td>
<td class="phonTableTd"><div class="custphonc" data-phon="j"></div></td>
<td class="phonTableTd"><div class="custphonc" data-phon="w"></div></td>
<td class="phonTableTd"><div class="custphon custphonc" data-phon="l"></div></td>
<td class="phonTableTd"><div class="custphon custphonc" data-phon="ɹ"></div></td>
<td class="phonTableTd"><div class="custphon custphonc" data-phon="j"></div></td>
<td class="phonTableTd"><div class="custphon custphonc" data-phon="w"></div></td>
</tr>
<tr>
<td class="phonTableTd" colspan="7">
<div class="custphonc" data-phon="sz"></div>
<div class="custphonc" data-phon="tθ"></div>
<div class="custphonc" data-phon="ts"></div>
<div class="custphonc" data-phon="tʃ"></div>
<div class="custphonc" data-phon="dʒ"></div>
<div class="custphonc" data-phon="ks"></div>
<div class="custphonc" data-phon="kʃ"></div>
<div class="custphonc" data-phon="kw"></div>
<div class="custphonc" data-phon="ɡz"></div>
<div class="custphonc" data-phon="ɡʒ"></div>
<div class="custphonc" data-phon="nj"></div>
<div class="custphon custphonc" data-phon="sz"></div>
<div class="custphon custphonc" data-phon="tθ"></div>
<div class="custphon custphonc" data-phon="ts"></div>
<div class="custphon custphonc" data-phon="tʃ"></div>
<div class="custphon custphonc" data-phon="dʒ"></div>
<div class="custphon custphonc" data-phon="ks"></div>
<div class="custphon custphonc" data-phon="kʃ"></div>
<div class="custphon custphonc" data-phon="kw"></div>
<div class="custphon custphonc" data-phon="ɡz"></div>
<div class="custphon custphonc" data-phon="ɡʒ"></div>
<div class="custphon custphonc" data-phon="nj"></div>
</td>
</tr>
</tbody>
......@@ -213,23 +210,22 @@ var phonTableEn = `
<table style="background-color:white;">
<tbody>
<tr>
<td class="phonTableTd"> </div></td>
<td class="phonTableTd"><div class="custphonv" data-phon="iː"></div></td>
<td class="phonTableTd"><div class="custphonv" data-phon="ɪ"></div></td>
<td class="phonTableTd"><div class="custphonv" data-phon="ʊ"></div></td>
<td class="phonTableTd"><div class="custphonv" data-phon="uː"></div></td>
<td class="phonTableTd"><div class="custphon custphonv" data-phon="iː"></div></td>
<td class="phonTableTd"><div class="custphon custphonv" data-phon="ɪ"></div></td>
<td class="phonTableTd"><div class="custphon custphonv" data-phon="ʊ"></div></td>
<td class="phonTableTd"><div class="custphon custphonv" data-phon="uː"></div></td>
</tr>
<tr>
<td class="phonTableTd"><div class="custphonv" data-phon="e"></div><div class="custphonv" data-phon="ɛ"></div></td>
<td class="phonTableTd"><div class="custphonv" data-phon="ɜː"></div></td>
<td class="phonTableTd"><div class="custphon custphonv" data-phon="e"></div><div class="custphon custphonv" data-phon="ɛ"></div></td>
<td class="phonTableTd"><div class="custphon custphonv" data-phon="ɜː"></div></td>
<td class="phonTableTd"></td>
<td class="phonTableTd"><div class="custphonv" data-phon="ɔː"></div></td>
<td class="phonTableTd"><div class="custphon custphonv" data-phon="ɔː"></div></td>
</tr>
<tr>
<td class="phonTableTd"><div class="custphonv" data-phon="æ"></div></td>
<td class="phonTableTd"><div class="custphonv" data-phon="ʌ"></div></td>
<td class="phonTableTd"><div class="custphonv" data-phon="ɑː"></div></td>
<td class="phonTableTd"><div class="custphonv" data-phon="ɒ"></div></td>
<td class="phonTableTd"><div class="custphon custphonv" data-phon="æ"></div></td>
<td class="phonTableTd"><div class="custphon custphonv" data-phon="ʌ"></div></td>
<td class="phonTableTd"><div class="custphon custphonv" data-phon="ɑː"></div></td>
<td class="phonTableTd"><div class="custphon custphonv" data-phon="ɒ"></div></td>
</tr>
</tbody>
</table>
......@@ -241,19 +237,18 @@ var phonTableEn = `
<table style="background-color:white;">
<tbody>
<tr>
<td class="phonTableTd"> </div></td>
<td class="phonTableTd"><div class="custphonschwa" data-phon="i"></div></td>
<td class="phonTableTd"><div class="custphonschwa" data-phon="ə"></div></td>
<td class="phonTableTd"><div class="custphonschwa" data-phon="ɚ"></div></td>
<td class="phonTableTd"><div class="custphonschwa" data-phon="jʊ"></div></td>
<td class="phonTableTd"><div class="custphonschwa" data-phon="u"></div></td>
<td class="phonTableTd"><div class="custphon custphonschwa" data-phon="i"></div></td>
<td class="phonTableTd"><div class="custphon custphonschwa" data-phon="ə"></div></td>
<td class="phonTableTd"><div class="custphon custphonschwa" data-phon="ɚ"></div></td>
<td class="phonTableTd"><div class="custphon custphonschwa" data-phon="jʊ"></div></td>
<td class="phonTableTd"><div class="custphon custphonschwa" data-phon="u"></div></td>
</tr>
<tr>
<td class="phonTableTd"><div class="custphonschwa" data-phon="əl"></div></td>
<td class="phonTableTd"><div class="custphonschwa" data-phon="əm"></div></td>
<td class="phonTableTd"><div class="custphonschwa" data-phon="ən"></div></td>
<td class="phonTableTd"><div class="custphonschwa" data-phon="əz"></div></td>
<td class="phonTableTd"><div class="custphonschwa" data-phon="ɪz"></div></td>
<td class="phonTableTd"><div class="custphon custphonschwa" data-phon="əl"></div></td>
<td class="phonTableTd"><div class="custphon custphonschwa" data-phon="əm"></div></td>
<td class="phonTableTd"><div class="custphon custphonschwa" data-phon="ən"></div></td>
<td class="phonTableTd"><div class="custphon custphonschwa" data-phon="əz"></div></td>
<td class="phonTableTd"><div class="custphon custphonschwa" data-phon="ɪz"></div></td>
</tr>
</tbody>
</table>
......@@ -265,22 +260,22 @@ var phonTableEn = `
<table style="background-color:white;text-align:center">
<tbody>
<tr>
<td class="phonTableTd" colspan="2"><div class="custphonvn" data-phon="ɪə"></div></td>
<td class="phonTableTd" colspan="2"><div class="custphonvn" data-phon="ʊə"></div></td>
<td class="phonTableTd" colspan="2"><div class="custphon custphonvn" data-phon="ɪə"></div></td>
<td class="phonTableTd" colspan="2"><div class="custphon custphonvn" data-phon="ʊə"></div></td>
</tr>
<tr>
<td class="phonTableTd"><div class="custphonvn" data-phon="eɪ"></div></td>
<td class="phonTableTd" colspan="2" rowspan="2"><div class="custphonvn" data-phon="əʊ"></div></td>
<td class="phonTableTd"><div class="custphonvn" data-phon="ɔɪ"></div></td>
<td class="phonTableTd"><div class="custphon custphonvn" data-phon="eɪ"></div></td>
<td class="phonTableTd" colspan="2" rowspan="2"><div class="custphon custphonvn" data-phon="əʊ"></div></td>
<td class="phonTableTd"><div class="custphon custphonvn" data-phon="ɔɪ"></div></td>
</tr>
<tr>
<td class="phonTableTd"><div class="custphonvn" data-phon="eə"></div></td>
<td class="phonTableTd"><div class="custphonvn" data-phon="oʊ"></div></td>
<td class="phonTableTd"><div class="custphon custphonvn" data-phon="eə"></div></td>
<td class="phonTableTd"><div class="custphon custphonvn" data-phon="oʊ"></div></td>
</tr>
<tr>
<td class="phonTableTd"><div class="custphonvn" data-phon="aɪ"></div></td>
<td colspan="2" class="phonTableTd"><div class="custphonvn" data-phon="aɪə"></div></td>
<td class="phonTableTd"><div class="custphonvn" data-phon="aʊ"></div></td>
<td class="phonTableTd"><div class="custphon custphonvn" data-phon="aɪ"></div></td>
<td colspan="2" class="phonTableTd"><div class="custphon custphonvn" data-phon="aɪə"></div></td>
<td class="phonTableTd"><div class="custphon custphonvn" data-phon="aʊ"></div></td>
</tr>
</tbody>
</table>
......@@ -289,4 +284,25 @@ var phonTableEn = `
</div>
`
var phonTableZh = ``
\ No newline at end of file
var phonTableZh = ``
var pasEncoreTraite=`
"wʌ",
"wɑː",
"waɪ",
"waɹ",
"wa",
"juː",
"jə",
"jʊ",
"jʊə",
"jʊɹ"
"ju",
"ɪz",
"ɪɹ",
"ʊɹ",
"ɑɹ",
"ɔɹ",
`
\ No newline at end of file
......@@ -51,6 +51,8 @@ function setPhon(phon) {
thisCSS.cssRules[r].style['stop-color'] = memClass[phon]['stop-color']
thisCSS.cssRules[r].style['-webkit-text-fill-color'] = memClass[phon]['-webkit-text-fill-color']
thisCSS.cssRules[r].style['text-decoration'] = memClass[phon]['text-decoration']
delete memClass[phon];
}
}
}
......@@ -124,17 +126,20 @@ function togglePhon(cbid) {
function checkUncheck(thisChecked, classe) {
cblist = document.querySelectorAll('.'+classe);
// thiscb = document.getElementById('checkAll').checked;
console.log(thisChecked);
if (!thisChecked) {
for (i=0; i<cblist.length; i++) {
cblist[i].checked = false;
togglePhon(cblist[i].id)
if (cblist[i].checked == true){
cblist[i].checked = false;
togglePhon(cblist[i].id)
}
}
} else {
for (i=0; i<cblist.length; i++) {
cblist[i].checked = true;
togglePhon(cblist[i].id)
if (cblist[i].checked == false){
cblist[i].checked = true;
togglePhon(cblist[i].id)
}
}
}
}
......@@ -197,3 +202,25 @@ function makePhonTable(lang) {
}
}
}
function exportCustom(){
var paramlink = "";
// Récupération liste des phonèmes inactifs
var unchecks = "";
for (i in memClass){
unchecks += i.replace('phon_','')+'&';
}
unchecks = unchecks.replace(/&$/,'');
// Récupération liste des couleurs customisées
var cols = document.documentElement.style.cssText.replace(/ /g,'')
.replace(/--phon_/g,'')
.replace(/#/g,'')
.replace(/:/g,'=')
.replace(/;/g,'&')
.replace(/&$/,'');
paramlink = unchecks + '$' + cols;
console.log(paramlink);
}
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment