Click to See Complete Forum and Search --> : How to open internet explorer with no bars


Schmitty
05-20-2003, 01:59 PM
How do you open a internet explorer with no bars (menu, title, address, etc). I am making a project in Director for a touch screen monitor and the buttons will be to small to press, so I need to diable them. I also need to know how to close the current browser. Can you do that with clicking text inside a web page? If anyone knows how to do this in director that's even better.

Thanks

Grizzly
05-20-2003, 04:04 PM
I don't really know about how Director does things, but the end result should be some JavaScript that does something like the following:


window.open('http://mysite.com','window_title','height=400,width=350,top=150,lef t=150,scrollbars=no,menubar=no,status=no,toolbar=no,resizabl e=no');


...will open a new window with a location of "mysite.com", a title of "window_title", 400 pixels wide, 350 pixels tall, positioned 150 pixels from the top-margin of your browser, and 150 pixels from the left-margin of your browser, with no menubar, scrollbar, statusbar, or toolbar...oh and yeah...it's not resizable :)



window.close();


...will close the window. If you wanted that in a text-link, you could say:


<a href="JavaScript: window.close()">Close me</a>


Best of luck.

(P.S. - please ignore the space between the words "Java" and "Script" in the href="" tag above. vBB puts that space in there for it's own protection.

SkyDog
05-20-2003, 04:22 PM
Another way would be to simply open IE in "kiosk mode" by using the "-k" command switch. HERE (http://www.techtv.com/screensavers/windowstips/story/0,24330,3327991,00.html) is a quick how-to on using kiosk mode.

Schmitty
05-20-2003, 09:09 PM
Thx a lot guys Kiosk mode will help out a ton. My boss said something about it at work today, but didn't know exactly what it did or how to run it. So that should be points for me. Then with the help of creating a text link to close the page that should be all I need.

The touch screen won't have a keyboard, so I need to rebuild the webpages that I am using, because I need the text links large enough to touch, so it accurately goes to the right link and not the one near it.

Thanks again, it's all I could ask for outside of director.

Schmitty
05-21-2003, 10:23 AM
Quick follow up question. Can I make it so it does not ask if I really want to close the window? Also is there way way to instead have it close one window it closes every internet explorer browser open?
Thx Schmitty