名称: |
"+$("#new_listName").val()+"");
addBookItems();
$("#newBookListDialog").dialog("close");
clearNewBookList();
}
else
{
alert("创建书单或者加入书单失败!");
}
}
function clearNewBookList()
{
$("#new_listName").attr("value","");
$("#new_description").attr("value","");
$("#newBookListDialog input[name='new_privacy']").eq(0).attr("checked","checked");
}
function showSaveBookListItemResult(data) {
var state = $(data).find("state").text();
if(state == "1") {
alert("保存成功!");
} else {
alert("保存失败!");
}
}
function newBookListDialog() {
$("#newBookListDialog").dialog("open");
clearNewBookList();
}
$(function() {
$("#newBookListDialog").dialog({
autoOpen: false,
modal: true,
width: 510,
buttons:[{
text:"新增并加入书单",
click:function(){
newBookList();
}
}
]
});
});
//读取显示隐藏趋势图的cookie信息
$(document).ready(function(){
var chartCookie = $.cookie('chartCookie');
var libcode="P2LN0415007";
if(chartCookie!=null){
if(chartCookie=='hide'){
$("#display").html(" "+getI18nMsg("chartI18n.showChart"));//显示趋势图
$("#chartCtnr").hide(0);
$("#btnDiv").attr("align","left");
}else{
$("#display").html(getI18nMsg("chartI18n.hideChart")+" ");
}
}else{
if("0"=="0"){
$("#display").html(" "+getI18nMsg("chartI18n.showChart"));//显示趋势图
$("#chartCtnr").hide(0);
$("#btnDiv").attr("align","left");
}else{
$("#display").html(getI18nMsg("chartI18n.hideChart")+" ");
}
}
var classFacetCookie = $.cookie('classFacetCookie');
if(classFacetCookie!=null){
if(classFacetCookie=='hide'){
$("#block").html(" "+getI18nMsg("searchResultI18n.showClassFacet"));//显示
$("#classFacetDiv").hide(0);
$("#sohDiv").attr("align","left");
}else{
$("#block").html(getI18nMsg("searchResultI18n.hideClassFacet")+" ");
}
}else{
if("P2LN0415007"=="ESH021039"){
$("#block").html(" "+getI18nMsg("searchResultI18n.showClassFacet"));//显示
$("#classFacetDiv").hide(0);
$("#sohDiv").attr("align","left");
}else{
$("#block").html(getI18nMsg("searchResultI18n.hideClassFacet")+" ");
}
}
});
//当馆藏为空时,判断该书目是否在订购中,如果是则提示
$(function() {
//如果有光盘,显示提示“含光盘”,方便读者预订
});
function showAttachment(bookrecnos){
$.ajax({
type: "GET",
url: "/opac/book/getAttachments;jsessionid=28EC9EC9D3D3451E06D858BC280DE4C6",
data: {
"bookrecnos": bookrecnos.join(",")
},
dataType: "json",
success: function(data){
for(var i in data) {
var bookrecno = data[i];
$("span[id='attachment_" + bookrecno + "']").show();
}
}
});
}
function getOrderStatus(bookrecnos) {
$.ajax({
type: "GET",
url: "/opac/book/orderStatus;jsessionid=28EC9EC9D3D3451E06D858BC280DE4C6",
data: {
%E7%8E%8B%E9%9D%99%E8%90%8D%EF%BC%8C%E5%BC%A0%E5%BC%9B%E8%AF%91&f_author=christie&f_author=%E7%8E%8B%E9%9D%99%E8%90%8D&searchWay0=marc&logical0=AND&curlibcode=00901" title="宽甸镇分馆">
宽甸镇分馆
© 2005-2014 www.interlib.com.cn, all rights reserved
"+lib+" | "+year+" | "+count+" | |