Is there any reason for using WebGL instead of 2D Canvas for 2D games/apps?

Looking at this question from another side:how does a developer choose one technology over another? integrates better in their already built system is easier to use is faster has more capabilities or better suits their needs cost more platfrom-independant So I’ll discuss the differences between canvas and webGL APIs regarding these qualities. Both canvas and … Read more

Add image in title bar

That method will not work. The <title> only supports plain text. You will need to create an .ico image with the filename of favicon.ico and save it into the root folder of your site (where your default page is). Alternatively, you can save the icon where ever you wish and call it whatever you want, but simply insert the following code … Read more

How to show text on image when hovering?

It’s simple. Wrap the image and the “appear on hover” description in a div with the same dimensions of the image. Then, with some CSS, order the description to appear while hovering that div. A nice fiddle: https://jsfiddle.net/govdqd8y/ EDIT: There’s another option if you don’t want to explicitly set the height of the <img> on the wrapping <div>, and … Read more

jQuery Scroll to Div

Check this link: http://css-tricks.com/snippets/jquery/smooth-scrolling/ for a demo, I’ve used it before and it works quite nicely.