修改了后台新闻中心弹出层插件
This commit is contained in:
parent
70f48f745f
commit
7649214b94
|
@ -3,7 +3,9 @@
|
|||
$this->headTitle('后台管理');
|
||||
$this->headTitle()->setSeparator(' - ');
|
||||
$this->headScript()->appendFile('/js/jquery-1.7.min.js');
|
||||
$this->headLink()->appendStylesheet('/css/admin.css');
|
||||
$this->headLink()->appendStylesheet('/css/admin.css');
|
||||
$this->headScript()->appendFile('/js/jquery.colorbox-min.js');
|
||||
$this->headLink()->appendStylesheet('/css/colorbox.css');
|
||||
$this->breadcrumb('<a href="/">首页</a>');
|
||||
$this->breadcrumb('<a href="/admin">后台首页</a>');
|
||||
$this->breadcrumb('<a href="/admin/news">新闻中心</a>');
|
||||
|
@ -89,11 +91,7 @@
|
|||
<script type="text/javascript">
|
||||
$(document).ready(function(){
|
||||
$('.title').bind('click', function() {
|
||||
$('.pad').css('display','none');
|
||||
$(this).next('.listingDetails').children('.pad').show();
|
||||
});
|
||||
$('.closepad').bind('click', function() {
|
||||
$('.pad').css('display','none');
|
||||
$.colorbox({'innerWidth':'50%','html':$(this).next('.listingDetails').children('.pad').html()});
|
||||
});
|
||||
});
|
||||
function showpad(id){
|
||||
|
|
Loading…
Reference in New Issue