1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
|
//FSMenu est une classe que j'ai télécharger pour la gestion des menus déroulant.
listMenu = new FSMenu(listMenu, true, 'display', 'block', 'none');
listMenu.animations
[listMenu.animations.length] = FSMenu.animFade;
listMenu.animations
[listMenu.animations.length] = FSMenu.animSwipeDown;
listMenu.animations
[listMenu.animations.length] = FSMenu.animClipDown;
var arrow = null;
if (document.createElement && document.documentElement)
{
arrow = document.createElement('span');
arrow.appendChild(document.createTextNode(''));
arrow.className = 'subind';
}
addReadyEvent(new Function('listMenu.activateMenu("listMenuRoot", arrow)')); |
Partager