Wednesday, 8 February 2012

Open a page in full screen window

Add this java script

<script language="JavaScript"> /* script which loads the page fullscreen.jsp in full screen window */

function fullScreen(theURL) {
alert("Press Ctrl + F4 for closing popup window");+, '', 'fullscreen=yes, scrollbars=yes' );


if you want to call the function on load time itself add the following code


If you want to call function from a link use

 <a href="javascript:void(0);" onclick="fullScreen('fullscreen.jsp');">Open link in Full Screen Window </a>

No comments:

Post a Comment