Jump to content

HTML integration


 Share

Recommended Posts

Hey, I'm kind of new to this forum. So if I make any misstake by posting this thread here, please just let me know. 

Anyways, my problem is; I got a html5 based game and I would like to integrate it into another webpage. 

The problem is, that it has his own index.html, so I cannot just replace it into the webpage folder.

I would like to know if there's a way i could " redirect " a windows in my html script to this script, in a certain folder, so I could play on my game directly from my page.

Thanks ! 

 

Link to comment
Share on other sites

<iframe src="mygame_subfolder/index.html" style="width:200px;height=200px;border:0;overflow:hidden"> #Placeholder#</iframe>

This should do the Trick (put in the right path/width of your game). 'Placeholder' is just for stone-age-webbrowsers and maybe for Text-Only-Browsers (don't know whether Lynx and others would show it or the embedded file)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...