Jquery Show/Hide Toggle -
I am trying to recreate the effect shown on the BBC homepage where links 'add more to this page' and 'Set Location' slides open their respective devices and show their relevant content. If you choose 'Add more on this page' then it opens the 'Add more' section. If you select 'Add more on this page' then the 'Add more' section closes, however, if the 'Add more' section is open, and you select 'Set Location' then this 'Set Location' Slides the 'Add more' section before sliding down. I have managed to regenerate this effect using the following code: HTML jQuery code $ (function () {$ ("# siteCustomization .siteSelection") Hide (); $ ("# Demo Li One "$ {$ Id = $ (this) .attr ('href'); var $ thisDiv = $ (id); if ($ thisDiv. Siblings (': visible') length) {$ thisDiv.siblings ( ': View'.) SlideUp (700, function () {$ thisDiv.slideDown ();});}. Else {$ th...