Groups | Blog | Home
all groups > flash (macromedia) > october 2003 >

flash (macromedia) : HTML window size to fit window


Nicole Johnson
10/25/2003 7:32:28 PM
I put together a flash intro for a web site I'm working on. How can I get
the explorer window to match the size of movie?
Here's a link: Click here to see the layout.
http://www.pbolonline.com/new/pbol.html.

Any other suggestions or comments are welcome but please be gentle:)

--
Nicole
webgoddess@NOSPAM.direcway.com
http://www.glenhavendesigns.com

ELECTRON
10/27/2003 10:34:52 AM
you need to use javascript...
to open browser window with predefined parameters
--- from flash, use that code for button:

on(release){

getURL("javascript:window.open('page.htm','','width=200,height=200');void(0)
;");
}

---from HTML link:

<a href="#"
onClick="javascript:window.open('page.htm','','width=200,height=200');void(0
);"> ABCD </a>

---and you can resize browser window dynamically to needed size with
javascript, put this before </head> in your HTML:

<script language = "javascript">
window.resizeTo(500,500);
</script>

Nicole Johnson
10/27/2003 7:32:12 PM
Perfect, Thanks!

--
Nicole
webgoddess@NOSPAM.direcway.com
http://www.glenhavendesigns.com
[quoted text, click to view]

AddThis Social Bookmark Button