Hi All,
I'm struggling with a seemingly simple component for our Intranet. One
of the business areas wants an 'A-Z directory' style component that a
user would simply add items to. I've got a case statement that
translates the numbers 1-26 into letters of the alphabet and writes
that letter into a <ul> tag (except it doesn't output anything to
screen)!
What I then want is a user to be able to add <li>s to this to form a
nice XHTML list. So far though, nothing is outputting onto the page. I
only have one placeholder - txt_text - which will populate each <li>
with something appropriate. The text on this page will not contain any
links so that functionality isn't catered for. Here's what I have so
far (I know that B-Z are using <h2>s, I'm just being lazy!):
<!IoRangeRedDotMode>
<div class="rdSection">
<!IoRedDotOpenPage>
<!IoRangeNoEditMode> Edit section<!/IoRangeNoEditMode>
<!IoRangeRedDotEditOnly> Save section
<!IoRedDot_txt_text> Edit text
<!/IoRangeRedDotEditOnly>
</div>
<!/IoRangeRedDotMode>
<%
Dim i
for (i=1;i<27;i++)
{
Select Case i
Case 1
Response.Write("<ul class='glossaryHeader'>A</ul>")
Response.Write("<!IoRangeList><li><%txt_text%></li><!/
IoRangeList>")
Response.Write("</ul>")
Case 2
Response.Write("<h2 class='glossaryHeader'>B</h2>")
Case 3
Response.Write("<h2 class='glossaryHeader'>C</h2>")
Case 4
Response.Write("<h2 class='glossaryHeader'>D</h2>")
Case 5
Response.Write("<h2 class='glossaryHeader'>E</h2>")
Case 6
Response.Write("<h2 class='glossaryHeader'>F</h2>")
Case 7
Response.Write("<h2 class='glossaryHeader'>G</h2>")
Case 8
Response.Write("<h2 class='glossaryHeader'>H</h2>")
Case 9
Response.Write("<h2 class='glossaryHeader'>I</h2>")
Case 10
Response.Write("<h2 class='glossaryHeader'>J</h2>")
Case 11
Response.Write("<h2 class='glossaryHeader'>K</h2>")
Case 12
Response.Write("<h2 class='glossaryHeader'>L</h2>")
Case 13
Response.Write("<h2 class='glossaryHeader'>M</h2>")
Case 14
Response.Write("<h2 class='glossaryHeader'>N</h2>")
Case 15
Response.Write("<h2 class='glossaryHeader'>O</h2>")
Case 16
Response.Write("<h2 class='glossaryHeader'>P</h2>")
Case 17
Response.Write("<h2 class='glossaryHeader'>Q</h2>")
Case 18
Response.Write("<h2 class='glossaryHeader'>R</h2>")
Case 19
Response.Write("<h2 class='glossaryHeader'>S</h2>")
Case 20
Response.Write("<h2 class='glossaryHeader'>T</h2>")
Case 21
Response.Write("<h2 class='glossaryHeader'>U</h2>")
Case 22
Response.Write("<h2 class='glossaryHeader'>V</h2>")
Case 23
Response.Write("<h2 class='glossaryHeader'>W</h2>")
Case 24
Response.Write("<h2 class='glossaryHeader'>X</h2>")
Case 25
Response.Write("<h2 class='glossaryHeader'>Y</h2>")
Case 26
Response.Write("<h2 class='glossaryHeader'>Z</h2>")
end Select
}
%>
I've taken the 'preExecute' tags off in the code above as it wasn't
outputting anything regardless of if they were present or not.
Can anyone help?!
Thanks,
Brett
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"RedDot CMS Users" group.
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
-~----------~----~----~----~------~----~------~--~---