Hello, Im trying to get my custom website screensaver to open in full window mode but I keep failing, I cant work out why? Do I need a new function in the code to do that?
Please help if possible.
Seen some odd codes in Javascript? :)
<script>
<!--
function fullwin(targeturl){
window.open(targeturl,"","fullscreen,scrollbars=no")
}
//-->
</script>
<script language="JavaScript">
<!--
Timeout=180000 // set delay time for effect
Timer=""
function oStatic() {
clearTimeout(Timer)
if(timerRunning == true||blurred==1){ // if win1 opened or opener is blurred, return
return
}
timerRunning = true
win1=window.open("http://inny.ipbfree.com/index.php?act=Attach&type=post&id=5413",'fullscreen') // if win1 not opened, open win1
Timer=setTimeout("oStatic()",Timeout) // run function oStatic after delay
}
opened=0 // win1 not opened
function oActive(){ //
clearTimeout(Timer)
if(opened==1){return} // if win1 opened, return
timerRunning = false
Timer=setTimeout("oStatic()",Timeout) // if win1 not opened run function oStatic after delay
}
document.onmousemove=oActive // detect mouse movement
document.onmousedown=oActive // detect if button pressed
document.onkeypress=oActive // detect if key press
setTimeout("oActive()",1000)
//-->
</script>
<BODY onblur="blurred='1'" onfocus="blurred='0';oActive()">
<script>document.write(Timeout/1000);</script>