Add something new to Virb:

Virb

Are you sure you want to delete that?

or Cancel

 

Posted on Jun 12, 2008

Free Javascript Snippets

Hey everyone!

Just wanted to pass along some code (PHP to be exact) to you all:

If ($time == "available"){
  switch ($meal) {
  case "breakfast":
    echo "Party at my place!!!";
    break;
  case "lunch":
    echo "Party at my place!!!";
    break;
  case "dinner":
    echo "Party at my place!!!";
    break;
  }
} else {
  echo "Try again next week.";
}

My buddy Nate Firth (also responsible for all my web hosting :) sent me this little script this morning. I thought it was super hilarious :) We have been trying to get some chill time for a while now, but we are both super busy with projects. I have been in my web design "cave" from 7am-10pm almost every day for the last month and a half. Trying to get stuff done.
I can't wait until June is over... I should have more free time then **crosses fingers.

Thanks again for the laugh Nate!

Hope you enjoy this script :) But in all seriousness, I will have some awesome javascript to share with you all once Firebolt is out. I have created a bunch of custom javascript for Firebolt, and lets just say my main inspiration was "Leopard". Yes, like Mac OS X. I love the new UI features in Leopard, so I wrote some javascript to bring similar functionality into Firebolt. So once I get some time (after the release) to package up the scripts... I will hand them over to you all :)

Remember to sign up for the Firebolt beta (released in a few weeks) if you haven't already: www.getfirebolt.com

Peace,
Drew



Loading comments...

Likes

Details

Viewed 69 times

© 2008 Drew Wilson

virb.com/t/663840
tweet!

Flag this text post!

Flag this text post as:

or Cancel

 

Advertisement

Flag this profile!

Flag this profile as:

or Cancel