Foren
How to use pass a custom menu to AUI Carosel
Yale Yu, geändert vor 12 Jahren.
How to use pass a custom menu to AUI Carosel
New Member Beiträge: 6 Beitrittsdatum: 30.03.12 Neueste Beiträge
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, geändert vor 12 Jahren.
RE: How to use pass a custom menu to AUI Carosel
New Member Beiträge: 6 Beitrittsdatum: 30.03.12 Neueste Beiträge
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, geändert vor 11 Jahren.
RE: How to use pass a custom menu to AUI Carosel
New Member Beitrag: 1 Beitrittsdatum: 07.11.12 Neueste Beiträge
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.