Hello,
There's a rather irritating CSS bug with the NPL acqui.simple/addbiblio.tmpl
template. When you click on the tab numbers, the selected tab is made
visible, and all other tabs made invisible. Unfortunately, (at least in the
latest Firefox!), the invisible tabs still occupy the same space they would
if they were visible. I'm not sure if it's the right fix, but the following
version of the active() javascript function (inside the template file) seems
to fix it (Added lines are bolded). Apologies that this isn't a patch - I
never got around to figuring out how to use the *patch* command properly!
Nicholas van Oudtshoorn
function active(numlayer)
{
for (i=0; i <= 9 ; i++ ) {
ong = i+"XX";
link = "link"+i;
if (numlayer==i) {
with(document){
if (document.getElementById(ong)){
document.getElementById
(ong).style.visibility="visible";
* document.getElementById
(ong).style.height="auto";*
}
if(document.getElementById(link)){
document.getElementById
(link).style.color="#000066";
document.getElementById
(link).style.backgroundColor="#FFFFCC";
}
}
} else {
with(document){
if (document.getElementById(ong)){
document.getElementById
(ong).style.visibility="hidden";
* document.getElementById
(ong).style.height="0";*
}
if (document.getElementById(link)) {
document.getElementById
(link).style.color="#669999";
document.getElementById
(link).style.backgroundColor="#D8DEB8";
}
}
}
}
}
_______________________________________________
Koha-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/koha-devel