twilitegxa Posted June 13, 2011 Share Posted June 13, 2011 Is it possible to use php to set the size of a window, say for example when opening a SWF file, so that it won't be as large as the entire normal-sized browser window? Or would that be another programming language, such as Javascript? Not sure where to ask this. Can anyone help? Quote Link to comment https://forums.phpfreaks.com/topic/239178-setting-window-size-when-opening-swf-file/ Share on other sites More sharing options...
Fadion Posted June 13, 2011 Share Posted June 13, 2011 This has nothing to do with PHP obviously. Javascript can achieve that (a simple google search tells you that), but it would be totally unnecessary. When visitors open a page, they don't expect it to resize or do whatever a page normally doesn't do. It would be a lot better to place the flash movie in the center with a dark background. Quote Link to comment https://forums.phpfreaks.com/topic/239178-setting-window-size-when-opening-swf-file/#findComment-1228861 Share on other sites More sharing options...
twilitegxa Posted June 13, 2011 Author Share Posted June 13, 2011 Okay, thanks for the advice! Quote Link to comment https://forums.phpfreaks.com/topic/239178-setting-window-size-when-opening-swf-file/#findComment-1228893 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.