version 1.50, 2016/01/26 14:30:40
|
version 1.51, 2016/02/22 03:36:52
|
Line 53 sub wrapper {
|
Line 53 sub wrapper {
|
'show' => 'Show content in pop-up window', |
'show' => 'Show content in pop-up window', |
); |
); |
|
|
my $noiframe = &Apache::loncommon::modal_link($url,$lt{'show'},500,400); |
my $anchor; |
|
if (($is_ext) && ($env{'form.symb'})) { |
|
(undef,undef,my $res) = &Apache::lonnet::decode_symb($env{'form.symb'}); |
|
if ($res =~ /(\#.+)$/) { |
|
$anchor = $1; |
|
} |
|
} |
|
|
|
my $noiframe = &Apache::loncommon::modal_link($url.$anchor,$lt{'show'},500,400); |
my $args = {'bgcolor' => '#FFFFFF'}; |
my $args = {'bgcolor' => '#FFFFFF'}; |
if ($forcereg) { |
if ($forcereg) { |
$args->{'force_register'} = $forcereg; |
$args->{'force_register'} = $forcereg; |
Line 91 sub wrapper {
|
Line 99 sub wrapper {
|
'</div>'; |
'</div>'; |
} else { |
} else { |
$output .= '<div style="overflow:scroll; -webkit-overflow-scrolling:touch;">'."\n". |
$output .= '<div style="overflow:scroll; -webkit-overflow-scrolling:touch;">'."\n". |
'<iframe src="'.$url.'" height="100%" width="100%" frameborder="0">'."\n". |
'<iframe src="'.$url.$anchor.'" height="100%" width="100%" frameborder="0">'."\n". |
"$lt{'noif'} $noiframe\n". |
"$lt{'noif'} $noiframe\n". |
"</iframe>\n". |
"</iframe>\n". |
"</div>\n"; |
"</div>\n"; |
Line 129 SCRIPT
|
Line 137 SCRIPT
|
$startpage |
$startpage |
$script |
$script |
<div class="LC_iframecontainer"> |
<div class="LC_iframecontainer"> |
<iframe src="$url">$lt{'noif'} $noiframe</iframe> |
<iframe src="$url$anchor">$lt{'noif'} $noiframe</iframe> |
</div> |
</div> |
$endpage |
$endpage |
ENDFRAME |
ENDFRAME |