Archive for the ‘Javascript’ Category
Thursday, June 7th, 2012
I just found this example of how to do multiple file uploads and showing progress too. This works with the normal file handling using $_FILE as opposed to my earlier example that used stream_copy_to_stream.... Read More
Tags: file upload, jquery, multi, progress, xhr2
Posted in Javascript, jQuery | No Comments »
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
Tags: Javascript, PHP
Posted in Javascript | No Comments »
Monday, December 5th, 2011
I often find myself wanting the empty() function of PHP in JavaScript, here it is:... Read More
Tags: empty, Javascript
Posted in Javascript | No Comments »
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
Tags: animation, glow, jquery, text
Posted in HTML + CSS, Javascript, jQuery | No Comments »
Wednesday, May 25th, 2011
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
Tags: css, jqplot, jquery
Posted in Javascript, jQuery | No Comments »
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
Tags: jqplot, jquery, PHP
Posted in Javascript, jQuery | No Comments »
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
Tags: Javascript, jquery
Posted in Javascript, jQuery | No Comments »
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.
Therefore I decided to check out the HTML5 alternatives and eventually found a really good one. I did have to make some modifications however, to make the solution fit with my own scenario and I detail them below.... Read More
Tags: file upload, PHP, xhr
Posted in Javascript, PHP | No Comments »
Saturday, October 2nd, 2010
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
Tags: jquery, PHP, recursion
Posted in jQuery, PHP | No Comments »