You're missing your '<li>' tags, if that's the problem.
I'm trying to create an ordered list that will display a list of profiles numerically. I've tried placing the OL both outside the cfoutput statement as well as inside, and I still cannot get it to work. Any ideas? Below is a snippet of the code: <table border="0" cellpadding="0" cellspacing="0"> <OL> <cfoutput query="getprofiles"> <tr> <td> <a onclick="var agree=confirm('Are you sure you want to delete '+'#getprofiles.name#'+' ?');if (agree)return true ;else return false ;" href="#currentpage#?delete=0&c_id=#getprofiles.c_i d#"><font size="2" color="blue" face="Verdana, Arial, Helvetica, sans-serif">|Delete|</font></a> <a href="updatecustprofiles.cfm?c_id=#getprofiles.c_i d#"><font size="2" color="blue" face="Verdana, Arial, Helvetica, sans-serif"><u><strong>#getprofiles.name#</strong> - <cfif getprofiles.pin neq "">PIN:#getprofiles.pin#<cfelse><font color="red">Undefined</font></cfif></u></font></a></td> </tr> </cfoutput> </OL> </table>...
I'm trying to create an ordered list that will display a list of profiles
numerically. I've tried placing the OL both outside the cfoutput statement as
well as inside, and I still cannot get it to work. Any ideas? Below is a
snippet of the code:
<table border="0" cellpadding="0" cellspacing="0">
<OL>
<cfoutput query="getprofiles">
<tr>
<td> <a onclick="var agree=confirm('Are you sure you want to delete
'+'#getprofiles.name#'+' ?');if (agree)return true ;else return false ;"
href="#currentpage#?delete=0&c_id=#getprofiles.c_i d#"><font size="2"
color="blue" face="Verdana, Arial, Helvetica, sans-serif">|Delete|</font></a>
<a href="updatecustprofiles.cfm?c_id=#getprofiles.c_i d#"><font size="2"
color="blue" face="Verdana, Arial, Helvetica,
sans-serif"><u><strong>#getprofiles.name#</strong> - <cfif getprofiles.pin neq
"">PIN:#getprofiles.pin#<cfelse><font
color="red">Undefined</font></cfif></u></font></a></td>
</tr>
</cfoutput>
</OL>
</table>
You're missing your '<li>' tags, if that's the problem.
I think you want to do it like this:
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
<ol>
<cfoutput query="getprofiles">
<li><a onclick="var agree=confirm('Are you sure you want to delete '+'#getprofiles.name#'+' ?');if (agree)return true
;else return false ;" href="#currentpage#?delete=0&c_id=#getprofiles.c_i d#"> <font size="2" color="blue" face="Verdana, Arial,
Helvetica, sans-serif">|Delete|</font></a> <a href="updatecustprofiles.cfm?c_id=#getprofiles.c_i d#"><font size="2" color="blue"
face="Verdana, Arial, Helvetica, sans-serif"><u><strong>#getprofiles.name#</strong> -
<cfif getprofiles.pin neq "">
PIN: #getprofiles.pin#
<cfelse>
<font color="red">Undefined</font>
</cfif>
</u></font></a> </li>
</cfoutput>
</ol>
</td>
</tr>
</table>
--
Ken Ford
PVII Support Team
[url]http://www.projectseven.com[/url]
Team Macromedia Volunteer - Dreamweaver
Certified Dreamweaver MX 2004 Developer
"SquiSh1717" <webforumsusermacromedia.com> wrote in message news:dan0do$inu$1forums.macromedia.com...
: I'm trying to create an ordered list that will display a list of profiles
: numerically. I've tried placing the OL both outside the cfoutput statement as
: well as inside, and I still cannot get it to work. Any ideas? Below is a
: snippet of the code:
:
: <table border="0" cellpadding="0" cellspacing="0">
: <OL>
: <cfoutput query="getprofiles">
: <tr>
: <td> <a onclick="var agree=confirm('Are you sure you want to delete
: '+'#getprofiles.name#'+' ?');if (agree)return true ;else return false ;"
: href="#currentpage#?delete=0&c_id=#getprofiles.c_i d#"><font size="2"
: color="blue" face="Verdana, Arial, Helvetica, sans-serif">|Delete|</font></a>
: <a href="updatecustprofiles.cfm?c_id=#getprofiles.c_i d#"><font size="2"
: color="blue" face="Verdana, Arial, Helvetica,
: sans-serif"><u><strong>#getprofiles.name#</strong> - <cfif getprofiles.pin neq
: "">PIN:#getprofiles.pin#<cfelse><font
: color="red">Undefined</font></cfif></u></font></a></td>
: </tr>
: </cfoutput>
: </OL>
: </table>
:
Bookmarks