Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- loader.insert({
- onSuccess: function() {
- var _myComponents = ["js/menu-renderer.js"];
- YAHOO.util.Get.script(_myComponents, {
- onSuccess: function() {
- }});
- YAHOO.util.Event.onDOMReady(function () {
- var menu1 = new YAHOO.widget.AccordionView('myaccordion', {expandItem: 0, collapsible: true, expandable: false, width: '240px', animate: true, animationSpeed: '0.2'});
- });
- },
- onFailure:function(msg) {
- //YAHOO.log(msg,'error','myPage');
- }
- }
Add Comment
Please, Sign In to add comment