Difference between revisions of "User:Hef/html"

From sshcWiki
Jump to navigation Jump to search
(Created page with "<html>Hello, World!</html>")
 
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<html>Hello, World!</html>
+
<html>
 +
<button id=foo>Say "Hello, World"</button>
 +
<script>
 +
window.onload = function () {
 +
  var foo = document.getElementById("foo");
 +
  foo.onclick = function() {mw.notify("Hello, World!",{title:"Greetings",type:"info"}) };
 +
}
 +
</script>
 +
</html>

Latest revision as of 17:17, 10 April 2017