|
-
what is the best way to size a HTML window that you are opening from a flash movie? thanks, john
-
in the page that LAUNCHES the popup put:
<script language="javascript">
function newWindow(url,name,parameters){
var newWin = window.open(url,name,parameters);
}
</script>
(don't edit the code above)
in the movie:
on Release
GetUrl("javascript: newWindow('your_page.html','newWin1','height=xxx,w idth=xxx,toolbar=0,menubar=0,directories=0,locatio n=0,scrollbars=0,resizable=0,top=0,left=0')", vars=Post)
(select send using Post)
If you want to get rid of the margins in the popup page put:
marginwidth="0" marginheight="0" topmargin="0" leftmargin="0"
in the body tag:
<body marginwidth="0" marginheight="0" topmargin="0" leftmargin="0"
and just enter the size in the relevant place.
~mgb
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|