Gosh.  I would just tell them to deal with it, because that is right up there with one of the most pointless user requests I've ever heard.

That being said, sometimes you have to give the user what they want, so here is about the best you are going to do:

Open the application in a pop-up window using _javascript_.  You can configure the new pop-up to not have an address bar.  You will, of course, then have two browser sessions open, but there isn't a way to change the text of the URL, nor is their a way to hide the address bar without opening a new window.

Here is the _javascript_ call you need:

<script type="text/_javascript_">
<!--

// Open application window
OpenWindow('http://www.myurl.com",800,600,100,100);


function OpenWindow(url, w, h, x, y){
    window.open(url,"mywindow","width=" + w + ",height=" + h + ";status=no,resizable=yes,toolbar=no,location=no,menubar=no,scrollbars=yes,screenX=" + x + ",screenY=" + y + ",left=" + x + ",top=" + y);
}

//-->
</script>

You can remove the width, height, x, and y properties if you don't need to control the location and size of the window.  The reason it appears that the position is set twice is for cross-browser support.  ScreenX and ScreenY are IE only.

Matt Lavinder



"tekkidan" <[EMAIL PROTECTED]>
Sent by: [email protected]

02/01/2006 09:09 AM

Please respond to
[email protected]

To
[email protected]
cc
Subject
[Easy400Group] Hiding/changing the address bar





Hi,

When calling a CGIDEV2 program, my users are asking that the hyper link
is not showing up in the address bar.

Is there some way to load text, rather than the URL in the address bar,
without using _javascript_ to pop open another window?

Example of the displayed address bar:

Bad:

http://111.111.111.111/myprogram.pgm?userid=joesmith

Good:

"Main Sign On Page"

Or, is there some way to conceal the address bar on the initial opening
of the browser page with some sort of refresh or meta-equiv?

Thanks for any help.

Dan






Yahoo! Groups Links

<*> To visit your group on the web, go to:
   http://groups.yahoo.com/group/Easy400Group/

<*> To unsubscribe from this group, send an email to:
   [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
   http://docs.yahoo.com/info/terms/







YAHOO! GROUPS LINKS




Reply via email to