Vote count:
0
$(document).ready(function(){ var s=0; $('#frame').children('img').each(function(){ var c=document.getElementById("myCanvas"); var ctx=c.getContext("2d"); var img=document.getElementById($(this).attr('id')); ctx.drawImage(img,s,10,$(this).width(),$(this).height()); s=s+$(this).width(); }); });
asked 30 secs ago
Aucun commentaire:
Enregistrer un commentaire