View Full Version : open internet explorer window
josecastello
06-18-2003, 04:02 PM
Is there any way to force Autoplay to open an internet explorer window (Open %SrcDir%\FileName.html) with an specific size and characteristics (like no toolbars or scroller)?
Thanks for your patience and time.
Jose R.
Lorne
06-18-2003, 04:22 PM
If you're creating the file that is being opened, then you could use javascript (DHTML) or CSS in the HTML file you're displaying to control things like that. I think someone (Derek IIRC) actually explained how to do that in these forums a while back, so try doing a search.
Or you could do a search on google, too. /ubbthreads/images/icons/smile.gif
Corey
06-18-2003, 07:09 PM
Yep. The no scroller is easy, just add
scroll="no"
to the body of your HTML page, no other way to do that as far as I know. As to no toolbars, the easiets way is to open it in kiosk mode. to do this I believe you run iexplore.exe with the switch -k so run
iexplore.exe -k
and that should be pretty close to what you need. If not try this method : http://developer.irt.org/script/947.htm
Corey Milner
Creative Director, Indigo Rose Software (http://www.indigorose.com)
josecastello
06-19-2003, 03:14 AM
Thanks for your answers. I found a pretty easy way to resize the browser window to a desired size. Include this javascript in the body of the window you are willing to open:
<script language="JavaScript">
<!--
// This will resize the window when it is opened or
// refresh/reload is clicked to a width and height of 500 x 500
// with is placed first, height is placed second
window.resizeTo(610,660)
-->
</script>
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.