Archive for September, 2008

Smushit.com makes image optimizing a breeze

We’ve heard a lot about optimizing CSS, HTML and JavaScript but one thing that is less talked about is how much extra information image editors put into image files. You might think you’ve done a great job optimizing your GIFs, PNGs and JPGs while still keeping them visually pleasing but when you use a text [...]

I like big…… targets

BigTarget.js is a new little jQuery plugin that makes bigger targets for users:

Wrapping a single anchor around the whole content (title, thumbnail, summary) is a bad idea as it’s not standards compliant and renders the page invalid. So I turned to my good friend jQuery and threw together the following plugin using the ‘Learning jQuery’ [...]

This Week in HTML 5: Clickjacking

Mark Pilgrim, in his latest episode on This Week in HTML 5, got into an interesting topic indeed: clickjacking.

The big news this week is the disclosure of a vulnerability that researchers have dubbed “clickjacking.” To understand it, start with Giorgio Maone’s post, Clickjacking and NoScript. Giorgio is the author of the popular NoScript [...]

Report and Case Study on CSRF

Bill Zeller and Ed Felten have published a report on Cross-Site Request Forgery attacks on popular Web sites:

We found four major vulnerabilities on four different sites. These vulnerabilities include what we believe is the first CSRF vulnerability that allows the transfer of funds from a financial institution. We contacted all the sites involved and gave [...]

Dojo Fishtank

Blaine Ehrhart wrote a fun little fish tank using Dojo, as another example of doing animation using JavaScript, which includes the following to give you a taste:
PLAIN TEXT
JAVASCRIPT:

 

function playBubble (target,newbubble) {

        var top = parseInt(target.style.top);

        var left = parseInt(target.style.left);

        var rand = 50+Math.round(50*Math.random());

        [...]

ZAP: Same timeline for effects across browsers

Mikael Bergkvist was frustrated with how effects in different browsers were far from uniform. They could run around in a modern browser, and lag on old ones. In general many effects seem to be far from smooth, and we have talked about the need to have a Timer thread that you can tie into to [...]

iPhone Safari 3D Navigation Menu

Ben Putman has put together a nice iPhone Safari 3D navigation menu example that shows off the transforms and events available on the latest mobile Safari.
Ben told us:

In thinking of an interesting test, I’ve created a menu that you can rotate across a fixed y-axis with touch, allowing you to spin the menu around [...]

CSS Systems: Maintaining your style

Natalie Downe gave a talk at BarCamp London on CSS Systems as a wait to maintain your style. She goes into details on how she goes about setting up her CSS on a project:

A CSS System is a reusable set of content-oriented markup patterns and associated CSS created to express a site’s individual design. It [...]

Avoid this tricky conflict between ASP.NET AJAX and jQuery

One example of how ASP.NET AJAX can conflict with jQuery’s plugins, due to its modification of some JavaScript base types, and how to fix the problem in this particular case.

jQuery finds its way into Microsoft and Nokia stacks

Just as jQuery kicks off its first jQuery conference adjunct with The Ajax Experience in Boston tomorrow, it gets an energy boost from some big double-barrel news:
Microsoft and jQuery

Microsoft is looking to make jQuery part of their official development platform. Their JavaScript offering today includes the ASP.NET Ajax Framework and they’re looking to expand it [...]