Thanks Terry so much. I think Iam near to the solution  but  one last Question 
where can I get the resulting html for Dsapce.




From: Terry Brady [mailto:[email protected]]
Sent: Friday, April 26, 2013 4:04 PM
To: Webshet, Sisay (ILRI)
Cc: [email protected]
Subject: Re: [Dspace-tech] Accordion menu for Discovery

Sisay,

Take a look at your theme's sitemap.xmap to determine which javascript and css 
files are being included.  Add the javascript code to the javascript file and 
the css code to the css file.  Also, make certain that jQuery is being included 
in your resulting html.

I hope this helps.

Terry

On Fri, Apr 26, 2013 at 7:01 AM, Webshet, Sisay (ILRI) 
<[email protected]<mailto:[email protected]>> wrote:

HI Terry,

Iam happy if you told me the location where should I put this code.
Would it be it possible to put this code inside page-strucutre.xsl
/home/dspace/webapps/xmlui/themes/mytheme/lib/xsl/core

Thanks



From: Terry Brady [mailto:[email protected]<mailto:[email protected]>]
Sent: Thursday, April 25, 2013 8:07 PM
To: Webshet, Sisay (ILRI)
Cc: [email protected]<mailto:[email protected]>
Subject: Re: [Dspace-tech] Accordion menu for Discovery

With jQuery and jQueryUI, you could construct an accordion on the discovery 
list.

For my implementation, I did not need an accordion.  I simply made the menu 
options above Discovery collapsible using jQuery.

JavaScript: included via my theme:
jQuery("#ds-options div.ds-option-set,
#dspace-options 
div.ds-option-set").not("#aspect_viewArtifacts_Navigation_list_browse,#aspect_discovery_Navigation_list_discovery,#ds-search-option").addClass("gu-hide");
jQuery("#ds-options h3,#dspace-options h3").click(function(){
jQuery(this).next("div.ds-option-set:first").toggleClass("gu-hide");
});

CSS included via my theme:
#ds-options div.gu-hide,#dspace-options div.gu-hide {display: none;}

Terry

On Thu, Apr 25, 2013 at 4:53 AM, Webshet, Sisay (ILRI) 
<[email protected]<mailto:[email protected]>> wrote:


Hello,


I need to change or have an accordion menu for the Discovery  on dspace 
3.1(manakin).
This was implemented on this site
http://repository.cimmyt.org/
Here You can check the menu for Refine Search on the site.

Iam happy if anyone has a solution/hint

Thank you.



------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
DSpace-tech mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette



--
Terry Brady
Applications Programmer Analyst
Lauinger Information Technology
202-687-7053



--
Terry Brady
Applications Programmer Analyst
Lauinger Information Technology
202-687-7053
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to