PHP Classes

File: class_rollover3.txt

Recommend this page to a friend!
  Classes of Peter Klauer  >  rollover2  >  class_rollover3.txt  >  Download  
File: class_rollover3.txt
Role: Documentation
Content type: text/plain
Description: about the new class rollover3
Class: rollover2
Generate javascript rollover buttons
Author: By
Last change:
Date: 13 years ago
Size: 538 bytes


Class file image Download
The successor of rollover2 omits the preload() function and the external javascript file which is no longer needed. Page code size and load time are reduced compared to rollover2.php. Easy output of every button with function putall($between) where $between is any html tag that will be repeated between the rollover button images. Works with javascript enabled browsers IE4+, Mozilla, Opera5+. 
Rollover3 will accept additional onMouseOver and onMouseOut javascript events. So it is compatible with my recently uploaded class "infobox".