Announcement

Collapse
No announcement yet.

open internet explorer window

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    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 ]]

    Comment


    • #3
      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

      Comment


      • #4
        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>

        Comment

        Working...
        X