Tutorial 1 - iframe page - Game Start link question
  • The link that starts the game on iframe.html, has an ID selector of "startbutton".  Where is the JavaScript function that tells that ID to load the game?
    I tried to look for it under jquery.gamequery.js, but couldn't find it...

    Thanks!
  • I found it, the startbutton ID has to work with the current game at hand, so the click handler was inside of mechalchemist.js.  very easy to understand now.


  • selimselim
    Accepted Answer
    Exactly. But you could call the startGame function from anything you like, a touch event, a keyboard event or just inline at the end of your javascript to start the game without user interaction.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!