Changing title bar/Hiding URL [message #174079] |
Thu, 29 June 2006 06:17  |
Eclipse User |
|
|
|
Originally posted by: steve.jackson.andrew.com
Hello
I have configured some reports using BIRT that are accessed through a
webpage. The menu item on the screen has a valid URL for a report behind
it that opens a new Explorer window to display the report.
I have used the Javascript to change the pop-up window (scrollbars,
height, etc), but need to change or remove the title bar. At the moment it
is showing the URL of the report i.e.
http://localhost:8080/birt-viewer/run?__report=zonesByProper tyName.rptdesign
I don't want users to see this URL, but I also don't want to use the
Frameset report viewer. The new window is opened using window.open with
the url being represented by a String.
Thanks
|
|
|
Re: Changing title bar/Hiding URL [message #174229 is a reply to message #174079] |
Thu, 29 June 2006 14:30   |
Eclipse User |
|
|
|
Originally posted by: danny.rosenberg.weblayers.com
In the sFeatures of your window.open you need to set menubar = 0 (or no)
For example:
window.open(" http://localhost:8080/birt-viewer/run?__report=zonesByProper tyName.rptdesign",
"mywindow"," menubar=0,status=0,toolbar=0,resizable=1,width=350,height=25 0 ");
MSDN has a pretty comprehensive breakdown if you need it:
http://msdn.microsoft.com/library/default.asp?url=/workshop/ author/dhtml/reference/methods/open_0.asp
best,
-d.
"Steve Jackson" <steve.jackson@andrew.com> wrote in message
news:3657a3fd3fc14c17ea372eabdf274c23$1@www.eclipse.org...
> Hello
>
> I have configured some reports using BIRT that are accessed through a
> webpage. The menu item on the screen has a valid URL for a report behind
> it that opens a new Explorer window to display the report.
>
> I have used the Javascript to change the pop-up window (scrollbars,
> height, etc), but need to change or remove the title bar. At the moment it
> is showing the URL of the report i.e.
>
> http://localhost:8080/birt-viewer/run?__report=zonesByProper tyName.rptdesign
>
> I don't want users to see this URL, but I also don't want to use the
> Frameset report viewer. The new window is opened using window.open with
> the url being represented by a String.
>
> Thanks
>
|
|
|
Re: Changing title bar/Hiding URL [message #174392 is a reply to message #174229] |
Fri, 30 June 2006 05:43  |
Eclipse User |
|
|
|
Originally posted by: steve.jackson.andrew.com
Thanks Danny
I'd managed to drop the menubar (thus hiding one reference to the URL),
but I still can't change the Window Title bar. As it is a pop-up window, I
can't use "titlebar=no" in the javascript.
The code thats calls the window is now:
window.open(queryString,"newWindow","location=0,resizable=1,scrollbars=1,toolbar=1 ");
where 'queryString' is the URL for the report. The text of this URL is
displaying in the Title bar and I can't seem to find an easy way to change
it.
Thanks
|
|
|
Powered by
FUDForum. Page generated in 0.02909 seconds