Code HTML Nâng Cao thiết kế Web Chuyên Nghiệp:
- Cách chuyển đổi Canvas – Vietnamese (áp dụng với mầu theme dùng Canvas):
+ theme of web -> Js -> Cufon-yui.js -> :
var c=document.getElementById("myCanvas");
var ctx=c.getContext("2d");
ctx.font="30px Arial";
ctx.fillText("Hello World",10,50);
and other part:
Default value:
|
10px sans-serif
|
JavaScript syntax:
|
context.font="italic small-caps bold 12px arial";
|
Code HTML Nâng Cao. |