home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cricao de Sites - 650 Layouts Prontos
/
WebMasters.iso
/
Servidores
/
JanaSetup.exe
/
admin
/
seiten_js
/
logfile.js
< prev
next >
Wrap
Text File
|
2006-05-08
|
504b
|
30 lines
function pre_scroll()
{
if (window.innerWidth)
{
with (window)
{
var log_width = innerWidth - 114;
var log_height = innerHeight - 137;
}
}
else
{
with (document.body)
{
var log_width = offsetWidth - 114;
var log_height = offsetHeight - 127;
}
}
with (document)
{
getElementById('logfile').style.width = log_width + 'px';
getElementById('logfile').style.height = log_height + 'px';
}
}
/**/
onresize = pre_scroll;
onload = pre_scroll;