You can create tabs in Liferay 6.1 using AUI as below ::
AUI().ready('aui-tabs', function(A) { var tabs = new A.TabView( { boundingBox: '#demo', items: [ { content: 'This my content 1', label: 'Tab 1' }, { content: 'This my content 2', label: 'Tab 2' }, { content: 'This my content 3', label: 'Tab 3' } ] } ) .render(); });
Cheers, Ujjwal Soni
No comments:
Post a Comment