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.. 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. Link to comment https://forums.phpfreaks.com/topic/173932-small-question/#findComment-917253 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.