Posts Tagged ‘excanvas’
Lazy loading excanvas.js
Posted Thursday, March 12th, 2009.
Filed under JavaScript, web design with the tags excanvas, JavaScript
I started by developing an HTML example page that used the canvas element and had the excanvas.js file hard-coded. Everything worked as planned. I then took out the hard-coded excanvas.js file and replaced it with a JavaScript-based lazy loader. Guess what? It didn’t work. A simple modification to the excanvas.js file fixed the problem.
Image-Free Progress Bar using MooTools and Canvas
Posted Friday, March 6th, 2009.
Filed under General, JavaScript with the tags canvas, excanvas, JavaScript, mootools, ProgressBar class, Rectangle class
As part of my ongoing experiments with <canvas>, I decided to convert an image-based progress bar to an image-free canvas-based system. I just finished whipping up a proof-of-concept; it uses MooTools to generate the canvas and CSS code. No images were harmed in the making of this progress bar.
More info later (time permitting)
Custom modal windows using canvas and MooTools
Posted Tuesday, February 24th, 2009.
Filed under JavaScript, web design with the tags canvas, excanvas, JavaScript, MochaUI, Modal class, mootools, Rectangle class, WAI-ARIA
I’ve built a simple modal window class named Modal using MooTools. This class combines a dynamic canvas drawing API (my Rectangle class) with dynamic DOM element generation to create on-demand modal windows using no external images. My goal was to make this about as easy to use as a normal JavaScript alert, prompt or confirm window.