View Full Version : How to adjust the window size....
jemayes
02-12-2006, 10:05 PM
I want to adjust the HTML document to "fit" around my swf file. For instance, my swf file is 450px wide so I have alot of white unused space on the right side that I want to eliminate. How can I recode the HTML file to make it narrow to fit the swf file? THANKS!
oldnewbie
02-13-2006, 12:53 AM
You can force resize the user's browser window to the dimensions of your .swf...
Please note, that I for one, particularly dislike it, when someone manipulates my main browser window...
You might want to consider opening up your site in a pre-sized new popup window and thus leave my main browser window untouched.
jemayes
02-13-2006, 01:21 AM
Thanks for the insight. This forced resized will be used for pop-up use. How do I go about doing the force resize for html? Thanks!
jemayes
02-13-2006, 01:39 AM
you might be able to answer this as well..... I tried to use a typical pop-up but i couldn't figure out how to do it when the button that launches the pop-up is within a swf that is loaded unto the main html file. Do you know how i could do that? Here is the code I have in the main html file but it doesn't work.
<html>
<head>
<meta http-equiv="content-type" content="test/html;charset=ISO-8859-1">
<title>Test</title>
<meta name="description" content="test">
<style type="text/css">
<script language="JavaScript">
function openNewWindow(URLtoOpen, windowName, windowFeatures) { newWindow=window.open(URLtoOpen, windowName, windowFeatures); }
</script>
html {
oldnewbie
02-13-2006, 02:20 AM
http://www.flash-db.com/PopUp/
|
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.