umkoala Posted September 11, 2009 Share Posted September 11, 2009 If I want to have a small Javascript/Ajax game on my site, what would be the best way to display it? In a div? Or an iframe? Or something else? I'm thinking the game will load more than one screen, so if it's in a div, the entire content of the div will change more than once.. Quote Link to comment https://forums.phpfreaks.com/topic/173932-small-question/ Share on other sites More sharing options...
gizmola Posted September 12, 2009 Share Posted September 12, 2009 Either approach will work, but iframes were really designed to allow the integration of content from separate websites. Quote Link to comment https://forums.phpfreaks.com/topic/173932-small-question/#findComment-917253 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.