This is the demo page for jConvert. Below is a sample of how you would use jConvert.
To use jConvert, you need to have jQuery along with the jquery.jconvert.js file included in this download. A stylesheet has also been provided, which you can edit if you would like to customize the look of the jConvert tooltip.
To include these 3 files, add the following lines within the tag of your webpage:
<link rel="stylesheet" href="jconvert.css" /> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="jquery.jconvert.js"></script>
Now you can apply the jconvert function to any DOM element on your page. To do so, use code similar to this in your webpage:
<script type="text/javascript"> $(document).ready(function(){ $('a.jconvert').jconvert(); }); </script>
Hover over the measurement units to see some conversions to other units.
Sample Volumes:
If you have any feedback, comments or issues, please drop me an email at maria@mariacheung.com and I'll be happy to help or answer any questions.