Kiosk Mode from a link?

  • Thread starter Thread starter Mr B
  • Start date Start date
M

Mr B

Howdy,

I forgot to write down the answer I got last time and I can't remember what it was. I know that if
I'm running IE from an icon I can just use iexplore -k.....

How can I get that same thing from a link inside a web page? I'm assuming it's open.window followed
by certain flags but which ones make it so there's basically nothing on the screen except the page?

Thanks.
 
Original script courtesy of Kurt Grigg:
http://www.btinternet.com/~kurt.grigg/javascript/

Slightly modified, place in head tags:

<script>
function newwin(Page,scrl){
if (false)window.close();
if (!window.win ||
win.closed)win=open(Page,"","fullscreen,scrollbars="+scrl+",resizable=1");
else{
win.close();
win=open(Page,"","fullscreen,scrollbars="+scrl+",resizable=1");
}
}
</script>

this is the hyperlink.

<a href="javascript:newwin('pagename.html')"> Page Name</a>


Note: if you don't give the viewer a Close button, the only
way to close the windows is Alt+F4 or Ctrl+Alt+Delete
and then End task.

--
Steve Easton
MS MVP FrontPage
95isalive
This site is best viewed..................
...............................with a computer
 
what does Kurt call this?
I looked quickly at his page but it wasn't immediately apparent.
TIA
 
Looks like Naughty Windows
- appropriately named since it is predominantly used on porn sites (-;

--




| what does Kurt call this?
| I looked quickly at his page but it wasn't immediately apparent.
| TIA
| | > Original script courtesy of Kurt Grigg:
| > http://www.btinternet.com/~kurt.grigg/javascript/
| >
| > Slightly modified, place in head tags:
| >
| > <script>
| > function newwin(Page,scrl){
| > if (false)window.close();
| > if (!window.win ||
| > win.closed)win=open(Page,"","fullscreen,scrollbars="+scrl+",resizable=1");
| > else{
| > win.close();
| > win=open(Page,"","fullscreen,scrollbars="+scrl+",resizable=1");
| > }
| > }
| > </script>
| >
| > this is the hyperlink.
| >
| > <a href="javascript:newwin('pagename.html')"> Page Name</a>
| >
| >
| > Note: if you don't give the viewer a Close button, the only
| > way to close the windows is Alt+F4 or Ctrl+Alt+Delete
| > and then End task.
| >
| > --
| > Steve Easton
| > MS MVP FrontPage
| > 95isalive
| > This site is best viewed..................
| > ..............................with a computer
| > | > > Howdy,
| > >
| > > I forgot to write down the answer I got last time and I can't remember
| > what it was. I know that if
| > > I'm running IE from an icon I can just use iexplore -k.....
| > >
| > > How can I get that same thing from a link inside a web page? I'm
| assuming
| > it's open.window followed
| > > by certain flags but which ones make it so there's basically nothing on
| > the screen except the page?
| > >
| > > Thanks.
| > >
| >
| >
|
|
 
It's just 1 function from the script he uses in
the page at the link I posted.
I renamed the function to make it more obvious
what the function does.

--
Steve Easton
MS MVP FrontPage
95isalive
This site is best viewed..................
...............................with a computer
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top