I would like to use the effects as displayed on the MOO FX homepage (whereby the sections are smoothly collapsable via a toggle resize effect) in a design for a document library. Basically I have created a simple sub proceedure that looks like this:
<% Sub Blade(sBladeTitle) sBladeID = Replace(Replace(Replace(sBladeTitle," ","_"),".",""),"!","") sBladeID = Replace(Replace(Replace(sBladeID,"*",""),"#",""),"@","")%> <h4><%=sBladeTitle%></h4> <div id="<%=sBladeID%>"></div> <% end Sub %>
This way I generate a unique id from the title I am assigning to the sub.
I would like to use this unique id to target the div with an onclick event but I have been unsuccessful. If anyone could please help me I would really appreciate it.