MACROMEDIA COLDFUSION 5 - INSTALING AND CONFIGURING SERVER Manual de instrucciones Pagina 102

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 154
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 101
92 Lesson 3 Creating a Main Application Page
2 To format the currency and date fields on the Trips Search Results page, open the
tripsearchresult.cfm in your editor and make the same changes for
departureDate,
returnDate, and price as in step 1.
3 To alternate the background color of the rows of the search results table, delete the
table row tag
<tr> that immediately follows the <cfoutput
query="TripResult">,
and replace it with the following code:
<cfif CurrentRow Mod 2>
<cfset BackColor="White">
<cfelse>
<cfset BackColor="Yellow">
</cfif>
<TR /jointfilesconvert/448908/bgcolor= #BackColor#>
4 Save the files then open your browser and navigate to the tripsearch.cfm page in the
my_app directory. Again, enter Begins With and C in the location search criteria, and
click
Search.
The Trip Search Results page appears:
#price# #dollarformat(price)#
#baseCost# #dollarformat(baseCost)#
Existing code Change to
Vista de pagina 101
1 2 ... 97 98 99 100 101 102 103 104 105 106 107 ... 153 154

Comentarios a estos manuales

Sin comentarios