Switching jquery ui tabs and dispay corresponding button -


well, must simple of you, have no idea how accomplish this.

i have set of tabs , 3 buttons. each button corresponding tab.

here's html:

   <div id="tabs">         <ul>             <li><a href="#tabs-1">apartmans</a></li>             <li><a href="#tabs-2">eco housee</a></li>             <li><a href="#tabs-3">other facilities</a></li>         </ul>         <div class="divider-h"></div>         <a  href="#" class="btn-a btn-3 btn-3e icon-arrow-right btn-apartmans">all apartmans</a>         <a  href="#" class="btn-a btn-3 btn-3e icon-arrow-right btn-ecohouse">eco housee</a>         <a  href="#" class="btn-a btn-3 btn-3e icon-arrow-right btn-facilites">other facilities</a> 

any appreciated.

here's html

    a.btn-apartmans {     display: block; }  a.btn-ecohouse {     display: none !important; }  a.btn-facilites {     display: none !important; } 

i tried work through jquery hide,show , toogle . unfortunately, no work


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -