version 1.54, 2016/11/29 19:53:58
|
version 1.55, 2016/11/30 16:02:27
|
Line 111 sub wrapper {
|
Line 111 sub wrapper {
|
$output .= $endpage; |
$output .= $endpage; |
return $output; |
return $output; |
} else { |
} else { |
|
my $offset = 5; |
|
&Apache::loncommon::get_unprocessed_cgi($ENV{'QUERY_STRING'},['inhibitmenu']); |
|
if ($env{'form.inhibitmenu'} eq 'yes') { |
|
$offset = 0; |
|
} |
my $script = &Apache::lonhtmlcommon::scripttag(<<SCRIPT); |
my $script = &Apache::lonhtmlcommon::scripttag(<<SCRIPT); |
\$(document).ready( function() { |
\$(document).ready( function() { |
\$(window).unbind('resize').resize(function(){ |
\$(window).unbind('resize').resize(function(){ |
var header = null; |
var header = null; |
var offset = 5; |
var offset = $offset; |
var height = 0; |
var height = 0; |
var hdrtop = 0; |
var hdrtop = 0; |
if (\$('div.LC_head_subbox:first').length) { |
if (\$('div.LC_head_subbox:first').length) { |