![]() |
| ||
| Full screen Hi ppl, i have a prob here. i'm trying to do a webpage and putting it in a cd for viewers to view. so i found the script below to open a full screen windows. it work! but the prob is that it opens two pages. one normal window and a full screen window. any ways to code it in order to get just one full screen windows? thanks in advance :) <SCRIPT LANGUAGE="JavaScript"> if (this.name!='fullscreen'){ window.open(location.href,'fullscreen','fullscreen,scrollbars') } </script> |
| ||
| Re: Full screen <SCRIPT LANGUAGE="JavaScript"> if (this.name!='fullscreen'){ window.open(location.href,'fullscreen','fullscreen,scrollbars') window.close(this) } </script> |
| ||
| Re: Full screen The window close in the suggestion will require a confirm if the page was not opened by a script. An alternative is to obtain the screen size and to moveto and resize the window to be ful screen. |
| ||
| Re: Full screen Quote:
(And the "fullscreen" window Firefox generates will just be a normal size windows sans the top toolbars.) |
| All times are GMT -4. The time now is 9:35 pm. |
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC