Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by rojas1mg

  1. rojas1mg

    Text Box Initial Value Font Color

    My apologies for not being clear. Have the default value, disappear when they click in it. rojas1mg - - - I love Tek-Tips and all members who reply.
  2. rojas1mg

    Text Box Initial Value Font Color

    That was fantastic. Is there anyway to make it disappear when the guest types in there? rojas1mg - - - I love Tek-Tips and all members who reply.
  3. rojas1mg

    Text Box Initial Value Font Color

    Hello. I'm wondering if there's a way to have a text box have a lighter font (lightgray) with a default value in it, however, once the user types in it, the default info disappears and as they type, it'll be normal black text. Thanks. rojas1mg - - - I love Tek-Tips and all members who reply.
  4. rojas1mg

    Creating a TV Guide advancing by day

    I got it. Here's my code. Thanks anyway. <cfoutput> <cfset today = "#now()#"> <cfparam name="thisday" default="#today#"> <cfset nextday = #dateadd("d",1,"#thisday#")#> <cfset lastday = #dateadd("d",-1,"#thisday#")#> <cfset datetoshow = "#thisday#"> <!---This query will get the current...
  5. rojas1mg

    Creating a TV Guide advancing by day

    I get the page to display the current date in the table and when I advance in the >>> or go back using the <<<, the date changes. However, my question lies in the query I guess. I can't get it to display the data for the date advanced or back. Help. rojas1mg - - - I love Tek-Tips and all...
  6. rojas1mg

    Creating a TV Guide advancing by day

    This could help. <cfoutput> <cfset today = "#now()#"> <cfparam name="thisday" default="#today#"> <cfset nextday = #dateadd("d",1,"#thisday#")#> <cfset lastday = #dateadd("d",-1,"#thisday#")#> <cfset datetoshow = "#thisday#"> <!---This query will get the current day's TV Guide---> <cfquery...
  7. rojas1mg

    Creating a TV Guide advancing by day

    I have an app that our Audio/Visual department uses to post their TV Guide. What I'd like to do is build a query that'll allow the user to click the Forward or Back buttons to view different days. Anyone create anything like this? rojas1mg - - - I love Tek-Tips and all members who reply.
  8. rojas1mg

    Updating Username Field on table based on current user logged in

    Please post your findings as others may encounter this very scenario. rojas1mg - - - I love Tek-Tips and all members who reply.
  9. rojas1mg

    Alternating Colors on &lt;TR&gt; throughout a CFLOOP

    Want to know what my problem was? I mistyped "lemonchiffon". That's all it was. Sorry to trouble everyone. If you were in my office, you would've heard a loud "DOH!". Thank you. rojas1mg - - - I love Tek-Tips and all members who reply.
  10. rojas1mg

    Alternating Colors on &lt;TR&gt; throughout a CFLOOP

    I've added the suggested items to my style sheet as follows: .primaryrow {background:lemochiffon} .secondaryrow {background:white} And my page as follows and it doesn't change anything. What am I doing wrong? <cfif billet.recordcount gt 0> <cfset allguests=""> <cfloop query="billet">...
  11. rojas1mg

    Alternating Colors on &lt;TR&gt; throughout a CFLOOP

    I do use CSS and was only using it for trial. Will update code to reflect the style sheet as it is FAR more powerful. rojas1mg - - - I love Tek-Tips and all members who reply.
  12. rojas1mg

    Alternating Colors on &lt;TR&gt; throughout a CFLOOP

    Forgot one important line of code: <CFIF CurrentRow MOD 2 is 1> <CFSET bgcolor = "white"> <CFELSE> <CFSET bgcolor = "lightgrey"> </CFIF> <TR bgcolor="#bgcolor#"> rojas1mg - - - I love Tek-Tips and all members who reply.
  13. rojas1mg

    Alternating Colors on &lt;TR&gt; throughout a CFLOOP

    Disregard. I found it in my CFMX Web Application Contruction Kit (Fifth Edition) book. <CFIF CurrentRow MOD 2 is 1> <CFSET bgcolor = "white"> <CFELSE> <CFSET bgcolor = "lightgrey"> </CFIF> rojas1mg - - - I love Tek-Tips and all members who reply.
  14. rojas1mg

    Alternating Colors on &lt;TR&gt; throughout a CFLOOP

    Is there a way to alternate colors (say, bgcolor = white and bgcolor = lightgrey) inside a CFLOOP when outputting to a table? Thanks. rojas1mg - - - I love Tek-Tips and all members who reply.
  15. rojas1mg

    Required Field only if other data exists

    Does anyone have a JS that can check data in a row to see if data exists and if it does, it requires a particular block to be completed? Here's the scenario..... I have a <table> and it contains multiple rows <TR>, now each row <TR> is not mandatory to complete, but if you enter something in...

Part and Inventory Search

Back
Top