Show Today’s Date with JavaScript

Want to display today's date on your website or blog? This is super simple and written about everywhere but since I had to write this code today for another website I'll publish it here in case it helps someone. I wrote one small js function and then when the page loads it loads the function using "body onload" call and the JavaScript function figured out today's date and writes the date into a ...

Tags:

10 Cool Games for MAC that are Free

Free Games for your Apple Computer One thing that sucks about having a MAC is not being able to play all the good games. But, there are many games you can play on the MAC. Here are 10 games that can be downloaded for free and enjoyed immediately. Cube - Nice first-person shooter. Marathon: Aleph One - Engine for Bungie’s free FPS series Marathon. Play online, solo play with rich original story, many total conversions and ...

Tags:

,

Six Ways of Redirecting Visitors to a New Page

PHP, JavaScript, META and Htaccess Redirection Do you need to redirect your users to another page? There are a six different ways you can get it done, two methods using PHP, two methods using JavaScript, and one way using META Refresh or via htaccess file. There are different reasons for using different methods. Here is the code with some explanations: 1. Direct PHP Redirect: This is a direct redirection using server side PHP ...

Tags:

,

,

Alternative Pinging Tools For Blogs

Ten "One Click" Services for Pinging Pinging services notify many "ping servers" that your blog has new material. I run WordPress on many sites, so when I make a post it automatically connects to Pingomatic and let's others know about my new articles. If you don't have WordPress, or if Pingomatic is very slow, there are other alternatives. If the ten below are not perfect for you, check out this simple Perl Script ...

Tags:

,

,

JavaScript Countdown Clock Script

JS Count Down Timer Code for your Website I needed a JavaScript counter for a website that counts down to a time, can be configured to a target date, and has lots of customizations like display format, foreground and background colors, etc. I found a pretty good script somewhere online but I needed the counter to stop at zero and then print out something like "done". So, I modified the script and I am ...

Tags:

,

sIFR Plugin for WordPress: wpSifrLite

Typography for WordPress via sIFR Ever wanted to have some nice fonts in your blog that work across all browsers and do not affect SEO? sIFR allows you to this and today I decided to write my first plugin that will allow you to quickly add sIFR to your WordPress blog. I decided on using sIFR Lite instead of the full version because it's way smaller and faster. How does sIFR work? Let's say ...

Tags:

,

,

,