This is what I'm finally trying to achieve:
// When the user clicks the lifestyle button this is $ (".liveshow-button"). Live ('click', function () (if ($ (". LiveSaveDiv2"). CSS ('display') == 'none') {$ (("height: $ ('.liveshowDiv1') height () + "Px"}, iresizeSpeed, function (". ($. 'LifehowDiv1') .FadeIn (ifadeInSpeed, function () {})}}}}}}; else else {alert ('This is never displayed' SlideUp ('sharp');}}); Actually I want to toggle between liveShowDiv1 displayed and hidden when you open this button But when the other things on the page can hide liveShowDiv1, I can toggle to do this I can not create the function to see if LiveShowDiv1 is being displayed or not.
Not displayed: display = none
When this is not displayed in the Display Style tag at all
How do I tell if this div is displayed?
if ($ (this) .is (': visible')) Work to hide / hide relatively simple.
Comments
Post a Comment