Click to See Complete Forum and Search --> : Simple HTML browser?


yoshi273
02-06-2002, 08:38 PM
Scenario:
I have a quick presentation on a CDROM built in director and I need to load an HTML page into a defined space. If I just attempt to open an HTML page normally, the browser might open large on some people's computer's and hide the presentation. Since alot of computer users arent very intelligent, they might not know how to get back to the presentation if this happens.

So, my question:
How can I open an HTML page inside of a director project, OR open a browser window with a defined size? Im willing to go as far as coding a really simple HTML browser in VB (if thats possible?) but I would need MAC support too... Got any ideas?

Thanks

Grizzly
02-06-2002, 09:09 PM
Woah there cowboy! You can use JavaScript to force a window to a specified size. Does this sound like an attractive alternative for you?

yoshi273
02-06-2002, 11:02 PM
like... i have it open a link, to a normal explorer window, and it resizes itself?

would that be.. window.resizeto();

?? it thought that only worked on popups made with js, PLEASE PROVE ME WRONG, if its that simple... oh man

yoshi273
02-06-2002, 11:04 PM
yay, 101st post

Grizzly
02-07-2002, 12:08 AM
Hehe, yep, it's that easy! Doesn't matter how the page was called, just toss this in the <body> of your document:


<script language="JavaScript1.1" type="text/javascript">
<!--
window.resizeTo( 540, 460 );
//-->
</script>

yoshi273
02-07-2002, 01:01 AM
how could i be so blind and stupid!! thank you much bro