Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 4 of 4
  1. #1
    Join Date
    Dec 2002
    Posts
    12

    open internet explorer window

    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.

  2. #2
    Join Date
    Feb 2001
    Location
    Indigo Rose Software
    Posts
    2,728

    Re: open internet explorer window

    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. [img]/ubbthreads/images/icons/smile.gif[/img]
    --[[ Indigo Rose Software Developer ]]

  3. #3
    Corey is offline Indigo Rose Staff Alumni
    Join Date
    Aug 2002
    Posts
    9,746

    Re: open internet explorer window

    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

  4. #4
    Join Date
    Dec 2002
    Posts
    12

    Re: open internet explorer window

    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>


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts