© 2007-08 Čestmír Hýbl <>, http://cestmir.freeside.sk/projects/dhtml-nixie-display
|
(just type expressions on keyboard as on any basic electronic calculator)
[q] sqrt [Q] sqr [^] pow [m] +/- [p] PI [Enter] = [Esc] clear |
Features:
Notices:
(suppose you have package archive extracted in ./nixie directory)
1. include library in head section of the page:
<script type="text/javascript" src="nixie/nixie.js"></script>
2. drop some box element to serve as display container:
<div id="nd1"></div>
3. instantiate and use component:
<script type="text/javascript">
var nd = new NixieDisplay();
nd.id = 'nd1';
nd.charCount = 12;
nd.urlCharsetImage = 'nixie/zm1082_l1_09bdm_62x150_8b.png';
nd.charWidth = 62;
nd.charHeight = 150;
nd.charGapWidth = 5;
nd.align = 'right';
nd.init();
nd.setText('-1.234567890');
</script>
Explore library and this demo page sources for more info.
Free for non-commercial use only. Copyright and project URL has to be preserved.
(this holds for both the code and the images)
| [1] |
Wikipedia: Nixie tube http://en.wikipedia.org/wiki/Nixie_tube |