Hello!
This is my first message in this group.
For generate all syllables, I wrote a small program Javascript,
embesed in a html page .
I try to attach this code here, but it is possible that the system
pull it out (web code in web code !)
******************************************************************************************************************
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<html>
<head>
<title>SILABUS 0.0</title>
<meta name="autoro" content="Daniel Macouin">
<script language="JavaScript">
<!-- JavaScript
function silabus(){
l1 = document.form.L1.value
liste1 = l1.split(",");
l2 = document.form.L2.value
liste2 = l2.split(",");
l3 = document.form.L3.value ;
liste3 = l3.split(",");
silabaire = new Array() ;
// boucles!!
n = 0
for (v=0;v<liste2.length;v++){
for (i=0;i<liste1.length; i++){
for (j=0;j<liste3.length;j++){
silabaire[n]= liste1[i]+liste2[v]+liste3[j];
n++
}
}
}
resultSilab = ""
for (l=0;l<silabaire.length;l++){
resultSilab = resultSilab + "," +silabaire[l] ;
}
//afficheSilabaire = resultSilab.join(",")
document.form.silabaire.value = resultSilab ;
}
// - JavaScript - -->
</script></head>
<body bgcolor="#CCFFCC" text="black" link="blue" vlink="purple"
alink="red">
<div align="center"><table border="0">
<tr>
<td colspan="3" bgcolor="maroon"><h1 align="center"><span
style="background-color:maroon;"><font
color="olive">SILABUS
</
font></span></h1></td>
<td bgcolor="maroon"><p align="center"><font
color="#906D65">Lenadi
MOUCINA .2008. libera programo</font></td>
</tr>
<tr>
<td width="883" colspan="3"><div align="center"><table
border="10" cellpadding="15"
cellspacing="0" width="75%" bgcolor="#7FA256"
style="border-width:8; border-style:outset;">
<tr>
<td><form name="form" method="get">
<h1 align="center"><span style="background-
color:maroon;"><font
color="yellow"> 1 </font></
span><font
color="yellow"> <input type="text"
name="L1" value="x,xy,gh,rt"
size="30"></font></h1>
<h1 align="center"><span style="background-
color:maroon;"><font
color="yellow"> 2 </
font></span><font
color="yellow"> <input type="text"
name="L2" value="a,i"
size="30"></font></h1>
<h1 align="center"><span style="background-
color:maroon;"><font
color="yellow"> 3 </font></
span><font
color="yellow"> <input type="text"
name="L3" value="k,t,rt"
size="30"></font></h1>
<h1 align="center"><font
color="yellow"> </font><input
type="button" name="envoi" value="......
>>>>>"
onclick="silabus() ;" style="font-
style:normal; font-weight:bolder; font-size:x-large; color:yellow;
background-color:maroon; text-decoration:none;">
: [1] [2] [3]</h1></td>
</tr>
</table></div></td>
<td rowspan="2"><p align="center"><textarea name="silabaire"
rows="25"
cols="35" wrap="virtual"></textarea></td>
</tr>
<tr>
<td width="33%"></form>
<h2><span style="background-color:maroon;"><font
color="white"> b,c,d,f,g,h,j,k,l,m,n,p,q,r,s,t,v,x</font></span></
h2></td>
<td width="33%"><h2><span style="background-
color:maroon;"><font color="white">a,e,i,o,u</font></span></h2></td>
<td width="33%"><h2><span style="background-
color:maroon;"><font color="white">y,w</font></span></h2></td>
</tr>
</table></div>
<p> </p>
</body>
</html>
***************************
It's all!
You can see the page here : http://danielmacouin.chez-alice.fr/silabus.htm


|