MACROMEDIA COLDFUSION 5 - INSTALING AND CONFIGURING SERVER Manuale delle Istruzioni Pagina 102

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 154
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la 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
Vedere la pagina 101
1 2 ... 97 98 99 100 101 102 103 104 105 106 107 ... 153 154

Commenti su questo manuale

Nessun commento