掲示板

Tabs with Buttons

11年前 に Suresh Kumar によって更新されました。

Tabs with Buttons

Junior Member 投稿: 47 参加年月日: 12/05/09 最新の投稿
Hi,

We are using 3 buttons as tabs instead of Liferay tabs. The problem we are facing is, clicking functionality on the 2nd(bbb) and 3rd(ccc) tabs (here buttons), functionality is working fine but it is not staying the respective tabs. its going to first tab by default. Could anyone help on this

Following is the sample code which we are using....

<div data-toggle="buttons-radio" class="btn-group">
<button class="btn toggle-button active" id="aaa" type="button" value="aaa" onclick="optionselect(this.id);">aaa</button>
<button class="btn toggle-button" id="bbb" type="button" value="bbb" onclick="optionselect(this.id);" >bbb</button>
<button class="btn toggle-button" id="ccc" type="button" value="ccc" onclick="optionselect(this.id);">ccc</button>
</div><br />

Thanks,
Suresh