Showing "more searches" menu options when JavaScript is disabled (Bug 3517)
authorOwen Leonard <oleonard@myacpl.org>
Mon, 10 Aug 2009 18:54:48 +0000 (13:54 -0500)
committerGalen Charlton <gmcharlt@gmail.com>
Tue, 11 Aug 2009 00:34:42 +0000 (20:34 -0400)
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
koha-tmpl/opac-tmpl/prog/en/css/opac.css
koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tmpl

index 127f2af..fef333f 100644 (file)
@@ -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;
index db65f25..7ee17cf 100644 (file)
@@ -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">