增加了查看放大缩略图的功能
This commit is contained in:
parent
0c67c0c748
commit
cb38a6f11a
|
@ -12,6 +12,7 @@
|
||||||
$this->headScript()->appendFile('/js/prototype.js');
|
$this->headScript()->appendFile('/js/prototype.js');
|
||||||
$this->headScript()->appendFile('/js/OpenLayers.js');
|
$this->headScript()->appendFile('/js/OpenLayers.js');
|
||||||
$this->headScript()->appendFile('/js/window.js');
|
$this->headScript()->appendFile('/js/window.js');
|
||||||
|
$this->headScript()->appendFile('/js/pubfunc.js');
|
||||||
$this->headLink()->appendStylesheet('/js/theme/default/style.css');
|
$this->headLink()->appendStylesheet('/js/theme/default/style.css');
|
||||||
?>
|
?>
|
||||||
<?php $md=$this->metadata;if ($md):?>
|
<?php $md=$this->metadata;if ($md):?>
|
||||||
|
@ -144,7 +145,7 @@ endforeach;
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div id="left">
|
<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">
|
<div id="abstract">
|
||||||
<p>
|
<p>
|
||||||
<?php echo str_replace(array("\r\n", "\n", "\r"),'</p><p>',$md->description);?>
|
<?php echo str_replace(array("\r\n", "\n", "\r"),'</p><p>',$md->description);?>
|
||||||
|
@ -266,7 +267,7 @@ echo '</li>';
|
||||||
</div>
|
</div>
|
||||||
<div id="todownload" style="display:none;">
|
<div id="todownload" style="display:none;">
|
||||||
<div class="closeox"><a href="javascript:void(0);" onclick="$('todownload').hide()">[关闭]</a></div>
|
<div class="closeox"><a href="javascript:void(0);" onclick="$('todownload').hide()">[关闭]</a></div>
|
||||||
<div id="returninfo">
|
<div id="returninfo" style="">
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -298,7 +299,6 @@ function reportError(request){alert('Sorry. There was an error.');}
|
||||||
onLoading : loading, // 加载时
|
onLoading : loading, // 加载时
|
||||||
onComplete : done // 读取完毕
|
onComplete : done // 读取完毕
|
||||||
});
|
});
|
||||||
|
|
||||||
//google map
|
//google map
|
||||||
var map = new GMap2(document.getElementById("watermap"));
|
var map = new GMap2(document.getElementById("watermap"));
|
||||||
var plotbounds=new GLatLngBounds(new GLatLng(<?= $md->south; ?>,<?= $md->west; ?>),new GLatLng(<?= $md->north; ?>,<?= $md->east; ?>));
|
var plotbounds=new GLatLngBounds(new GLatLng(<?= $md->south; ?>,<?= $md->west; ?>),new GLatLng(<?= $md->north; ?>,<?= $md->east; ?>));
|
||||||
|
|
Loading…
Reference in New Issue