Monday, October 4, 2010

Rotating banner image for your website

Here's something a little different for today's post, a little web design feature that can add a little "pop" to your site, a rotating banner.
Creating a folder on your host.
A basic text editor (download Notepad++ because its awesome).
Uploading a PHP file to your host.

Make text file and rename it to rotator.php (make sure windows displayes your file types).
Now copy this code inside the file: 

 Save the file and upload it and some banners in a folder on your host (ie, ). Then change whatever you're referencing from the image to the php script. That's it!