[Koha] Opac Nav
Vitor Fernandes
vitorfernandes87 at gmail.com
Tue Dec 28 01:26:13 NZDT 2010
Hi to all.
Sorry for my response delay time. Your solution worked fine to me :)
<div id="mainpagenav">
<p>OpacNav content here</p>
</div>
opac.css
#mainpagenav { display: none; }
#controll {}
#controll #mainpagenav { display: block; }
opac-main.tmpl
<div id="controll">
<!--TMPL_INCLUDE NAME="navigation.inc" -->
</div>
Thanks for you help.
Regards.
Vitor Fernandes.
2010/12/22 Owen Leonard <oleonard at myacpl.org>:
>> I want it to show only in the main page.
>
> Here's one way to do it:
>
> Create your OpacNav content with a wrapper that has a unique id
> attribute ("mainpagenav" in this example):
>
> <div id="mainpagenav">
> <p>OpacNav content here</p>
> </div>
>
> In your custom stylesheet (or in OpacUserCSS) put:
>
> #mainpagenav { display: none; }
> #opac-main #mainpagenav { display: block; }
>
> That should hide the OpacNav content by default but show it on the main page.
>
> Let me know if that works,
>
> Owen
>
> --
> Web Developer
> Athens County Public Libraries
> http://www.myacpl.org
>
More information about the Koha
mailing list