--- loncom/xml/scripttag.pm 2006/03/29 22:48:08 1.134.2.2
+++ loncom/xml/scripttag.pm 2007/01/23 21:28:41 1.140
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Script Vars
";
}
@@ -334,7 +344,23 @@ sub end_window {
if (!$width) { $width='500'; }
my $height= &Apache::lonxml::get_param('height',$parstack,$safeeval);
if (!$height) { $height='200'; }
- $result = "$linktext";
+
+ my $start_page =
+ &Apache::loncommon::start_page($linktext, undef,
+ {'only_body' => 1,
+ 'bgcolor' => '#FFFFFF',
+ 'js_ready' => 1,});
+ my $end_page =
+ &Apache::loncommon::end_page({'js_ready' => 1,});
+ $result = "$linktext";
} elsif ($target eq 'tex') {
$result = '}';
} else {