Focal Point
TOOL BARS SHOULD BE REMOVED IN THE HTML OUTPUT PAGE

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/8181006062

December 07, 2007, 05:54 AM
focuzsambit
TOOL BARS SHOULD BE REMOVED IN THE HTML OUTPUT PAGE
Can we make any change in the following html code so that the top menu/tool bars in the html output page can be removed and only the report output should be seen.



-HTMLFORM BEGIN
<HTML>
<HEAD>
<TITLE>YTD Reporting</TITLE>
<SCRIPT LANGUAGE="JavaScript">
function newRaisedWindow() {
    window.resizeTo(300,300)
 window.moveTo(100,100)

}

</SCRIPT>
</HEAD>
<BODY onload=newRaisedWindow()>
<B>!IBI.AMP.YTDDISP;</B>

<FORM>

</BODY>
</HTML>
-HTMLFORM END




WF Server: 7.1.4 on Z/OS and Linux, ReportCaster
Data: DB2, DB2/UDB, Adabas, SQL Server, Oracle Output: HTML,PDF,Excel2K
WF Client: Servlet, CGI
December 12, 2007, 05:11 PM
Kerry
Hi focuzsambit,

Is this more of a JavaScript question, rather than WebFOCUS? If so, you may want to check some other boards that are more specialized in JavaScripts.

Hope this helps. Smiler

Cheers,

Kerry


Kerry Zhan
Focal Point Moderator
Information Builders, Inc.
December 13, 2007, 12:17 AM
focuzsambit
don't u think that the webfocus guys roaming around in this forum are also html-js experts Winky

tks/sam


WF Server: 7.1.4 on Z/OS and Linux, ReportCaster
Data: DB2, DB2/UDB, Adabas, SQL Server, Oracle Output: HTML,PDF,Excel2K
WF Client: Servlet, CGI
December 13, 2007, 12:56 AM
susannah
function newRaisedWindow(url,winname)
{
window.open(url,
winname ,
"width=600,menubar=yes,scrollbars=yes,resizable=yes, top=60, left=200, height=600");
if (window.focus) {newwindow.focus()
}
Change the =yes to =no, as you choose.
Go to Javascriptkit.com for more.




In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
December 14, 2007, 04:59 AM
GamP
Sam,
The ONLY moment at which you can control what the browser window will look like in terms of menu/tool/status bar and such is when you're opening a new window. Once a window is opened, there is no wat these things can be changed any more.
Sorry.


GamP

- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988