Tutorial 1 - intro page - iframe question
  • I noticed that under the demos->1 folder for my first tutorial, the index.html page is suppose to be like a intro to the game?  It is using an iframe to call iframe.html (which is the actual game and where the script files are loaded).  Is there a more (AJAX) way to load iframe.html into index.html?

    Thanks!





  • selimselim
    Accepted Answer
    You don't need any iframes, you can use any divs to hold your game. Though it may be a good idea to have it absolutely positioned.

    The iframe was used to mimic the way you include a flash game into a webpage and allow to have may gameQuery games on the "same" page.
  • oh ok, thanks!

Howdy, Stranger!

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