I have successfully implemented a smooth animation code for a collapsible panel, and it is working wonderfully:
<script type="text/javascript">
function pageLoad(sender, args) {
smoothAnimation();
}
function smoothAnimation() {
var collPanel = $find(("<%= CollapsiblePanelExtender.ClientID %>"));
collPanel._animation._fps = 30;
collPanel._animation._duration = 0.5;
}
</script>
However, I also have a listview with separate collapsible panel extenders inside each item. I would like to apply the same "smoothAnimation()" function to all of them, but dealing with unique IDs due to data-binding poses a challenge.
Can anyone provide guidance on how to handle this in JavaScript? Your assistance would be greatly valued.