Click to See Complete Forum and Search --> : Auto launch full screen dun work properly


aryastark
04-13-2004, 09:26 PM
hi i have this code in my index.html file to launch itself in full screen:

<script language="javascript" type="text/javascript"
src="j_script.js"></script>
<SCRIPT LANGUAGE="JavaScript">


if (this.name!='fullscreen'){
window.open(location.href,'fullscreen','fullscreen,scrollbars')
}

</script>

problem is, it launches anothe duplicate at the same time - 1 is in full screen and the other is within the normal browser window.

is there any way i can just launch index.html in full screen without calling another window?

arya

Kor
04-14-2004, 03:11 AM
Nope. To open a page in a full screen you must have had open it using a javascript method. Furthermore, if you don't specify another name for the window or if you open it in the same window(_self targeting) the fullscreen woun't work.

Note also that "fullscreen' attribute works for IE only.