comparison client/digitallibrary/oldskin/dclib.js @ 591:a667d2952aab

small fix to dirInfo-xml.jsp and old digicat.jsp
author robcast
date Thu, 06 Jan 2011 20:51:58 +0100
parents 23866acd6509
children
comparison
equal deleted inserted replaced
584:3af19d51dd7e 591:a667d2952aab
56 var dw = getParameter("dw"); 56 var dw = getParameter("dw");
57 var dh = getParameter("dh"); 57 var dh = getParameter("dh");
58 var pt = getParameter("pt"); 58 var pt = getParameter("pt");
59 var pn = parseInt(getParameter("pn")); 59 var pn = parseInt(getParameter("pn"));
60 var fn = getParameter("fn"); 60 var fn = getParameter("fn");
61 var par_mo = (hasParameter("mo")) ? "mo="+getParameter("mo") : ""; 61 var par_mo = (hasParameter("mo")) ? "&mo="+getParameter("mo") : "";
62 62
63 var picWidth = (dw != 0) ? dw : Math.floor((fWidth-30)/cells[0])-2*cells[0]-1; 63 var picWidth = (dw != 0) ? dw : Math.floor((fWidth-30)/cells[0])-2*cells[0]-1;
64 var picHeight = (dh != 0) ? dh : picWidth; 64 var picHeight = (dh != 0) ? dh : picWidth;
65 65
66 if (cells.length > 1) { 66 if (cells.length > 1) {