Archive for the ‘Javascript’ Category

JavaScript Pop-under

Monday, January 23rd, 2012

I recently had to do a pop under with JS and found the below snippet (can’t remember where anymore), I might need it again so I post it here for reference.... Read More

PHP style empty function for JavaScript

Monday, December 5th, 2011

I often find myself wanting the empty() function of PHP in JavaScript, here it is:... Read More

Pulsating and glowing text with CSS3 and JavaScript

Tuesday, May 31st, 2011

The other day I needed to create an animated glow on some text. I quickly found the jQuery glow plugin but it didn’t work in Firefox 4.0.1, no idea why and I didn’t care to find out either.... Read More

How to style jqPlot, and format labels

Wednesday, May 25th, 2011
jqPlot dark style

I just had to style jqPlot for inclusion in a darkly styled site. Not the easiest as some things can be styled via CSS whereas some things need to be styled via the jqPlot options.... Read More

Why I used jqPlot for ChartBasket.com instead of Flot

Tuesday, March 29th, 2011

In general I consider Flot to be the more capable solution. But in the case of ChartBasket I wanted to setup something quickly and I didn’t need the more advanced stuff Flot makes available, for instance zooming.... Read More

JQuery trigger and JS Function Call revisited

Monday, November 29th, 2010

I just have to post this little code listing. It’s basically a mix between stuff detailed in two prior posts, Keeping it DRY with Function.call and jQuery toggle and Using jQuery’s trigger for automated interfaces. It is however much simpler than either of the prior posts and therefore makes for a better example.... Read More

Multiple File Uploads with XHR and PHP

Monday, October 25th, 2010

So the jQuery / Flash multiple file uploader has not really been working when it comes to heavy duty stuff “Flash player has crashed” is a common scenario after some six < 2MB pictures, problem is, it needs to be able to handle up to 50 of them.... Read More

jQuery Flash Banner rotator

Sunday, October 3rd, 2010

jquery_flash_banner_rotator.png... Read More

Hierarchical data with PHP and jQuery

Saturday, October 2nd, 2010
hierarchical-form.png

Demo here (go ahead and submit the form as much as you like, it will keep pre-populating with the data you submit).... Read More

Custom LightWindow with jQuery - from scratch

Friday, October 1st, 2010
jquery_custom_lightwindow.png

There are basically only a few things involved in the successful creation of a lightwindow:... Read More