2
0

learn.html 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  5. <title>Learn Smalltalk with ProfStef</title>
  6. <link href='http://fonts.googleapis.com/css?family=Istok+Web' rel='stylesheet' type='text/css'>
  7. <meta name="author" content="Nicolas Petton">
  8. <link rel="stylesheet" type="text/css" href="css/profstef.css">
  9. <script type="text/javascript" src="./js/amber.js"></script>
  10. </head>
  11. <body>
  12. <div class="main">
  13. <a id="back" href="/"> &larr; back to amber-lang.net </a>
  14. <img src="images/profstef.png"/>
  15. <h1>Hey there! Got 5 minutes? I'm prof Stef and I want to teach you Smalltalk. I promise, it won't take long!</h1>
  16. <div id="tutorial"><h2>Loading...</h2></div>
  17. <script>
  18. function loadTutorial() {
  19. '#tutorial'._asJQuery()._contents_(
  20. function(html) {
  21. html._with_(smalltalk.TrySmalltalkWidget._new())
  22. }
  23. )
  24. }
  25. </script>
  26. </div>
  27. <div id="footer">
  28. <div class="main">
  29. <p>Copyright © 2011 <a href="http://www.nicolas-petton.fr/">Nicolas Petton</a>. The content of this website in licensed under <a href="http://creativecommons.org/licenses/by-nc/3.0/">CC-BY-NC 3.0</a>.</p>
  30. <p>Amber is an opensource project sponsored by <a href="http://www.objectfusion.fr/">objectfusion</a>.</p>
  31. </div>
  32. </div>
  33. <script type="text/javascript">
  34. loadAmber({files: ['TrySmalltalk.js'], prefix: 'examples/trysmalltalk', ready: loadTutorial});
  35. </script>
  36. </body>
  37. </html>