ZhiYeJianKang_PeiXun/Song.Site/Manage/Template/Scripts/List.js
2025-02-20 15:41:53 +08:00

20 lines
710 B
JavaScript

$(function(){
$(".item img").click(function(){
var thisEle=$(this).parent();
var tag = thisEle.attr("tag");
var type = thisEle.attr("type");
var width=parseInt(thisEle.attr("wd"));
var height=parseInt(thisEle.attr("hg"));
//
//当前页面的上级路径,因为子页面没有写路径,默认与本页面同路径
var url=String(window.document.location.href);
url = url.substring(0, url.lastIndexOf("/") + 1);
var boxUrl=url+"List_Edit.aspx?tag="+tag+"&type="+type;
new top.PageBox("模板信息编辑",boxUrl,width,height).Open();
});
$(".item").hover(function(){
$(this).addClass("itemOver");
},function(){
$(this).removeClass("itemOver");
});
});