formations/javascript/base/index.html

69 lines
1.8 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<title>Cadoles - Formation Javascript</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<style type="text/css">
body {
font-family: 'Droid Sans', 'Ubuntu Sans', 'sans-serif';
}
h1, h2, h3 {
font-family: 'Caviar Dream', 'Droid Sans', 'Ubuntu Sans', 'sans-serif';
font-weight: normal;
}
.remark-code, .remark-inline-code { font-family: 'Ubuntu Mono', monospace; }
</style>
<link href="../cadoles-theme.css" rel="stylesheet">
</head>
<body>
<script src="../bower_components/remark/out/remark.js"></script>
<script type="text/javascript">
var slides = [
'cover',
'plan',
'historique',
'langage',
'variables-1',
'variables-2',
'structures-1',
'structures-2',
'structures-3',
'objets-1',
'objets-2',
'fonctions-1',
'fonctions-2',
'fonctions-3',
'fonctions-4',
'tableaux-1',
'tableaux-2',
'modele-objet-1',
'modele-objet-2',
'modele-objet-3',
'modele-objet-4',
'modularisation-1',
'modularisation-2',
'modularisation-3',
'modularisation-4',
'modularisation-5',
'modularisation-6',
'modularisation-7'
];
var slideshow = remark.create({
source: slides.map(fetchSlide).join('\n---\n'),
highlightStyle: 'github',
highlightLanguage: 'javascript'
});
function fetchSlide(slideName) {
var req = new XMLHttpRequest();
req.open('GET', slideName+'.md', false);
req.send();
return req.responseText.replace(/\r\n/g, '\n');
};
</script>
</body>
</html>