Is there a way to open a page in a new window with the new window having the default header information (navigation arrows, editable address bar, refresh button, menu, toolbar etc.)
removed and have this new window replace the calling window.
var win = window.open('FirstPageOfApp.cfm', '', 'width=850, height=850, channelmode=no, directories=no, fullscreen=no, location=no, menubar=no, resizable=yes, scrollbars=yes, status=yes, titlebar=no, toolbar=no', 'true');
<h1>This is the first page of the app.</h1>
Script Index.cfm (above) calls page FirstPageOfApp.cfm (above) by executing window.open(). A new window opens and page FirstPageOfApp.cfm is displayed in the new window with none of the default header information (navigation arrows, menus, toolbars, etc.) displayed except a read-only address bar.
Page Index.cfm stays open and is just a blank page with the default header information displayed.
The result is that 2 pages are now open; Index.cfm (with the default header information) and FirstPageOfApp.cfm with a read-only address bar.
Is there a way to have Index.cfm call FirstPageOfApp.cfm and have FirstPageOfApp.cfm be the only page open as a result of the call (i.e. FirstPageOfApp.cfm somehow replaces Index.cfm or closes Index.cfm without the "the webpage is trying to close" prompt to the user)?
I am trying to have the result be: page FirstPageOfApp.cfm is the only page displayed and it has only the read-only address bar displayed.