Archive for the ‘Javascript’ Category

Invitation card creator with Prototype and Scriptaculous

Saturday, April 25th, 2009

I’ve created a demo demonstrating the feasibility earlier, the first one using jQuery and jQuery UI actually, although at the end I never used jQuery since Inviclub is created with Symphony and Symphony is using Prototype.... Read More

Detecting parent URL with AS3 and jQuery - redux

Friday, January 23rd, 2009

In an earlier article I spoke about changing the stage size based on the URL of the page that loads the ShockWave.


Well as it turns out the simple approach I outline there won’t work in IE7 for some reason (no don’t ask me why, I didn’t find any explanation no matter how much googling I did).... 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

Debugging Javascript in IE

Saturday, December 20th, 2008

I just found a great post on how to debug Javascript in IE.... Read More

Draggable & Resizable with Prototype and Scriptaculous

Sunday, December 14th, 2008

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

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

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

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