You can get browser width with JavaScript, then add it to a hidden form 
field, URL parameter, or cookie to send it back to the server where you 
can do whatever you want with it.

On 10/7/12 1:30 PM, Terry Troxel wrote:
> Raymond,
> Thank you.
> It sure seems like we could use a way to capture the way media query doesw
> it so we could use it to our needs in CF.
> How about javascript?
>
> Tweet
>
> On Sun, Oct 7, 2012 at 12:00 PM, Raymond Camden 
> <[email protected]>wrote:
>
>> CSS is executed on the client. cfinclude on the server. So... no.
>>
>> On Sun, Oct 7, 2012 at 10:40 AM, Terry Troxel <[email protected]>
>> wrote:
>>> I am trying to get my head around some of this CSS3 and @media queries.
>>> Is there a way to incorporate a css media query to say change the
>> template
>>> name in a cfinclude?
>>>
>>> I am really liking the Responsive fluid layout scenarios in
>>> Dreamweaver CS6 , but would like to also change page content as well.
>>>
>>> Any links, suggestions would be greatly appreciated.
>>> Terry
>>>
>>>
>>>
>>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352865
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to