|
Note that a lot of pop-up blockers (IE in particular) cause onload events to be ignored. I find it best to make the application able to cope with the back button if it all possible (admittedly a lot of work in some cases) but if you need to do this, there are parameters you can pass into the window.open() method that will remove all of the "chrome" (buttons, address box, etc...). For an example of opening up a window without the "chrome", take a look at https://consumersplus.thomsonlearning.com/db2www/affilwiz.mac/start. This application (it's part of our B2C checkout process) also has examples of passing data from the new window back to the page that opened it. You should be aware that opening multiple windows can cause usability problems (particularly for inexperienced web surfers) so you should be aware of your audience before you go this route. Additionally, if you close the page that opens your pop-up with JavaScript, the user will get a warning that it's being closed by a script and should be avoided (unless you like complaints and support calls). You can, however, close any windows that you open without generating a warning. Matt -----Original Message----- From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Bob Cozzi Sent: Friday, August 26, 2005 4:05 PM To: 'Web Enabling the AS400 / iSeries' Subject: RE: [WEB400] Pop up initial browser without toolbars Get get the window to change size at loadup, you can do this in the <BODY> tag. But if they block JavaScript.... <body onload="moveTo (100,100);resizeTo(500,500)"> -Bob Cozzi www.RPGxTools.com RPG xTools - Enjoy programming again. On 8/26/05, Kevin Touchette <KTouchette@xxxxxxxxxxxx> wrote: > Hello, > > Can anyone point me to an example of how to start a cgi application in a > web browser minus all toolbars. I have a way of opening a pop up window > from an existing open web browser but I want to launch the application > in a toolbarless browser. How can I do that? Would I do it as a > redirect? With an onload statement? > > Thanks in advance. > > > _______________________________________________ > > Kevin R. Touchette > Washington Corporations > Web and Application Development > E-mail: KTouchette@xxxxxxxxxxxx
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.