December 07, 2007, 05:54 AM
focuzsambitTOOL 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
December 12, 2007, 05:11 PM
KerryHi 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.
Cheers,
Kerry
December 13, 2007, 12:17 AM
focuzsambitdon't u think that the webfocus guys roaming around in this forum are also html-js experts
tks/sam
December 13, 2007, 12:56 AM
susannahfunction 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.
December 14, 2007, 04:59 AM
GamPSam,
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.