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.
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...
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...
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.
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.
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">...
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.
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.
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.
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.
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.