[whatwg] srcset javascript implementation (Respondu)
huperekchuno at googlemail.com
huperekchuno at googlemail.com
Mon May 21 00:19:38 PDT 2012
Hey Shaun,
Nope :)
Dave
Sent from my BlackBerry® smartphone on O2
-----Original Message-----
From: Shaun Moss <shaun at astromultimedia.com>
Date: Mon, 21 May 2012 09:32:46
To: David Clements<huperekchuno at googlemail.com>
Subject: Re: [whatwg] srcset javascript implementation (Respondu)
David, you didn't go to Burnside High School in Queensland perchance?
Cheers,
Shaun
On 21 May 2012 09:21, David Clements <huperekchuno at googlemail.com> wrote:
> Hi guys,
>
> Just to let you all know, I've written a javascript implementation of
> srcset using a framework for responsive images (which I also wrote)
> called Respondu (I'm open to new name suggestions), I'd love it if someone
> could check that I've implemented srcset right.
>
> Respondu manages to process the DOM without allowing any assets (contained
> in the body) to load, it also gracefully degrades for non-js
> browsers and is fairly unintrusive (it simply wraps the contents of the
> body tags).
>
> Check out the github page (feedback, pull requests, lunch money etc.
> welcome)
>
> https://github.com/davidmarkclements/Respondu
>
> You can also see working examples at
>
> http://respondu.davidmarkclements.com/
>
> The framework, and srcset implementation are currently in alpha - its not
> presently compatible the document.ready et. al., however
> you can simply put scripts at the bottom of the body instead (which is best
> practice in most cases anyway).
>
> So far, it's tested and works in ie8, chrome, firefox, and iOS safari.
>
> Let me know if it works/doesn't work in other browsers!
>
> All the best,
>
> Dave
>
More information about the whatwg
mailing list