Posts Tagged ‘Javascript’

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

Detecting Flash player version with JavaScript

Thursday, November 20th, 2008

The other day I needed something to check which version of flash player a user has. It’s all connected to the new problems with uploading that were introduced in Flash player version 10. For some reason the solution we are using needs to know if the player is of version 10 or lower in order to act accordingly. For some reason this will solve a problem with IE6 having a player version lower than 10, don’t ask me why, I’m not the one implementing this. My only mission was to detect version.... Read More

Just Java AJAX!

Monday, November 10th, 2008

Followed by “AJAX in Java alone! JavaScript coding not required. Try it.” states an Adsense ad. ... Read More

Prototyping with JavaScript

Thursday, October 23rd, 2008

I think I’ve finally managed to get a handle on prototyping with JavaScript, after all that lisping and jQuerying it turned out to be a formality in the end. I have to thank Steve for finally getting my ass off the couch though.... 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

Integrating with jQuery - Adding Pagination

Tuesday, September 30th, 2008

This stuff can be seen as a continuation of an earlier tutorial integrating external search into a MODx site, i.e. a standalone search logic separate from MODx. This approach is however not limited to any kind of CMS or solution whatsoever, it’s totally agnostic through the use of Ajax. ... Read More

Image popups with jQuery

Monday, September 8th, 2008

... Read More

Adding search with jQuery and Check Boxes

Monday, August 25th, 2008

Asian Diving Vacation search function... Read More

jQuery Treeview with MODx Wayfinder

Sunday, July 6th, 2008

I’ve begun creating a site for a friend of mine who will sell diving, Asian Diving Vacation (please don’t bitch about the way it looks at this point, it’s a work in progress, the only reason I’m linking to it at this point is because there is also a lot of bitching about demos going on, so here you go demo freaks) . I’m using MODx because it simply rocks for the purpose, we don’t need any strange modules that would require something from the giant repositories of Drupal or Joomla.... Read More