langs a-z
This commit is contained in:
parent
db842d013d
commit
d066446780
11389 changed files with 98361 additions and 1020 deletions
|
|
@ -0,0 +1,6 @@
|
|||
If OpenWindow(0, 0, 0, 5, 5, "", #PB_Window_Maximize + #PB_Window_Invisible)
|
||||
maxX = WindowWidth(0)
|
||||
maxY = WindowHeight(0)
|
||||
CloseWindow(0)
|
||||
MessageRequester("Result", "Maximum Window Width: " + Str(maxX) + ", Maximum Window Height: " + Str(maxY))
|
||||
EndIf
|
||||
|
|
@ -0,0 +1,34 @@
|
|||
html "<INPUT TYPE='HIDDEN' id='winHigh' name='winHigh' VALUE='";winHigh;"'></input>"
|
||||
html "<INPUT TYPE='HIDDEN' id='winWide' name='winWide' VALUE='";winWide;"'></input>"
|
||||
|
||||
html "<script>
|
||||
<!--
|
||||
|
||||
function winSize()
|
||||
{
|
||||
var myWide = 0, myHigh = 0;
|
||||
if( typeof( window.innerWidth ) == 'number' ) {
|
||||
//Non-IE
|
||||
myWide = window.innerWidth;
|
||||
myHigh = window.innerHeight;
|
||||
} else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
|
||||
//IE 6+ in 'standards compliant mode'
|
||||
myWide = document.documentElement.clientWidth;
|
||||
myHigh = document.documentElement.clientHeight;
|
||||
} else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
|
||||
//IE 4 compatible
|
||||
myWide = document.body.clientWidth;
|
||||
myHigh = document.body.clientHeight;
|
||||
}
|
||||
// window.alert( 'Width = ' + myWide + ' Height = ' + myHigh );
|
||||
document.getElementById('winHigh').value = myHigh;
|
||||
document.getElementById('winWide').value = myWide;
|
||||
}
|
||||
|
||||
window.onresize = function()
|
||||
{
|
||||
var x = winSize();
|
||||
}
|
||||
var x = winSize();
|
||||
//--></script>
|
||||
"
|
||||
Loading…
Add table
Add a link
Reference in a new issue