Posts tagged with ''

JavaScript - Count Array

July 4th, 2007

I’m a PHP man myself however I’ve been playing around with JavaScript a lot lately since I’ve been creating the CRM for our web design company…

A cool little trick I learn’t today (I couldn’t find the answer easy enough in Google so I just figured it out myself) is how to count an array using JavaScript.

In PHP you’d simply write:

<?php
$myarray = array(’red’, ‘green’, ‘blue’);
echo count($myarray);
?>

This is how you do it in JavaScript:

Read the rest of this entry »

25 Code Snippets for Web Designers

March 10th, 2007

This is a nice list of html, css, javascript and ajax scripts. You are bound to find something new.

The one that stood out to me was the sIFR. It replaces peices of text with any font you want even if the font is not installed on a visitors computer. It’s also SEO friendly… We all like that part.

25 Code Snippets for Web Designers

dhtmlgoodies.com - A library of DHTML and AJAX scripts

July 17th, 2006

A friend of mine sent me a link to dhtmlgoodies.com a while back but I’ve never really had a decent look at the site.

Last night I finally went through some of the scripts and I have to admit they are all pretty awesome. What is best is that most if not all the script work in all the major browsers. This is a great resource for software developers and website owners.

My favourite DHTML scripts have to be the drag and drops. They are fantasic! I’m definately implementing some of these into my scripts.