Ask a Question related to Coldfusion - Getting Started, Design and Development.
-
SquiSh1717 #1
Ordered list in cfoutput?
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>
SquiSh1717 Guest
-
Convert Shared Object properties into ordered array
I need to put the shared object data (that contains the client names) into an ordered array. The following is NOT useful: for (var i in... -
Make ordered list
Hello, I have several list items for which I'd like to make an ordered list using Roman Large numbers (I,II,III,)... Each time I press the ordered... -
Randomly Ordered Recordset
Hello everyone, I'm using MX04, Access, VB Script. I need to select 10 unique records and randomly order them. I've done quite a bit of... -
How to sort 2 arrays and keep indices ordered?
Hi all, Is there an easy way to sort 2 arrays and keep the relating indices together. for instance I have an array of times, and an array of... -
selecting ordered groups out of a table
Rainer Gauweiler wrote: with recent_orders as ( select customer, invoice-nr, date, row_number() over (partition by customer, order by date... -
BSterner #2
Re: Ordered list in cfoutput?
You're missing your '<li>' tags, if that's the problem.
BSterner Guest
-
Ken Ford - *TMM* & PVII #3
Re: Ordered list in cfoutput?
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" <webforumsuser@macromedia.com> wrote in message news:dan0do$inu$1@forums.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>
:
Ken Ford - *TMM* & PVII Guest



Reply With Quote

