index.html 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  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>Renderer Backend
  35. <select id="backend-select" value="canvas">
  36. <option value="canvas">Canvas</option>>
  37. <option value="svg">SVG</option>
  38. </select>
  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. <input type="button" value="reset" id="reset-cursor-btn"/>
  44. </p>
  45. <p>
  46. Zoom controls:
  47. <input type="button" value="zoom in" id="zoom-in-btn"/>
  48. <input type="button" value="zoom out" id="zoom-out-btn"/>
  49. </p>
  50. <table cellspacing="0">
  51. <tr>
  52. <td>
  53. <p>Zoom factor: <span id="zoom-str">???</span>%</p>
  54. </td>
  55. <td>
  56. <p>Current width: <span id="size-str">???</span>px</p>
  57. </td>
  58. </tr>
  59. </table>
  60. </td>
  61. </tr>
  62. <tr id="error-tr">
  63. <td></td>
  64. <td id="error-td"></td>
  65. </tr>
  66. </table>
  67. </body>
  68. </html>