on Aug 9th, 2008Get the filename from upload form using Javascript

I needed a way to access the filename of a file being uploaded or attached using the input file from a form. So, I created a nice little function to achieve this. Hopefully it comes in handy for someone.

function get_name_from_path(str_filepath) {     var obj_re = new RegExp(/([^\/\\]+)$/);     var str_name = obj_re.exec(str_filepath);     if (str_name == null)     {         return null;     }     else     {         return str_name[0];     } }
Bookmark This

on Jul 27th, 2008Javascript - Capitalize Each Word in a String

This is a great little function that I use to capitalize every word in a string.

function wordToUpper(str_sentence) {     return str_sentence.toLowerCase().replace(/\b[a-z]/g, convertToUpper);     function convertToUpper()     {         return arguments[0].toUpperCase();     } }
Bookmark This

on Jul 23rd, 2008Brusheezy - index of Free Photoshop Brushes

Brusheezy - index of Free Photoshop Brushes

Brusheezy is a place for artists to download and vote for the best custom Photoshop Brushes and photoshop patterns on the internet! This site is updated every day with new Brushes for Photoshop so check back often!

Bookmark This

on Jul 22nd, 2008Vecteezy - index of Free Vector Graphics

Vecteezy - index of Free Vector Graphics

Vecteezy is an index of Free Vector Graphics available for download by some of the best artists around the world. The site is updated every day, so be sure to check back often.

Bookmark This

on Jul 21st, 2008Datejs - An Open-Source JavaScript Date Library

Datejs is an open-source JavaScript Date Library. Comprehensive, yet simple, stealthy and fast. Datejs has passed all trials and is ready to strike. Datejs doesn’t just parse strings, it slices them cleanly in two.

// What date is next thrusday? Date.today().next().thursday();   // Add 3 days to Today Date.today().add(3).days();   // Is today Friday? Date.today().is().friday();   // Number fun (3).days().ago(); // 6 months from now var n = 6; n.months().fromNow();   // Set to 8:30 AM on the 15th day of the month Date.today().set({ day: 15, hour: 8, minute: 30 });   // Convert text into Date Date.parse(‘today’); Date.parse(‘t + 5 d’); // today + 5 days Date.parse(‘next thursday’); Date.parse(‘February 20th 1973); Date.parse(‘Thu, 1 July 2004 22:30:00);
Bookmark This

on Jul 18th, 2008MooCrop - A Mootools Image Cropping utility

MooCrop - A Mootools Image Cropping utility

MooCrop is an Image Cropping utility using the amazingly powerful Mootools Javascript framework. Alone it serves no practical purpose but used in conjunction with a server side script becomes a powerful image manipulation tool.

Bookmark This

on Jul 17th, 2008Magento - Powerful Open Source E-Commerce Software

Magento Commerce

Magento is the open-source eCommerce solution that promises to revolutionize the industry. It’s modular architecture and unprecedented flexibility means your business is no longer constrained by your eCommerce platform. Magento is total control.

Bookmark This

on Jul 16th, 2008jobberBase - Free Job Board Software

jobberBase - Free Job Board Software

jobberBase based on the popular Romanian Job Board Jobber, is an open source job listing software which is great for creating a single-industry job board.

Bookmark This

on Jul 15th, 2008A configurable, AJAX file browser plugin for jQuery.

jQuery File Tree

jQuery File Tree is a configurable, AJAX file browser plugin for jQuery. You can create a customized, fully-interactive file tree with as little as one line of JavaScript code.

Currently, server-side connector scripts are available for PHP, ASP, ASP.NET, JSP, and Lasso. If you’re a developer, you can easily make your own connector to work with your language of choice.

Bookmark This

on Jul 13th, 2008Alt Image Attribute Usage - Hear It From Google

Dont’ forget your alt tags! Not only does it provide valid XHTML coding standards but, it adds another layer of keywords that can be added to your page to help improve SEO. Images used in websites that have keywords in the alt tags provide Google with information regarding to what the image is if, they are used right.

Matt Cutts, the head of Google’s web spam team describes which ones are important in this video:

Bookmark This