|
I want to use the following code to open a window fullscreen:
onLoad="JavaScript:window.open('http://10.1.0.44' , 'pop' , 'fullscreen');"
This works, however it just keeps opening new windows over, and over again. It's like it just keeps looping. Can someone help, please?
|
|
|
You can check if the window is already open by calling function on onload event instead of just onload=JavaScript:window.open('http://10.1.0.44' , 'pop' , 'fullscreen');"
so, the result is if the window is already open then the opened window is in focus without opening new windows and if it is not open only then a new window is open...........
Hope this logic works as for your need is concerned
|
|
|
|
|
|
|
|