I'll try that ! thx :-)
On 29 mai, 15:17, rakugo wrote:
> jQuery can help you here.
>
> At the start of your macro you will probably want to do something like
> this...
>
> function setsize(place,canvas){
> var w = jQuery(place).width();
> var h = jQuery(place).height();
> canvas.width = w;
> va
jQuery can help you here.
At the start of your macro you will probably want to do something like
this...
function setsize(place,canvas){
var w = jQuery(place).width();
var h = jQuery(place).height();
canvas.width = w;
vanvas.height = h;
<>
}
I'd suggest you look at jQuery's window.resize functi