Archive for 'Javascript'

Website of the day : downloadify.info

Why?
Because “Downloadify is a tiny JavaScript + Flash library that enables the generation and saving of files on the fly, in the browser, without server interaction.”

You can generate in the client side, with no server interaction files that can be saved on the user’s computer.
Think about this:
Downloadify, a clientside persistent storage script ( like persistjs [...]

Twitter on your site via javascript

Twitter needs no presentation, and the fact that many webmasters include their posts on their sites either. This can be done in may ways, using  the Twitter API. One easy way is javascript. Thanks to some libraries you need few lines of code, and, because all is client-side you have  zero load on the server.
The [...]

Graph scripts – part 1 – javascript

Today I will try to add more resources on the Javascript graphs utilities to create attractive and more intuitive data sets presentations( graphs ).
RGraph
HTML5 – graph library – yes HTML5 so IE users – change your browser, or use google frame. The library uses the latest CANVAS features and is fully documented on the site. It has [...]

Good for you you’re coding accessible websites, but do you actually know any blind user?

What can you answer to your client when you try to explain that your code is W3c, semantic, crossbrowser and…accessible and your client asks you “Good for you you’re coding accessible websites, but do you actually know any blind user?” Meaning, why should someone care about how you code a site as long as [...]

Clientside validation for accessible forms with mootools

As we discussed in a previous article about forms -Basic copy-paste accessible contact form -  we made the form validation accessible using a class that will highlight and point to the elements that need to be filled or corrected in case the validation failed.
Now, the only weak point form the user’s point of view is the [...]

LAB.js – a nifty little javascript loader

LAB.js (Loading And Blocking JavaScript) allows you load in parallel your js scripts , speeding up the process ( sometimes a lot). But also it can force that scripts are loaded in a certain order, so this way no dependencies are broken.
The developer declares a 2x speed improvement on his site.
On an ondevelopment project , [...]

Mootools – browser sniffing

I know, I know, browser sniffing is a bad habit and it should not be used, but still, there are cases when you will want to display a message to the user (ordinary users, that don’t hack their’s browser navigator.userAgent), or you really need to know what browser is.
For example Chrome. Is ok, is webkit, [...]

Unobtrusive PHP ?

Strange? 
What do you say, if we use this term for a form validation, server side? I say “Unobrusive PHP” because is what I know, but it can be any other language.
Let me explain:
We already do this in javascript. We attach a class to a field we want to validate, then, when the user try to [...]

Textmate – check your JavaScript syntax

Following the previous post, we will see today how to check the syntax for JS.
In this case we will need a bundle wrote some time ago by Andrew Dupont here. (read the article , scroll down and download the bundle). 
Install the bundle.
In this moment you are almost good to go, as the bundle is set to [...]

Kroppr – v1.2 update

We updated our online cropping script Kroppr, to version v1.2

This version fixes some problems for certain servers configuration:

– servers that do not allow to write the cropped image into the cache folder, due to a server configuration setting,

– servers with magic_quotes_gpc set to On.