For you responsive web designers: excellent post from 24 ways, by Jeremy Keith —
Need to keep your site friendly for mobile devices, and yet load rich content for devices that can handle it? Employ an
if statement in your script.
Very simple to implement. Excellent how to and demo included.
“If I only want to run that search when there’s room for a sidebar, I can wrap it in an if statement.”
“If the browser is wider than 640 pixels, that will fire off a search for news stories about cats and put the results into the newsresults element in my markup.”
One thought on “Conditional Loading for Responsive Designs — 24 ways”
I have read this post and if I could I wish to suggest you some interesting things or tips. Let’s have Silver Bracelet http://www.seohm.com/forum.php?mod=viewthread&tid=159013