leff

Mr. Webpage

a blog about putting content on the web

Posts tagged with "javascript"

Tuesday 22nd May, 2012
Looks cool. has anybody tried it? (via Handlebars.js: Minimal Templating on Steroids)

Looks cool. has anybody tried it? (via Handlebars.js: Minimal Templating on Steroids)

Monday 21st May, 2012

Cutting the mustard

responsivenews:

The browser is a hostile development environment and supporting a wide range of desktop browsers can be tough work.

One of the immediate challenges we discovered when we first started the responsive news prototype was the large range of devices that we would have to support. It terrified us. This article is about a solution we use to alleviate this problem.

Read More

Monday 16th January, 2012
Tuesday 1st November, 2011
Tuesday 6th September, 2011
The article describes a pretty little technique, though it does expose a certain gap in CSS/JS. An array of stylesheets, each containing an array of rules, is a terrible abstraction. It leads to the keyframes = stuff you see in the screenshot: generating CSS as text. It would be nice to have a dynamic css class definition library.
On the other hand, if the world had a dynamic css class definition library, the first thing to happen would be it’s horrible horrible abuse. Every event (hover, click, keypress) would cause the entire page to redraw. IE would just melt down. In short, pandemonium. So maybe it’s best we just continue to specify every browser’s styles in our static css files.
(via Detecting and generating CSS animations in JavaScript)

The article describes a pretty little technique, though it does expose a certain gap in CSS/JS. An array of stylesheets, each containing an array of rules, is a terrible abstraction. It leads to the keyframes = stuff you see in the screenshot: generating CSS as text. It would be nice to have a dynamic css class definition library.

On the other hand, if the world had a dynamic css class definition library, the first thing to happen would be it’s horrible horrible abuse. Every event (hover, click, keypress) would cause the entire page to redraw. IE would just melt down. In short, pandemonium. So maybe it’s best we just continue to specify every browser’s styles in our static css files.

(via Detecting and generating CSS animations in JavaScript)

Friday 17th June, 2011
Monday 13th December, 2010
Tuesday 12th October, 2010
Tuesday 31st August, 2010
I had an idea this morning that Raphaël would be perfect for. Now to find the time…
Raphaël—JavaScript Library (via ajaxian)

I had an idea this morning that Raphaël would be perfect for. Now to find the time…

Raphaël—JavaScript Library (via ajaxian)

Mr. Webpage is also