Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

Removing Internet Browser Menu

2 posts in Appeon (partner product) Last posting was on 2007-09-26 19:40:33.0Z
Ray Webb Posted on 2007-09-26 16:50:57.0Z
From: "Ray Webb" <spsnewsgroups@carolina.rr.com>
Newsgroups: sybase.public.appeon
Subject: Removing Internet Browser Menu
Lines: 13
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.3138
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: cpe-024-074-162-086.carolina.res.rr.com
X-Original-NNTP-Posting-Host: cpe-024-074-162-086.carolina.res.rr.com
Message-ID: <46fa8df1$1@forums-1-dub>
Date: 26 Sep 2007 09:50:57 -0700
X-Trace: forums-1-dub 1190825457 24.74.162.86 (26 Sep 2007 09:50:57 -0700)
X-Original-Trace: 26 Sep 2007 09:50:57 -0700, cpe-024-074-162-086.carolina.res.rr.com
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.appeon:1992
Article PK: 13234

We need to run our application in Appeon and have it look as much as
possible like the desktop version of the application. I've tried using the
documented workaround which describes creating a second .htm file that uses
the statement g_newWindow = window.open("index.html",
"_blank","location=no,titlebar=no,toolbar=no,menubar=no,status=no,resizable=yes",false);

This kind of works, but it leaves a blank window open (the one containing
the statement) and opens the new window not maximized. We would like to open
the second window maximized.

Is there a better way to do this?


Jim O'Neil [Sybase] Posted on 2007-09-26 19:40:33.0Z
From: "Jim O'Neil [Sybase]" <joneil@sybase.com>
Newsgroups: sybase.public.appeon
Subject: Re: Removing Internet Browser Menu
Message-ID: <obdlf3lvinua6ieo1itkst4v7bgkfn94d3@4ax.com>
References: <46fa8df1$1@forums-1-dub>
X-Newsreader: Forte Agent 4.2/32.1118
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: joneilxp.sybase.com
X-Original-NNTP-Posting-Host: joneilxp.sybase.com
Date: 26 Sep 2007 12:40:33 -0700
X-Trace: forums-1-dub 1190835633 10.18.62.165 (26 Sep 2007 12:40:33 -0700)
X-Original-Trace: 26 Sep 2007 12:40:33 -0700, joneilxp.sybase.com
Lines: 61
X-Authenticated-User: TeamSybase
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.appeon:1993
Article PK: 13235

Here's the script in PB11 Web Forms that accomplishes the same thing..
note it uses the Screen objec to resize the window. Perhaps you can
adapt this to your needs.

<!--
var width = screen.availWidth;
var height = screen.availHeight;

function OpenMainPage()
{
var newWindow = null;

try
{
newWindow = window.open("Default.aspx" +
document.location.search, "_blank",

"resizable=1,status=1,menubar=0,location=0,toolbar=0,left=0,top=0,width="
+ width + ",height=" + height);

if (newWindow)
{
newWindow.moveTo(0, 0);
newWindow.resizeTo(width, height);
var version = navigator.appVersion;
if (version.indexOf("MSIE 7") != -1)
{
window.opener='X';
window.open('','_parent','');
window.close();
}
else
{
window.opener = top;
window.close();
}
}
}
catch (ex)
{
newWindow = null;
}

return newWindow;
}

On 26 Sep 2007 09:50:57 -0700, "Ray Webb"

<spsnewsgroups@carolina.rr.com> wrote:

>We need to run our application in Appeon and have it look as much as
>possible like the desktop version of the application. I've tried using the
>documented workaround which describes creating a second .htm file that uses
>the statement g_newWindow = window.open("index.html",
>"_blank","location=no,titlebar=no,toolbar=no,menubar=no,status=no,resizable=yes",false);
>
>This kind of works, but it leaves a blank window open (the one containing
>the statement) and opens the new window not maximized. We would like to open
>the second window maximized.
>
>Is there a better way to do this?
>