| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
- <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1.0"/>
- <title>Atelier web WCS</title>
- <!-- CSS -->
- <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
- <link href="css/materialize.css" type="text/css" rel="stylesheet" media="screen,projection"/>
- <link href="css/style.css" type="text/css" rel="stylesheet" media="screen,projection"/>
- <style>
- html {
- height: 100%;
- }
- body {
- min-height: 100%;
- overflow: hidden;
- }
- footer {
- position: absolute;
- bottom: 0;
- width: 100%;
- }
- .col-1-2 {
- width: 50%;
- position: absolute;
- top: 0;
- bottom: 0;
- }
- .col-1-2:first-child {
- border-right:1px solid #ddd;
- }
- .col-1-2:last-child {
- left: 50%;
- }
- </style>
- </head>
- <body>
- <div class="main">
- <div class="col-1-2">
- <nav class="light-blue lighten-1" role="navigation">
- <div class="nav-wrapper container"><a id="logo-container" href="#" class="brand-logo">WCS</a>
- <ul class="right hide-on-med-and-down">
- <li><a href="#">Navbar Link</a></li>
- </ul>
- <ul id="nav-mobile" class="side-nav">
- <li><a href="#">Navbar Link</a></li>
- </ul>
- <a href="#" data-activates="nav-mobile" class="button-collapse"><i class="material-icons">menu</i></a>
- </div>
- </nav>
- <div class="section no-pad-bot" id="index-banner">
- <div class="container">
- <h4 class="header orange-text">J'apprends le JavaScript !</h4>
- </div>
- </div>
- <div class="container">
- <div class="section">
- <!-- Icon Section -->
- <div class="col s12">
- <h5 class="header">1. D'abord, un peu de HTML</h5>
- <p>Ouvre le fichier <code>empty.html</code>.</p>
- <p>Tu n'y verras pas grand chose. C'est normal, ça va être à toi de jouer !</p>
- <p>Commence par ajouter du contenu entre les tags <code><body></code> et <code></body></code>, sous la section "CONTENU", puis recharge cette page.</p>
- <p>Tu verras normalement tes ajouts s'afficher sur la moitié droite de l'écran ! Passe à l'étape suivante.</p>
- <h5 class="header">2. Du JavaScript maintenant !</h5>
- <p>Dans <code>empty.html</code>, ajoute ceci, sous la section "SCRIPTS" :</p>
- <pre>
- <script>
- alert("Hello World!");
- </script></pre>
- <p>Puis recharge.</p>
- </div>
- </div>
- </div>
- <footer class="page-footer orange">
- <div class="footer-copyright">
- <div class="container">
- Made by <a class="orange-text text-lighten-3" href="http://materializecss.com">Materialize</a>
- </div>
- </div>
- </footer>
- </div>
- <div class="col-1-2">
- <iframe
- id="iframe"
- src="empty.html"
- frameborder="0"
- marginheight="0"
- marginwidth="0"
- height="100%" width="100%"
- style="overflow:hidden;width:100%;height:100%;"></iframe>
- </div>
- </div>
- <!-- Scripts-->
- <script src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
- <script src="js/materialize.js"></script>
- <script src="js/init.js"></script>
- <script>
- </script>
- </body>
- </html>
|