Drawing lines with Processing
Wednesday, August 26th, 2009There are a few general things of note here:... Read More
There are a few general things of note here:... Read More
These days I’m working a lot with other people’s code, I just discovered that a selectbox whose currently selected option I want to retrieve the inner html from; has the same id as a table column higher up in the document. Great…... Read More
I just implemented fetching and displaying one’s Twitter feed in my feed reader (that I will be inviting people to use when/if I ever feel like it’s finished).... Read More
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
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
I just found a great post on how to debug Javascript in IE.... Read More
So my earlier drag and resize combination with jQuery never worked out OK due to the fact that Prototype and jQuery are not getting along. Collections of DOM elements won’t work in jQuery which pretty much makes the whole proposition useless.... Read More
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
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