Open the same window without toolbars 
Author Message
 Open the same window without toolbars

I have written an ASP app and want it to run without the
toolbars and address box in the browser.
I can open up a new browser window and run the app in
there but I can't close down the original window without
getting a confirmation box.
Is there a way to have the original page reload itself
without the toolbars?


Fri, 23 Apr 2004 23:42:38 GMT  
 Open the same window without toolbars

Quote:
> I have written an ASP app and want it to run without the
> toolbars and address box in the browser.
> I can open up a new browser window and run the app in
> there but I can't close down the original window without
> getting a confirmation box.
> Is there a way to have the original page reload itself
> without the toolbars?

Only possible on trusted site/intranet. If this is the case let me know and
I'll send code. I've already given this answer many times which you can see
by searching in the advaced google groups search.
Joe


Sat, 24 Apr 2004 00:04:34 GMT  
 Open the same window without toolbars
I didn't know that was EVER possible.

I'd be very interested in knowing how you can do that in an intranet, Joe.

Thanks,
Chris


Quote:


> > I have written an ASP app and want it to run without the
> > toolbars and address box in the browser.
> > I can open up a new browser window and run the app in
> > there but I can't close down the original window without
> > getting a confirmation box.
> > Is there a way to have the original page reload itself
> > without the toolbars?
> Only possible on trusted site/intranet. If this is the case let me know
and
> I'll send code. I've already given this answer many times which you can
see
> by searching in the advaced google groups search.
> Joe



Sat, 24 Apr 2004 00:33:38 GMT  
 Open the same window without toolbars

Quote:

> I have written an ASP app and want it to run without the
> toolbars and address box in the browser.
> I can open up a new browser window and run the app in
> there but I can't close down the original window without
> getting a confirmation box.
> Is there a way to have the original page reload itself
> without the toolbars?

Only in NN4:
  window.open('', '_self', 'toolbars=0')

--

        Martin Honnen
        http://javascript.faqts.com/
        http://home.t-online.de/home/martin.honnen/jsgoddies.html



Sat, 24 Apr 2004 00:43:25 GMT  
 Open the same window without toolbars

Quote:
> I didn't know that was EVER possible.

> I'd be very interested in knowing how you can do that in an intranet, Joe.

> Thanks,
> Chris





> > > I have written an ASP app and want it to run without the
> > > toolbars and address box in the browser.
> > > I can open up a new browser window and run the app in
> > > there but I can't close down the original window without
> > > getting a confirmation box.
> > > Is there a way to have the original page reload itself
> > > without the toolbars?
> > Only possible on trusted site/intranet. If this is the case let me know
> and
> > I'll send code. I've already given this answer many times which you can
> see
> > by searching in the advaced google groups search.
> > Joe

function getBrowser()
{
  var colWins = new ActiveXObject("Shell.Application").windows();
  for (var i = 0; i < colWins.Count; i ++)
  {
    if (colWins(i).document.parentWindow === self)
    {
      return colWins(i);
    }
  }
  return null;
Quote:
}

Put this function in page, only works if shell.application available.
(Active Desktop available if not enabled).
Once you have the browser object you can do almost anything with the
settings.
var oIE = getBrowser();
oIE.toolbar = false;
The object also has some extra properties like locationURL.
Joe


Sat, 24 Apr 2004 01:31:20 GMT  
 Open the same window without toolbars

Thanks for all the replies.
I can't get the ActiveX solution to work, Permission Denied. I'm using IE6 on XP and can't seem to get the right setting on Intranet Zone. All my users will be running IE5.01/5.5 on NT4/WIN2K and if they have the same problem I may as well give up now.
Thanks anyway.

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!



Sat, 24 Apr 2004 18:27:33 GMT  
 Open the same window without toolbars

Quote:

> Thanks for all the replies.
> I can't get the ActiveX solution to work, Permission Denied. I'm using IE6

on XP and can't seem to get the right setting on Intranet Zone. All my users
will be running IE5.01/5.5 on NT4/WIN2K and if they have the same problem I
may as well give up now.
Quote:
> Thanks anyway.

> *** Sent via Developersdex http://www.developersdex.com ***
> Don't just participate in USENET...get rewarded for it!

We use this a lot at work.
Make sure when you run the page (from server) that Local Intranet is showing
in bottom right of browser.
If you're stuck feel free to ring I'm based in London.
+447770476089
Joe


Sat, 24 Apr 2004 18:34:28 GMT  
 
 [ 7 post ] 

 Relevant Pages 

1. Open New Browser Window without Toolbar

2. Open new window without toolbar and url-line

3. how do I open the current window again without opening a new window

4. Open browser without toolbars

5. Problem with window opened thru window.open without toolbar and then maximized.

6. window.open toolbar parameter?

7. Getting data from server without opening a new window

8. Opening a window without tollbars and menus

9. can u resize the browser without using window.open()

10. open.window without a title bar?

11. window open without specifying URL

12. Open a window without title bar (also called system menu)

 

 
Powered by phpBB® Forum Software