I'm using basic fullscreen and close window scripts with text links. It works fine, but I'm wondering if the open and closing can somehow be combined into this same link?
Can a single link call the page to open in a fullscreen window, then when clicked on that page cause it to close?
Linda
------------------------
placed in external js...
<!--
function fullScreen(theURL) {
window.open(theURL, '', 'fullscreen=yes, scrollbars=auto');
}
// -->
placed in page...
<a href=http://www.webdeveloper.com/forum/archive/index.php/"javascript:void(0);" onClick="fullScreen('pagename.htm');">Full Screen</a>
<a href=http://www.webdeveloper.com/forum/archive/index.php/"javascript:window.close();">Close Window</a>
Can a single link call the page to open in a fullscreen window, then when clicked on that page cause it to close?
Linda
------------------------
placed in external js...
<!--
function fullScreen(theURL) {
window.open(theURL, '', 'fullscreen=yes, scrollbars=auto');
}
// -->
placed in page...
<a href=http://www.webdeveloper.com/forum/archive/index.php/"javascript:void(0);" onClick="fullScreen('pagename.htm');">Full Screen</a>
<a href=http://www.webdeveloper.com/forum/archive/index.php/"javascript:window.close();">Close Window</a>