ABCSandbox: Difference between revisions
No edit summary |
No edit summary |
||
Line 37: | Line 37: | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
window.onload = function() { | window.onload = function() { | ||
abc_editor = new ABCEditor("abc", { paper_id: "paper0 | abc_editor = new ABCEditor("abc", { paper_id: "paper0", warnings_id:"warnings" }); | ||
} | } | ||
</script> | </script> |
Revision as of 00:13, 8 August 2011
<addhtml> <!DOCTYPE HTML> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> <title>ABC Sandbox</title>
<script src="/w/JavaScript/abcjs_editor_1.0.7-min.js" type="text/javascript"></script> </head> <body>
Type or paste an abc tune in the area below and see it rendered as you type. Also notice that you can click on the drawn notes and see the place in the text where that note is defined.
<script type="text/javascript">
window.onload = function() {
abc_editor = new ABCEditor("abc", { paper_id: "paper0", warnings_id:"warnings" });
}
</script>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-13012902-1");
pageTracker._trackPageview();
} catch(err) {}
</script>
Based on abcjs. For more information, see <a href="http://code.google.com/p/abcjs/" >the project page</a>.
Author: <a href=" mailto:paul@paulrosen.net ">Paul Rosen</a>
</body> </html> </addhtml>