This content has been marked as final.
Show 1 reply
-
1. Re: Help with Show/Hide Elements please!
MurraySummers Nov 11, 2010 4:30 AM (in response to thersher)Am I supposed to be able to preview this feature, either in a browser or in Live View?
Yes - it should work in both.
Also, my div is set to display:none; and I didn't know if that is correct, or if I should set a Z-index on all of them.
That could be the problem - show/hide toggles the visibility attribute between 'visible' and 'hidden'. If the element is styled with display:none, even when it's visible it won't be displayed. So, get rid of the display style, and just use the visibility one. The default z-index is "1", so depending on your layout and the desired interaction with these elements, you may need to adjust your z-index as well.


