1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68
|
<!doctype html>
<html lang="fr">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
<title>Bout</title>
<style>
#resul{
height: 500px;
width: 500px;
margin: 10px;
background-color: #ffd;
overflow: auto;
font-size : 24px;
font-family : georgia;
}
p {
margin: 10px;
font-size : 24px;
font-family : georgia;
}
</style>
<script src="jquery.js"></script>
</head>
<body>
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
tex2jax: {
inlineMath: [["$","$"],["\\(","\\)"]]
}
});
</script>
<p id="deb"> Début >> Clic</p>
\( g\frac{d^2u}{dx^2} + L\sin u = 0 \)
<div id="resul"></div>
<script>
var last=0, diff=5;
$( "div" ).click(function( event ) {
if ( last<=diff ) {
last=last+1;
if ( last==1 ) {
$( "div" ).append("<br>"+ "1.C.1 // i2=0 (sans étincelle) , u2=(L1p+R1).i1 , u2=M.p.i1"
);}
if ( last==2 ) {
$( "div" ).append('<p>'+${g\frac{d^2u}{dx^2} + L\sin u = 0}$+'</p>'
);}
if ( last==3 ) {
$( "div" ).append("<br>"+ "1.C.3"
);}
if ( last==4 ) {
$( "div" ).append("<br>"+ "1.C.4"
);}
if ( last==5 ) {
$( "div" ).append("<br>"+ "1.C.5"
);}
} else {
$( "div" ).empty();
last=0;
}
});
</script>
${g\frac{d^2u}{dx^2} + L\sin u = 0}$
</body>
</html> |