Todd
 
I remembered this little piece of JS that was written by Jian Huang which 
might give you a base for a workable solution.  Essentially the idea is to 
put your reddot for each title you want to show or hide inside a DIV with 
an ID.  As each RedDot is always shown in the page (when activated),  the 
JS can then be set to hide any DIV where the ID meets a specific 
quantifiable value, so the user doesn't see the RedDot's that are not 
needed.
 
https://groups.google.com/d/msg/reddot-cms-users/sd9-MEmgHfc/hOXj6wmDMogJ
 
Stu Wilson

On Monday, 7 January 2013 21:18:33 UTC, todda wrote:

> Help,
>
> Does anyone know how to dynamically display reddots using a for loop?
>
> I am trying to make a portlet for Reddot and I'm running into a snag. I 
> have the code below to dynamically display reddots based on how many the 
> user wishes to display. 
>
> I am getting the Pre-Excute error screen and I'm not sure where to go from 
> here. 
>
> Here's the code:
>
>> <%
>> For i = 1 to <%stf_ToggleCount%>
>>    If i > 20 Then Exit For  
>>    response.write("<!IoRedDot_stf_Title_" & i & ">")
>> Next
>> %>
>
>
> I hope that makes enough sense. If it doesn't I'd love to elaborate 
> further. 
>
> Thanks for your help, 
> Todd 
>

-- 
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/reddot-cms-users/-/Cb9BmOom26UJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/reddot-cms-users?hl=en.

Reply via email to