掲示板

How to use pass a custom menu to AUI Carosel

11年前 に Yale Yu によって更新されました。

How to use pass a custom menu to AUI Carosel

New Member 投稿: 6 参加年月日: 12/03/30 最新の投稿
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.
11年前 に Yale Yu によって更新されました。

RE: How to use pass a custom menu to AUI Carosel

New Member 投稿: 6 参加年月日: 12/03/30 最新の投稿
I have got the usage from :
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();
11年前 に m j によって更新されました。

RE: How to use pass a custom menu to AUI Carosel

New Member 投稿: 1 参加年月日: 12/11/07 最新の投稿
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.