jquery

jquery

In Accordion jQuery functionality, how do you shift the tab positions dynamically using left, right, top and bottom without using UI plugin?

Example: There is a drop down with four values these are 1.top 2.bottom 3.left and 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

Assume there are 4 tabs,i.e Tab1,Tab2,Tab3 and Tab4 they are arranged from top to bottom this will be by default and if i select bottom it should display from bottom to top that is tab4 to tab1 and left it should display left to right from tab1 to tab4 if i click right it should display riht to left from tab4 to tab1.