|
-
Simple HTML browser?
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
-
Ursus Arctos Moderatis
Woah there cowboy! You can use JavaScript to force a window to a specified size. Does this sound like an attractive alternative for you?
-
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
-
-
Ursus Arctos Moderatis
Hehe, yep, it's that easy! Doesn't matter how the page was called, just toss this in the <body> of your document:
Code:
<script language="JavaScript1.1" type="text/javascript">
<!--
window.resizeTo( 540, 460 );
//-->
</script>
-
how could i be so blind and stupid!! thank you much bro
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
|
|