1 2 3 4 5 6 7 8 9 10 11 12 13 14
| <HTML><BODY onclick="onClick()">Cliquez n importe ou pour ouvrir en plein écran... <SCRIPT>//<!--
function onClick() {
// Ouvrir la page fullScreen
var w = screen.availWidth;
var h = screen.availHeight;
window.open(window.location,
"_blank",
'fullscreen=yes,top=0,left=0,outerHeight='+h+',outerWidth='+w+",location=no,menubar=no,status=no,resizable=no,width="+w+",height="+h+",scrollbars=auto,copyhistory=0,directories=0"
);
// Fermer cette fenêtre (IE) ou la vider (FF)
window.open("data:text/plain,Cette fenêtre a été fermée...", "_self", null).close()
}
//--></SCRIPT></BODY></HTML> |
Partager