fireball20xl.com
So, you want to display your comics?

What you will learn:
A simple string of code you copy and paste to display comics with a drop down navigational menu as well as navigational buttons.

What you need:
- How to FTP into your site.
- How to use the "copy" and "paste" feature.
- Ability to produce .jpg and .gif images.
- A PHP enabled web-host

Credits:
Code written by Jen Irwin and posted with permission.

Getting started:
Before you can copy and paste anything you need to know some important information on the basic functions of how this works.

Your comic folder will have all the layout images, .php pages, and anything else you want.

Make 5 buttons, each much be exact spelling and file extension to display properly.
first.gif
next.gif
home.gif
back.gif
newest.gif

(The code works so that if you're on the first comic, the first and back buttons will not display. If you're on the newest comic, the newest button will not display. If you're on the 2nd comic only the back button will be seen. If you're on the next to newest comic only the next button will be seen. )

Make comics sub-directory and name it "comics". Not "Comics", not "comix", not "iluvtoroffle".
Just
"comics". If you don't it won't work and you will die. That's bad. :'(

All files in the "comics" sub-directory need to be three digits and ONLY the comics. (IE: 001.jpg, 002.gif, 003.png). The comic file extension can ONLY be any of the three listed. Flash is different from a static image and therefore will not work in this code.


Things to know:
You can put the code anywhere on any page. You pretty much make a "shell" of a layout to set the code in, and that shell will be repeated on every navigational page. You could put it on your main page with the news (as long as the news page is one file "up" from the "comics" folder) and they could navigate perfectly. However, the news would then be on every page while the end user was navigating.

Copy and paste the following to where you want your comics to show up:

Towards the bottom of the code I put:
"MAKETHISYOURHOMEPAGEURL", replace that with your home page url.

Just upload and you should be good! Thanks for reading!

~ Psy

Google
  Web fireball20xl.com