Login   Register  
PHP Classes
elePHPant
Icontem

File: doc.txt

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Stanislav Karchebny  >  Simple banner rotator  >  doc.txt  >  Download  
File: doc.txt
Role: Documentation
Content type: text/plain
Description: Description
Class: Simple banner rotator
Text-Files-Based Banner Rotator
Author: By
Last change: - minor fix
Date: 12 years ago
Size: 394 bytes
 

Contents

Class file image Download
Simply create directory for banners, 'banners' by default. Drop all banner files in there. Then use <img src="<?=BannerR::rotate()?>"> wherever you want your banner placed.
Future version will let you specify directory to pick banners from, so that you can separate banners with different sizes. Also, support for "show-count" will be added, so each banner will be shown given amount of times.