Foros de discusión
How to use pass a custom menu to AUI Carosel
Yale Yu, modificado hace 12 años.
How to use pass a custom menu to AUI Carosel
New Member Mensajes: 6 Fecha de incorporación: 30/03/12 Mensajes recientes
Hi,
I find that carosel in LF6.1 support pass a custom menu to render carsel, in the source code I find some attribute like "nodeMenu" or "nodeMenuItemSelector", I tried but still don't know how to using it.
Anyone can tell me how to use Carosel with custom menu? Sample code is appreciated.
Thanks.
I find that carosel in LF6.1 support pass a custom menu to render carsel, in the source code I find some attribute like "nodeMenu" or "nodeMenuItemSelector", I tried but still don't know how to using it.
Anyone can tell me how to use Carosel with custom menu? Sample code is appreciated.
Thanks.
Yale Yu, modificado hace 12 años.
RE: How to use pass a custom menu to AUI Carosel
New Member Mensajes: 6 Fecha de incorporación: 30/03/12 Mensajes recientes
I have got the usage from :
http://issues.liferay.com/browse/AUI-389
You could configure the carousel to use this menu with:
http://issues.liferay.com/browse/AUI-389
<ul id="customMenu">
<li class="aui-carousel-menu-play">Play/Pause</li>
<li class="aui-carousel-menu-prev">Previous</li>
<li class="aui-carousel-menu-next">Next</li>
<li class="aui-carousel-menu-index">1</li>
<li class="aui-carousel-menu-index">2</li>
<li class="aui-carousel-menu-index">3</li>
</ul>
You could configure the carousel to use this menu with:
new A.Carousel({ ... nodeMenu: '#customMenu', nodeMenuItemSelector: 'li' }).render();
m j, modificado hace 11 años.
RE: How to use pass a custom menu to AUI Carosel
New Member Mensaje: 1 Fecha de incorporación: 7/11/12 Mensajes recientes
Hi,
Is it so, that this custom menu thing works only in LR 6.1?
I've tried to get it work in LR 6.0.6 but no success...
Thanks.
Is it so, that this custom menu thing works only in LR 6.1?
I've tried to get it work in LR 6.0.6 but no success...
Thanks.