Oliver 22 December 2010 Sorry, but I have to ask again, because I’m interested in your opinion. Is there any reason, not to use something like this and wouldn’t it be a better solution as noscript users will still be able to see the images? <noscript data-hash=“124a03bd93eacc64f799527d8aea6233”> <img src=“http://www.gravatar.com/avatar.php?gravatar_id=124a03bd93eacc64f799527d8aea6233” /> </noscript> $(“noscript[data-hash]”).before(function(){ return “<img src=http://www.gravatar.com/avatar.php?gravatar_id=”+ $(this).data(“hash”)+”/>”; })
Sorry, but I have to ask again, because I’m interested in your opinion. Is there any reason, not to use something like this and wouldn’t it be a better solution as noscript users will still be able to see the images?
<noscript data-hash=“124a03bd93eacc64f799527d8aea6233”> <img src=“http://www.gravatar.com/avatar.php?gravatar_id=124a03bd93eacc64f799527d8aea6233” />
</noscript>
$(“noscript[data-hash]”).before(function(){ return “<img src=http://www.gravatar.com/avatar.php?gravatar_id=”+
$(this).data(“hash”)+”/>”;
})