增加了查看放大缩略图的功能

This commit is contained in:
Li Jianxuan 2011-10-24 08:32:17 +00:00
parent 0c67c0c748
commit cb38a6f11a
1 changed files with 3 additions and 3 deletions

View File

@ -12,6 +12,7 @@
$this->headScript()->appendFile('/js/prototype.js');
$this->headScript()->appendFile('/js/OpenLayers.js');
$this->headScript()->appendFile('/js/window.js');
$this->headScript()->appendFile('/js/pubfunc.js');
$this->headLink()->appendStylesheet('/js/theme/default/style.css');
?>
<?php $md=$this->metadata;if ($md):?>
@ -144,7 +145,7 @@ endforeach;
</div>
<div id="left">
<div id="ImageViewer"><img src="/data/thumb/id/<?php echo $md->id;?>" /> </div>
<div id="ImageViewer"><img src="/data/thumb/id/<?php echo $md->id;?>" onclick="fnCreate('/images/ssimg.jpg')" /> </div>
<div id="abstract">
<p>
<?php echo str_replace(array("\r\n", "\n", "\r"),'</p><p>',$md->description);?>
@ -266,7 +267,7 @@ echo '</li>';
</div>
<div id="todownload" style="display:none;">
<div class="closeox"><a href="javascript:void(0);" onclick="$('todownload').hide()">[关闭]</a></div>
<div id="returninfo">
<div id="returninfo" style="">
</div>
</div>
@ -298,7 +299,6 @@ function reportError(request){alert('Sorry. There was an error.');}
onLoading : loading, // 加载时
onComplete : done // 读取完毕
});
//google map
var map = new GMap2(document.getElementById("watermap"));
var plotbounds=new GLatLngBounds(new GLatLng(<?= $md->south; ?>,<?= $md->west; ?>),new GLatLng(<?= $md->north; ?>,<?= $md->east; ?>));