Showing "more searches" menu options when JavaScript is disabled (Bug 3517)

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
This commit is contained in:
Owen Leonard 2009-08-10 13:54:48 -05:00 committed by Galen Charlton
parent 833794cf3d
commit 9f6098e8b9
2 changed files with 4 additions and 3 deletions

View 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;

View 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">