Skip to content

Commit

Permalink
- added "visibility: hidden;" for yacysearch.html sidebar
Browse files Browse the repository at this point in the history
- this only works with javascript....sorry

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@5983 6c8d7289-2bf4-0310-a012-ef5d649a1542
  • Loading branch information
apfelmaennchen committed May 27, 2009
1 parent 16a226b commit 369bb78
Showing 1 changed file with 17 additions and 16 deletions.
33 changes: 17 additions & 16 deletions htroot/yacysearch.html
Expand Up @@ -17,8 +17,23 @@
::
<link media="screen" type="text/css" href="/yacy/ui/css/themes/start/ui.base.css" rel="stylesheet" />
<link media="screen" type="text/css" href="/yacy/ui/css/themes/start/ui.theme.css" rel="stylesheet" />
<style type="text/css">
.hidden { visibility: hidden; }
</style>
<script src="/yacy/ui/js/jquery-1.3.1.min.js" type="text/javascript"></script>
<script src="/yacy/ui/js/jquery.ui.all.min.js" type="text/javascript"></script>
<script src="/yacy/ui/js/jquery.ui.all.min.js" type="text/javascript"></script>
<script>
//<![CDATA[
$(function() {
$("#sidebar").accordion({
autoHeight: false,
clearStyle: true,
header: "h3"
});
$("#sidebar").removeClass("hidden");
});
//]]>
</script>
#(/display)#
</head>
<body id="yacysearch">
Expand Down Expand Up @@ -111,7 +126,7 @@ <h2>#[promoteSearchPageGreeting]#</h2>

#(navigation)#
::
<div id="sidebar" style="float: right; width: 200px; margin-top:5px;">
<div id="sidebar" class="hidden" style="float: right; width: 200px; margin-top:5px;">
<h3><a href="#">Navigation</a></h3>
<div>
First attempt to add 'real' Navigation to yacy search results:<br />
Expand Down Expand Up @@ -139,19 +154,5 @@ <h3><a href="#">Authors</a></h3>
<!-- attach the bottomline -->
<!--#include virtual="yacysearchtrailer.html?eventID=#[eventID]#&display=#[display]#" -->
</div>
#(display)#
::
::
::
<script>
//<![CDATA[
$("#sidebar").accordion({
autoHeight: false,
clearStyle: true,
header: "h3"
});
//]]>
</script>
#(/display)#
</body>
</html>

0 comments on commit 369bb78

Please sign in to comment.