Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- window.addEvent('domready', function() {
- var myAccordion = new Accordion($('menu'), 'h2.menuheader', 'div.menucontent', {
- opacity:true,
- show: -1,
- duration: 300,
- alwaysHide: true,
- onActive: function(menuheader, menucontent){
- menuheader.setStyle('font-weight', 'bold');
- menucontent.setStyle('display', 'block');
- },
- onBackground: function(menuheader, menucontent){
- menuheader.setStyle('font-weight', 'bold');
- menucontent.setStyle('display', 'block');
- }
- });
- });
- window.addEvent('domready', function() {
- var myAccordion = new Accordion($('maincol'), 'h2.contentheader', 'div.content', {
- opacity:true,
- show: -1,
- duration: 300,
- alwaysHide: true,
- onActive: function(contentheader, content){
- contentheader.setStyle('font-weight', 'bold');
- content.setStyle('display', 'block');
- },
- onBackground: function(contentheader, content){
- contentheader.setStyle('font-weight', 'bold');
- content.setStyle('display', 'block');
- },
- });
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement