[Koha-patches] [PATCH] Showing "more searches" menu options when JavaScript is disabled (Bug 3517)
Owen Leonard
oleonard at myacpl.org
Mon Aug 10 20:54:48 CEST 2009
---
koha-tmpl/opac-tmpl/prog/en/css/opac.css | 1 +
.../opac-tmpl/prog/en/modules/opac-detail.tmpl | 6 +++---
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/koha-tmpl/opac-tmpl/prog/en/css/opac.css b/koha-tmpl/opac-tmpl/prog/en/css/opac.css
index 127f2af..fef333f 100644
--- a/koha-tmpl/opac-tmpl/prog/en/css/opac.css
+++ b/koha-tmpl/opac-tmpl/prog/en/css/opac.css
@@ -1419,6 +1419,7 @@ div#menu li.active a:hover {
padding : 3px;
text-align : center;
}
+#furtherm { margin-top : .5em; }
#export label, .detailtagcell label {
display : block;
diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tmpl b/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tmpl
index db65f25..7ee17cf 100644
--- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tmpl
+++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tmpl
@@ -29,7 +29,7 @@
YAHOO.util.Event.onContentReady("furtherm", function () {
$("#furtherm").css("display","block").css("visibility","hidden");
-
+ $("#furthersearches").parent().show();
var furthersearchesMenu = new YAHOO.widget.Menu("furtherm");
furthersearchesMenu.render();
furthersearchesMenu.cfg.setProperty("context", ["furthersearches", "tr", "br"]);
@@ -759,10 +759,10 @@ YAHOO.util.Event.onContentReady("furtherm", function () {
</a></li>
<!-- /TMPL_IF --><!-- /TMPL_IF -->
<!-- /TMPL_IF -->
- <li><a href="#" id="furthersearches">More searches</a></li>
+ <li style="display:none;"><a href="#" id="furthersearches">More searches</a></li>
</ul>
-<div id="furtherm" class="yuimenu" style="display: none">
+<div id="furtherm" class="yuimenu">
<div class="bd">
<h4>Search for this title in:</h4>
<ul class="first-of-type">
--
1.5.6.5
More information about the Koha-patches
mailing list