Posts Tagged ‘jquery’

jQuery debug plugin – print_r style output

Saturday, July 11th, 2009

The other day I was searching for some Javascript that could output objects and stuff in a similar fashion to PHP’s print_r function, with indentation and all. In the end I ended up combining two different scripts, a simple one that focuses mostly on the presentation, and one that focuses more on the true recursiveness that is required.... Read More

SEO Tools, my first Ruby on Rails application

Wednesday, April 29th, 2009

So for the last two days I’ve completed my first RoR application that is actually used by somebody, my SEO colleagues to be more precise, their first wish was a script that would make it much easier to submit links to link directories, that and an article spinner.... Read More

jQuery Galleria with MODx multi-lang snippet

Monday, March 9th, 2009

The other day I wanted to try out jQuery Galleria, it didn’t work out of the box with jQuery 1.3.2. Galleria is using the old style @ syntax which doesn’t work anymore. You basically have to go through the whole plugin and replace lines like this:... Read More

Changing Flash stage size from ActionScript

Sunday, January 4th, 2009

Changing the stage size can’t really be done in a pure sense just with AS, unfortunately.... Read More

jQuery with LightWindow and Prototype JS

Thursday, November 27th, 2008

What a day yesterday was. Supposedly if you do the whole jQuery no conflict stuff it will be able to play ball with Protoype.js, not true. I wanted to retrieve the value of the currently selected option in a select box with jQuery but for some reason all that monkey patching going on in Prototype just tripped it up.... Read More

Upload in IFRAME, update parent document with Ajax and jQuery

Sunday, November 23rd, 2008

Because of all the recent problems with Flash uploading I just opted for uploading in an IFRAME. The IFRAME will reload itself when the upload is finished. When this happens it will trigger a jQuery JavaScript that will update a DIV in the document that contains the frame. It’s really easy, the below example is from a Symfony project so we can’t use the $ sign because it will conflict with the prototype library.... Read More

jQuery UI draggable and resizable combination

Wednesday, November 12th, 2008

I’ve just taken a look at how a rich interface for creating invitations could be created with jQuery UI’s draggables and resizables.... Read More

Flash 10 and jQuery multi-file uploader

Friday, October 31st, 2008

Update: I’m not using flash for uploads anymore, XHR is better and more stable if you can require users to use at least Chrome 6 or Firefox 3.6 for instance.... Read More

jQuery plugin – HTML decode and encode

Tuesday, October 21st, 2008

I just found myself having encoded HTML within parts of the DOM (don’t ask me why) and I thought it would be cool to be able to parse it and encode/decode the parts where it’s needed. ... Read More

jQuery – sorting DIVs by date

Saturday, October 18th, 2008

I just had to sort a list of DIVs by date with the newest date first. To add complexity to the problem the dates could be either in Atom or RSS2 format. The sorting itself is done with TinySort. A really useful little library.... Read More