I use css media queries for layout, or more recently Zurb Foundation or Twitter 
Bootstrap, the former is much more elegant/intuitive grid, but Bootstrap has 
sexier looking eye candy ref buttons.

However in this instance I need to load smaller set of jpgs for a slider viewed 
on a phone. jpg img paths are referenced from the db as the images 
uploaded/resized via a back office admin section.

I couldn't see how css media queries could conditionally control which images 
are being referenced by cf from the server db. Hence I needed the screensize 
values in cf session.

I guess the other approach would be to get the screensize from css, but its 
still going to require a redirect or form post to save the values in cf session.

> What got you into using Javascript as opposed to
> CSS3 Media Queries for Responsive web design?
> 
> Rick

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:353669
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to