greeking.js in action
The following is sample usage from the greeking.js
covered in the previous chapter, Configurable greeking. The
samples are dynamically generated by the service.
Reload to redraw the greeking output
Title
<script type="text/javascript" src="http://elektrum.org/js/greeking.js?type=title"> </script>
Name
<script type="text/javascript" src="http://elektrum.org/js/greeking.js?type=name"> </script>
URL
<script type="text/javascript" src="http://elektrum.org/js/greeking.js?type=url"> </script>
<script type="text/javascript" src="http://elektrum.org/js/greeking.js?type=email"> </script>
3 paragraphs in <p>
<script type="text/javascript" src="http://elektrum.org/js/greeking.js?pc=3"> </script>
2 short paragraphs in locally defined CSS class, <div class=“result”>
<script type="text/javascript" src="http://elektrum.org/js/greeking.js?delim=div;class=result;pc=2;wc=3,20"> </script>
A 17 word <blockquote>
<script type="text/javascript" src="http://elektrum.org/js/greeking.js?pc=1;delim=blockquote;wc=17"> </script>
2 text blocks joined with <br /><br />
<script type="text/javascript" src="http://elektrum.org/js/greeking.js?pc=2;delim=brbr"> </script>
Default paragraphs, no args
<script type="text/javascript" src="http://elektrum.org/js/greeking.js"> </script>
All original content is ©2004-2005 an elektrum press, all
rights reserved. For code use, please see Licenses and terms of use.