javascript

HTML Drag and Drop File Upload With PHP Backend

This one fought me, for hours yesterday. A client wanted drag and drop implemented for file on their server using the entire page as the drag and drop area. I'm leaving the resulting javascript and php here for those that might need it.

Social Networks Script Embeds

A quick note for 3rd party common embeds in async ways.

Tags: 

Client Side Geolocation

I put up a post a couple weeks ago that I would post a javascript solution to device geolocation, opposed to server side device estimation. Well, here's the promised part two. Device geolocation using the W3C javascript navigator object.

Asynchronous Javascript Loading

Or, how to avoid third parties slowing down your site loads

Read a good article today at http://engineeredweb.com/blog/non-blocking-script-loading-drupal/. It's a Drupal article, but really, it's good practice to avoid third party scripts linked in the body no matter the platform. Here's the code:

Tags: 

Pages

Subscribe to RSS - javascript