묻고답하기
page_full_width" class="col-xs-12" |cond="$__Context->page_full_width">
[asp]여기게시판처럼 셀색상 번갈아가며 나오개하려면 어떻게해야대는지요!
2002.11.28 04:05
지금 공부하는 학생인데요
<%
do while not rs.eof
id = rs("id")
response.write "<tr>"
response.write "<td width=80 bgcolor=#EEF3F6 align=center>" & "<span style=font-size:9pt;color:#013A65>" & rs("id") & "</td>"
response.write "<td width=440 bgcolor=#EEF3F6 align=center>" & "<span style=font-size:9pt;color:#013A65>" & "<A HREF=content_view.asp?id="&id&">" & rs("title") & "</a>" & "</td>"
response.write "<td width=80 bgcolor=#EEF3F6 align=center>" & "<span style=font-size:9pt;color:#013A65>" & rs("name") & "</td>"
response.write "<td width=80 bgcolor=#EEF3F6 align=center>" & "<span style=font-size:9pt;color:#013A65>" & rs("dater") & "</td>"
response.write "<td width=80 bgcolor=#EEF3F6 align=center>" & "<span style=font-size:9pt;color:#013A65>" & rs("ok") & "</td>"
response.write "<td width=80 bgcolor=#EEF3F6 align=center>" & "<span style=font-size:9pt;color:#013A65>" & rs("count") & "</td>"
response.write "</tr>"
rs.movenext
loop
%>
이런식으로하면 글의셀생상이 하나로바꼐안나오는대 여기게시판은 두가지색이번갈아나오네요^^
저위의 소스에서 어떠케바까야 두가지셀색상을 반복해서쓸수있는지즘 알려주세요!
<%
do while not rs.eof
id = rs("id")
response.write "<tr>"
response.write "<td width=80 bgcolor=#EEF3F6 align=center>" & "<span style=font-size:9pt;color:#013A65>" & rs("id") & "</td>"
response.write "<td width=440 bgcolor=#EEF3F6 align=center>" & "<span style=font-size:9pt;color:#013A65>" & "<A HREF=content_view.asp?id="&id&">" & rs("title") & "</a>" & "</td>"
response.write "<td width=80 bgcolor=#EEF3F6 align=center>" & "<span style=font-size:9pt;color:#013A65>" & rs("name") & "</td>"
response.write "<td width=80 bgcolor=#EEF3F6 align=center>" & "<span style=font-size:9pt;color:#013A65>" & rs("dater") & "</td>"
response.write "<td width=80 bgcolor=#EEF3F6 align=center>" & "<span style=font-size:9pt;color:#013A65>" & rs("ok") & "</td>"
response.write "<td width=80 bgcolor=#EEF3F6 align=center>" & "<span style=font-size:9pt;color:#013A65>" & rs("count") & "</td>"
response.write "</tr>"
rs.movenext
loop
%>
이런식으로하면 글의셀생상이 하나로바꼐안나오는대 여기게시판은 두가지색이번갈아나오네요^^
저위의 소스에서 어떠케바까야 두가지셀색상을 반복해서쓸수있는지즘 알려주세요!