Can I move console?

Monkey Forums/Monkey Programming/Can I move console?

ondesic(Posted 2013) [#1]
I am working on a 720p project. Every time I run it, the console is hidden under the game. Is there a way to move the console to a new location, like to the side of my app screen?

Thanks


therevills(Posted 2013) [#2]
I guess you are talking about the HTML5 target?

If so you can alter the MonkeyGame.html so that the <textarea> is to the right of your game by using HTML table tags.

For example:

<body>
  <table>
    <tr>
      <td>
        <canvas id="GameCanvas" onclick="this.focus();" oncontextmenu="return false;" width=640 height=480 tabindex=1></canvas><br>
      </td>
      <td>
        <textarea id="GameConsole" style="width:640px;height:240px;border:0;padding:0;margin:0" readonly></textarea><br>
      </td>
    </tr>
  </table>
  <script language="javascript" src="main.js">Javascript not supported!</script>
</body>



ondesic(Posted 2013) [#3]
Thanks