index.html 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  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-debug.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. <link rel="icon" href="./favicon.ico?" type="image/x-icon"/>
  14. </head>
  15. <body>
  16. <table cellspacing="0" style="max-width:700px;">
  17. <tr>
  18. <td>
  19. <img src="./favicon.ico?" style="width:64px;height:64px;"/>
  20. </td>
  21. <td>
  22. <h1>OpenSheetMusicDisplay Demo</h1>
  23. </td>
  24. </tr>
  25. </table>
  26. <table cellspacing="0" style="max-width:700px;">
  27. <tr>
  28. <td valign="top">
  29. <select id="select"></select>
  30. <p> Select a sample from the list ... </p>
  31. <p>... or just drop your MusicXML file on this page.</p>
  32. </td>
  33. <td valign="top" halign="right">
  34. <p>Cursor controls:
  35. <input type="button" value="show" id="show-cursor-btn"/>
  36. <input type="button" value="hide" id="hide-cursor-btn"/>
  37. <input type="button" value="next" id="next-cursor-btn"/>
  38. <input type="button" value="reset" id="reset-cursor-btn"/>
  39. </p>
  40. <p>
  41. Zoom controls:
  42. <input type="button" value="zoom in" id="zoom-in-btn"/>
  43. <input type="button" value="zoom out" id="zoom-out-btn"/>
  44. </p>
  45. <table cellspacing="0">
  46. <tr>
  47. <td>
  48. <p>Zoom factor: <span id="zoom-str">???</span>%</p>
  49. </td>
  50. <td>
  51. <p>Current width: <span id="size-str">???</span>px</p>
  52. </td>
  53. </tr>
  54. </table>
  55. </td>
  56. </tr>
  57. <tr id="error-tr">
  58. <td></td>
  59. <td id="error-td"></td>
  60. </tr>
  61. </table>
  62. </body>
  63. </html>