Register |

Author Code Resources

Find developer resources,code sample,articles,blogs,project sample for creating application in various technology.
Programming Languages
Tech News and Resources

Recent Articles,blogs and code snippets


drag and drop only text of the li into textarea in jQuery

I have written various code snippets for drag and drop element from one to another including drag an element and convert it into another element and then drop with the help of jQuery. This time i will show you how you can drag text or value of the one element and append or insert this [...]

Text animation small to its full size in HTML5

  See the Demo.   <html> <head>     <title>Text small to big Animation</title>        <script type="text/javascript">        var can, ctx, step = 10, steps = 50;               delay = 20;                       function init() { [...]

Text fade in fade out effect in HTML5

  The following code example shows the text fade in and fade out effect on the canvas in HTMl5.

Text Animation in HTML5

You can create text marquee (i.e. scrolling text left to right and right to left on the canvas) and can create a text animation such as text rotation, text highlight etc. The article demonstrate the following text animations on the canvas. See the Demo.       All example, displays the text “Welcome” in the [...]

Text rotation and scale in HTML5

  The following code example demonstrates how to rotate and scale text on the canvas in HTML5.

Scrolling text left to right in HTML5

  The Following example demonstrates how to scroll the text left to right on the canvas in HTML5. The example does not use any CSS for marquee text. Try the example:

Scrolling text right to left in HTML5

  The Following example gives you an idea to scrolling the text on the canvas in HTML5. The example uses the save(), translate() and restore() methods to animate the text.

Text style and settings in HTML5 canvas

Text Alignment We can set the text alignment of the text by setting the context’s textAlign property. The valid values will be left, right, and center.

Draw Text on canvas in HTML5

  You can draw the text on the HTML5 canvas, for it we use the following JavaScript method:   fillText(text, x, y [,maxWidth]) method fills the text in the current fill style. strokeText(text, x, y [,maxWidth]) method outlines the text in the current stroke style.   Both methods uses the following arguments: text: The text [...]

Bezier curve in HTML5 canvas

  The bezier curve requires ending points and two control points and starting points will be current point. You can use the beginPath and moveTo methods to set a starting point.

More inside AuthorCode