About this question
I try to make a list of panels with same toggle-effect. But I get just first working element. How can I make it for the list?
[removed][removed]
CSS:
<style> #flip { padding: 5px; border: 2px solid #e0ebeb; border-radius: 5px; } #panel { padding: 50px; display: none; background-color: #66c2ff; }
JS:
[removed] $(document).ready(function(){ $("#flip").click(function(){ $("#panel").slideToggle("slow"); }); }); [removed]
HTML: Click to slide the panel down or up {!list.Id}Hello {!list.Name}!
How can i make jQuery slideToggle() for the list?