This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01BF9B04.3CBBD842
Content-Type: text/plain;
        charset="iso-8859-1"

Hi All,
 
I have encountered a couple opf problems, and would like to have some
answers
 
First, Is it possible to detect the screen size that a browser is running
on, and if so How?
Second, When using CFGrid to display data, how can you pass a hidden field
in the URL address of the HRef that is defined in for given Column?
 
    here is a sample of the code I'm using 
 
             <cfgrid name="OCS_Journeys"
            height="#GridHeight#" width="820" align="MIDDLE"
            sort="No" 
            font="Arial" highlighthref="No"
            griddataalign="CENTER" gridlines="Yes" 
            rowheaders="Yes"
            colheaders="Yes" colheaderalign="CENTER"
colheaderfont="#Application.appGridFontStyle#" 
            colheaderfontsize="#Application.appGridHeaderFontSize#"
            colheaderitalic="No" colheaderbold="Yes"
            bgcolor="Yellow" 
            selectmode="Single"
            maxrows="#GridRows#"
            sortascendingbutton="Ascending"
sortdescendingbutton="Descending">
      <!--- Set up the Grid headers --->
      <cfgridcolumn name="Journey_Id" header="Journey Id" Select="Yes"
Display="No">
      <cfgridcolumn name="Serv_Numb" header="Service" headeralign="CENTER"
dataalign="CENTER" fontsize="#Application.appGridFontSize#" Select="Yes"
href="OCS_ServiceDetail.cfm">
      <cfgridcolumn name="Comp_Brand" header="Brand" headeralign="CENTER"
dataalign="CENTER" fontsize="#Application.appGridFontSize#" Select="No">
      <cfGridColumn Name="STA_Date" Header="Date" HeaderAlign="CENTER"
DataAlign="Center" fontsize="#Application.appGridFontSize#" Select="No">
      <cfGridColumn Name="STA_Time" Header="   Due   " HeaderAlign="CENTER"
DataAlign="Center" fontsize="#Application.appGridFontSize#" Select="No">
      <cfGridColumn Name="From_Loc" Header="From" HeaderAlign="CENTER"
DataAlign="Center" fontsize="#Application.appGridFontSize#" Select="No">
      <cfGridColumn Name="Marker" Header="!" HeaderAlign="Center"
DataAlign="Center" fontsize="#Application.appGridFontSize#" Select="No">
      <cfGridColumn Name="Depart_Time" Header="Departs" HeaderAlign="CENTER"
DataAlign="Center" fontsize="#Application.appGridFontSize#" Select="No">
      <cfGridColumn Name="To_Loc" Header="To" HeaderAlign="CENTER"
DataAlign="Center" fontsize="#Application.appGridFontSize#" Select="No">  
      <cfGridColumn Name="Vehicle_Reg" Header="Vehicle Reg."
HeaderAlign="CENTER" DataAlign="Center"
fontsize="#Application.appGridFontSize#" Select="No">
      <cfGridColumn Name="Act_Arrive_Time" Header="Arrived"
HeaderAlign="CENTER" DataAlign="Center"
fontsize="#Application.appGridFontSize#" Select="No">  
      <cfGridColumn Name="Act_Depart_Time" Header="Departed"
HeaderAlign="CENTER" DataAlign="Center"
fontsize="#Application.appGridFontSize#" Select="No">  
      <!--- Put data into the Grid --->
      <cfLoop query="qryGet_Expected_Journey">
       <cfset Arrive_Date=#DateFormat(Time_Arrive,"DD/MM/YYYY")#>
       <cfset
Arrive_Time=#TimeFormat(Time_Arrive+createtimespan(0,0,dep_diff,0),"HH:MM")#
>
       <cfset Depart_Time=#TimeFormat(Time_Depart,"HH:MM")#>
       <cfset Incident="  ">
       <cfif dep_diff GT 0 or Incidents GT 0>
        <cfset Incident="D">
       </cfif>
       <cfgridrow
data="#Journey_Id#,#Serv_Nr#,#Comp_Brand#,#Arrive_Date#,#Arrive_Time#,#trim(
From_Loc)#,#Incident#,#Depart_Time#,#trim(To_Loc)#,#vehicle_reg#,#time_arriv
e_act#,#time_depart_act#">
      </cfloop>
     </cfgrid>
 
This will pass the data in serv_numb, but I also want it to pass the data in
Journey_id as well, without displaying the ID to the user. Has anyone got
any ideas
 
Thanks in advance.
 
 
Jason Lees 
National Express 
Email : [EMAIL PROTECTED] 
 


**********************************************************************
The information contained in or attached to this email is intended 
only for the use of the individual or entity to which it is addressed.
If you are not the intended recipient, or a person responsible for
delivering it to the intended recipient, you are not authorised to and
must not disclose, copy, distribute, or retain this message or any
part of it. It may contain information which is confidential and/or
covered by legal professional or other privilege (or other rules or
laws with similar effect in jurisdictions outside England and Wales).

The views expressed in this email are not necessarily the views of
National Express or Eurolines.  It's directors or employees make no representation
or accept any liability for it's accuracy or completeness unless
expressly stated to the contrary.

If you have received this email in error please forward to
[EMAIL PROTECTED]

This email message has been swept by Trend InterScan Virus Wall for the presence 
of known computer viruses.
**********************************************************************


------_=_NextPart_001_01BF9B04.3CBBD842
Content-Type: text/html;
        charset="iso-8859-1"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">


