Hi,
Anybody know how to apply accordion to link collection module?
http://cai.br.inter.edu/cai/index.ph...ategorias.html
Thank in advance
Hi,
Anybody know how to apply accordion to link collection module?
http://cai.br.inter.edu/cai/index.ph...ategorias.html
Thank in advance
Warcos
I did the following.
1 - Select accordion in collection link module options
2 - Include the following code in template or .js file: "may change depending on your case"
3 - Include css to manage your style: "may change depending on your case"Code:window.addEvent('domready', function() { var accordion = new Accordion($$('.toggler'),$$('.accordion'), { opacity: 0, onActive: function(toggler) { toggler.setStyle('color', '#ff3300'); }, onBackground: function(toggler) { toggler.setStyle('color', '#000000'); } }); });
Example: http://cai.br.inter.edu/cai/index.ph...ategorias.htmlCode:example: .toggler{cursor:pointer; padding:1px 0 2px 0; }
Warcos
Thanks for posting your solution Warcos. This should come in handy for other people trying to do the same thing.
I would like to have a normal sitemap on a website. I took the sitemap module for this but only some pages from the first level do show up now on the sitemap page.
I wanted to know now what are the exact rules for a page to show up on the sitemap?
What I figured out as well is, that the same pages do not show up in the search index either.
All pages have an alias, are published and "do not search" is not set. So I am not really sure where I should look next. Any hints?
Bookmarks