version 1.39, 2010/03/04 19:35:53
|
version 1.41, 2011/11/07 20:06:29
|
Line 45 sub wrapper {
|
Line 45 sub wrapper {
|
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 = \$('#LC_head_subbox')[0] ? \$('#LC_head_subbox') |
var header = \$('.LC_head_subbox')[0] ? \$('.LC_head_subbox') |
: \$('#LC_breadcrumbs'); |
: \$('#LC_breadcrumbs'); |
var pos = header.height() + header.position().top + 5; |
var pos = header.height() + header.position().top + 5; |
\$('.LC_iframecontainer').css('top', pos); |
\$('.LC_iframecontainer').css('top', pos); |
Line 85 sub handler {
|
Line 85 sub handler {
|
# |
# |
# Actual URL |
# Actual URL |
# |
# |
if ($url=~/\.(problem|exam|quiz|assess|survey|form|library)$/) { |
if ($url=~/$LONCAPA::assess_re/) { |
# |
# |
# This is uploaded homework |
# This is uploaded homework |
# |
# |