<META content="MSHTML 5.00.2314.1000" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN class=448312411-31032000>Hi 
All,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=448312411-31032000></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=448312411-31032000>I have encountered a 
couple opf problems, and would like to have some answers</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=448312411-31032000></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=448312411-31032000>First, Is it 
possible to detect the screen size that a browser is running on, and if so 
How?</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=448312411-31032000>Second, When using 
CFGrid to display data, how&nbsp;can you pass&nbsp;a hidden field in the URL 
address of the HRef that is defined in&nbsp;for given 
Column?</SPAN></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=448312411-31032000>&nbsp;&nbsp;&nbsp; 
here is&nbsp;a sample of the code I'm using </SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=448312411-31032000></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=448312411-31032000>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;cfgrid 
name="OCS_Journeys"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 
height="#GridHeight#" width="820" 
align="MIDDLE"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
sort="No" <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
font="Arial" 
highlighthref="No"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 
griddataalign="CENTER" gridlines="Yes" 
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
rowheaders="Yes"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
colheaders="Yes" colheaderalign="CENTER" 
colheaderfont="#Application.appGridFontStyle#"&nbsp;</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=448312411-31032000>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 
colheaderfontsize="#Application.appGridHeaderFontSize#"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 
colheaderitalic="No" 
colheaderbold="Yes"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 
bgcolor="Yellow" 
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
selectmode="Single"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 
maxrows="#GridRows#"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 
sortascendingbutton="Ascending" 
sortdescendingbutton="Descending"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;!--- 
Set up the Grid headers 
---&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;cfgridcolumn 
name="Journey_Id" header="Journey Id" Select="Yes" 
Display="No"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;cfgridcolumn 
name="Serv_Numb" header="Service" headeralign="CENTER" dataalign="CENTER" 
fontsize="#Application.appGridFontSize#" Select="Yes" 
href="OCS_ServiceDetail.cfm"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;cfgridcolumn
 
name="Comp_Brand" header="Brand" headeralign="CENTER" dataalign="CENTER" 
fontsize="#Application.appGridFontSize#" 
Select="No"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;cfGridColumn 
Name="STA_Date" Header="Date" HeaderAlign="CENTER" DataAlign="Center" 
fontsize="#Application.appGridFontSize#" 
Select="No"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;cfGridColumn 
Name="STA_Time" Header="&nbsp;&nbsp; Due&nbsp;&nbsp; " HeaderAlign="CENTER" 
DataAlign="Center" fontsize="#Application.appGridFontSize#" 
Select="No"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;cfGridColumn 
Name="From_Loc" Header="From" HeaderAlign="CENTER" DataAlign="Center" 
fontsize="#Application.appGridFontSize#" 
Select="No"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;cfGridColumn 
Name="Marker" Header="!" HeaderAlign="Center" DataAlign="Center" 
fontsize="#Application.appGridFontSize#" 
Select="No"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;cfGridColumn 
Name="Depart_Time" Header="Departs" HeaderAlign="CENTER" DataAlign="Center" 
fontsize="#Application.appGridFontSize#" 
Select="No"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;cfGridColumn 
Name="To_Loc" Header="To" HeaderAlign="CENTER" DataAlign="Center" 
fontsize="#Application.appGridFontSize#" 
Select="No"&gt;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;cfGridColumn 
Name="Vehicle_Reg" Header="Vehicle Reg." HeaderAlign="CENTER" DataAlign="Center" 
fontsize="#Application.appGridFontSize#" 
Select="No"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;cfGridColumn 
Name="Act_Arrive_Time" Header="Arrived" HeaderAlign="CENTER" DataAlign="Center" 
fontsize="#Application.appGridFontSize#" 
Select="No"&gt;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;cfGridColumn 
Name="Act_Depart_Time" Header="Departed" HeaderAlign="CENTER" DataAlign="Center" 
fontsize="#Application.appGridFontSize#" 
Select="No"&gt;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;!--- Put 
data into the Grid ---&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;cfLoop 
query="qryGet_Expected_Journey"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;cfset
 
Arrive_Date=#DateFormat(Time_Arrive,"DD/MM/YYYY")#&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;cfset
 
Arrive_Time=#TimeFormat(Time_Arrive+createtimespan(0,0,dep_diff,0),"HH:MM")#&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;cfset
 
Depart_Time=#TimeFormat(Time_Depart,"HH:MM")#&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;cfset
 
Incident="&nbsp; "&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;cfif 
dep_diff GT 0 or Incidents GT 
0&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;cfset 
Incident="D"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/cfif&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;cfgridrow
 
data="#Journey_Id#,#Serv_Nr#,#Comp_Brand#,#Arrive_Date#,#Arrive_Time#,#trim(From_Loc)#,#Incident#,#Depart_Time#,#trim(To_Loc)#,#vehicle_reg#,#time_arrive_act#,#time_depart_act#"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/cfloop&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/cfgrid&gt;</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=448312411-31032000></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=448312411-31032000>This will pass the 
data in serv_numb, but I also want it to pass the data in Journey_id as well, 
without displaying the ID to the user. Has anyone got any 
ideas</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=448312411-31032000></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=448312411-31032000>Thanks in 
advance.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=448312411-31032000></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=448312411-31032000></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=448312411-31032000></SPAN></FONT><B><FONT face=Tahoma size=2>Jason Lees 
</FONT></B><BR><B><FONT face=Tahoma size=2>National Express</FONT></B> 
<BR><B><FONT face=Tahoma size=2>Email : 
[EMAIL PROTECTED]</FONT></B> </DIV>
<DIV>&nbsp;</DIV></BODY></HTML>

------_=_NextPart_001_01BF9B04.3CBBD842--
------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to