View note-form.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
# Licensed under a CC0 1.0 Universal (CC0 1.0) Public Domain Dedication | |
# http://creativecommons.org/publicdomain/zero/1.0/ | |
$labels = array( | |
"What’s on your mind?", | |
"Hey Joe, what do you know?", | |
"Speak your brains", | |
"Share what you know", |
View datalist.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<title>Datalist test</title> | |
<meta charset="utf-8"> | |
<form> | |
<label for="source">How did you hear about us?</label> | |
<datalist id="sources"> | |
<select name="source"> | |
<option>please choose...</option> | |
<option value="television">Television</option> | |
<option value="radio">Radio</option> |
View flexboxtest.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Flexbox test</title> | |
<style> | |
@media screen and (min-width: 30em) { | |
body { | |
display: -webkit-box; | |
display: -moz-box; | |
display: -ms-box; |
View monthform.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Input test</title> | |
</head> | |
<body> | |
<form method="post" action="#"> |
View placeholderFromDatalist.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function(win,doc) { | |
if (doc.querySelectorAll) { | |
var inputs = doc.querySelectorAll('input[list]'), | |
total = inputs.length; | |
for (var i=0; i<total; i++) { | |
var input = inputs[i], | |
id = input.getAttribute('list'), | |
list = doc.getElementById(id), | |
options = list.getElementsByTagName('option'), | |
amount = options.length, |
View postToFlickr.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
# Licensed under a CC0 1.0 Universal (CC0 1.0) Public Domain Dedication | |
# http://creativecommons.org/publicdomain/zero/1.0/ | |
function postToFlickr($data=array()) { | |
$api_key = 'XXX'; | |
$api_secret = 'XXXX'; | |
$auth_token = 'XXXX'; |
View oEmbed.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
# Licensed under a CC0 1.0 Universal (CC0 1.0) Public Domain Dedication | |
# http://creativecommons.org/publicdomain/zero/1.0/ | |
function getEmbedCode($url="",$maxwidth=320) { | |
$return = ''; | |
$providers = array( |
View Look ahead pre-parser test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<title>Test</title> | |
<object data="foo.svg" type="image/svg+xml"> | |
<img src="foo.png"> | |
</object> |
View urtext.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h1>Standardisation</h1> | |
There was not a lot of discussion of this at <a href=Introduction.html>ECHT90</a>, but there seem to be two leads: | |
<ol> | |
<li><a href=People.html#newcombe>Steve newcombe's</a> and Goldfarber's "Hytime" committee | |
looking into SGML, and | |
<li>An ISO working group known as MHEG, "Multimedia/HyperText Expert Group". | |
led by one Francis Kretz (Thompsa SA? Rennes?). | |
</lo> |
View tabledisplaytest.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Table Display test</title> | |
<style> | |
@media screen and (min-width: 30em) { | |
body { | |
display: table; | |
caption-side: top; | |
} |
OlderNewer