Closed mervb closed 1 year ago
Currently the JS applies the class epl_ui_tab_menu_current to the first tab, However I i want to have 3 options and set the second as the curent both the firtst and second options become current
https://github.com/easypropertylistings/Easy-Property-Listings/blob/master/lib/assets/js/epl.js
eg the html has two: epl_ui_tab_menu_current
<ul class="epl_ui_tab_menu_wrapper epl_ui_tab_menu_wrapper_horizontal"> <li class="epl_ui_tab_menu epl_ui_tab_menu_current"> <a class="epl-tab-item epl-tab-item--manage" href="#manage-tab">Manage</a> </li> <li class="epl_ui_tab_menu epl_ui_tab_menu_current"><a class=" epl-tab-item--buy" href="#buy-tab">Buy</a></li> <li class="epl_ui_tab_menu"><a class=" epl-tab-item--sell" href="#sell-tab">Sell</a></li> <li class="epl_ui_tab_menu"><a class=" epl-tab-item--rent" href="#rent-tab">Rent</a></li> </ul>
Apply similar to the accordion JS
done here : https://github.com/easypropertylistings/Easy-Property-Listings/commit/4495083b1dad52904da4a65acf0461b1baed9943
Already added in 3.4.47
Currently the JS applies the class epl_ui_tab_menu_current to the first tab, However I i want to have 3 options and set the second as the curent both the firtst and second options become current
https://github.com/easypropertylistings/Easy-Property-Listings/blob/master/lib/assets/js/epl.js
eg the html has two: epl_ui_tab_menu_current