Well, if you repeater is writing something like so several times, each with a unique id and presumably unique content:
Code:
<div id="<% someid[i] %>" style="width: 300px; background: #FFFFCC; display:none">
<b>Content inside DIV!</b><br />
<b>Note: Fade effect enabled. Height programmically defined. DIV hidden using inline CSS.</b><br />
</div>
It could just as easily write something like this:
Code:
<script type="text/javascript">
animatedcollapse.addDiv('<% someid[i] %>', 'fade=1,height=80px')
</script>
<div id="<% someid[i] %>" style="width: 300px; background: #FFFFCC; display:none">
<b>Content inside DIV!</b><br />
<b>Note: Fade effect enabled. Height programmically defined. DIV hidden using inline CSS.</b><br />
</div>
Then after all of that's done, have:
Code:
<script type="text/javascript">
animatedcollapse.init();
</script>
Bookmarks