在Accordion jQuery功能中,如何在不使用UI插件的情況下使用左側,右側,頂部和底部動態切換標籤位置?如何使用jQuery Accordian動態地移動標籤位置?
例子:有一個下拉具有四個值這些1.top 2.bottom 3.left和4.right
If i click on top - Tabs should display top to bottom direction
If i click on bottom - Tabs should display bottom to top direction
If i click on left - Tabs should display left to right direction
If i click on left - Tabs should display right to left direction
您能解釋一下從左到右的方向和從右到左的方向是什麼意思嗎?手風琴是垂直的。 –
假設有4個選項卡,即Tab1,Tab2,Tab3和Tab4,它們從上到下排列,這將是默認情況下,如果我選擇底部,它應該顯示從下到上即tab4到tab1,並且它應該顯示左側從右側tab1到右側tab4,如果我點擊右邊它應該顯示riht左邊從tab4到tba1。 – user1943681