notes
this page demonstrates the mushpup mirror code used for simple distribution of the
mushpup hashing form
code
the following code is necessary to use the mushpup mirror:
paste in <head> section
<script type="text/javascript" src="http://mushpup.googlecode.com/svn/trunk/js_bin/mushpup/mushpup_mirror.js"></script>
<script type="text/javascript" src="http://mushpup.googlecode.com/svn/trunk/js_bin/mushpup/mushpup_algorithm.js"></script>
<script type="text/javascript" src="http://mushpup.googlecode.com/svn/trunk/js_bin/third_party/sha1.js"></script>
<script type="text/javascript" src="http://mushpup.googlecode.com/svn/trunk/js_bin/mushpup/lime_basic.js"></script>
paste in <body> section
<script type="text/javascript">cx_mushpup_mirror();</script>
by default, the constructor function will apply inline css styling to format the display. but styling can
also be customized using the stylesheet below. if you wish to style the form yourself,
call the constructor with the
autostyle parameter set to 0, like so:
cx_mushpup_mirror(0);
style
if mushpup mirror is called without the autostyling parameter (i.e.,
cx_mushpup_mirror(0);),
the following stylesheet can be used to control the styling:
<!-- paste style sheet below in page head -->
<style type="text/css">
#mushpup_mirror {}
#mushpup_title {}
#mushpup_title h2 {}
#mushpup_title p {}
#mushpup_form_parent {}
#mushpup_form {}
#mushpup_form label {}
#mushpup_form p {}
#hash_stack {}
#hash_block {}
</style>
<!-- end mushpup mirror stylesheet -->