index.html 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. <!doctype html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <title>OpenSheetMusicDisplay Demo</title>
  6. <meta name="description" content="A showcase for OpenSheetMusicDisplay.">
  7. <meta name="author" content="OpenSheetMusicDisplay contributors">
  8. <!-- Include opensheetmusicdisplay -->
  9. <script src="osmd-demo.js"></script>
  10. <!-- Include code and styles for this demo -->
  11. <script src="demo.js"></script>
  12. <link href="demo.css" media="all" rel="stylesheet" />
  13. <!-- Loglevel library -->
  14. <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/loglevel/1.4.1/loglevel.min.js"></script>
  15. </head>
  16. <body>
  17. <h1>OpenSheetMusicDisplay Demo</h1>
  18. <table cellspacing="0">
  19. <tr>
  20. <td class="bignum">1</td>
  21. <td>
  22. <p>
  23. Select a sample from the list below...
  24. </p>
  25. <select id="select"></select>
  26. <p>... or just drop your MusicXML file on this page.</p>
  27. </td>
  28. </tr>
  29. <tr>
  30. <td class="bignum">2</td>
  31. <td>
  32. <p>Current width: <span id="size-str">???</span>px</p>
  33. <p>Zoom factor: <span id="zoom-str">???</span>%</p>
  34. <p>
  35. Zoom controls:
  36. <input type="button" value="zoom in" id="zoom-in-btn"/>
  37. <input type="button" value="zoom out" id="zoom-out-btn"/>
  38. </p>
  39. <p>Cursor controls:
  40. <input type="button" value="show" id="show-cursor-btn"/>
  41. <input type="button" value="hide" id="hide-cursor-btn"/>
  42. <input type="button" value="next" id="next-cursor-btn"/>
  43. </p>
  44. </td>
  45. </tr>
  46. <tr id="error-tr">
  47. <td></td>
  48. <td id="error-td"></td>
  49. </tr>
  50. </table>
  51. </body>
  52. </html>