How to resize a canvas using javascript.
By ashish kumar
02 Sep 2015 03:33
English
3 Replies
in html page
<canvas id="box2" style="border:1px solid red;position:absolute;width: 50%;height: 50%;left:15%;top:8%;background-size:100% 100%;"></canvas>
this is canvas then i want to resize using javascript in tizen using only %.how to resize.
this is my jquery function.
$("#backgrd1").click(function() {
var tmp = document.getElementById('box2');
});
View Selected Answer
You must log in to use this service. Log in now?
The tag you entered already exists.
Do you want to report this post as spam?
The post has been reported as spam.
cannot be empty.
Are you sure you want to cancel and return to the list?
The code has been copied to the clipboard.
Enter a title.
All Categories
General Support
Tizen .NET
Web Application Development
Native Application Development
SDK & IDE
--------
--------