PHP Classes

File: test_flip_link.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Classes of Peter Klauer  >  flip_link  >  test_flip_link.php  >  Download  
File: test_flip_link.php
Role: Unit test script
Content type: text/plain
Description: Demo
Class: flip_link
DHTML text link flipper
Author: By
Last change: Works with IE, Opera and Mozilla.
Changed the line containing "for IE only".
Date: 10 years ago
Size: 1,528 bytes


Class file image Download
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html><head><title> Test flip_link</title><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><style type="text/css">
a.white:active, a.white:link, a.white:visited { font-family: Verdana,Geneva,Helvetica; text-decoration: underline; color : #293d60; }
a.white:hover { font-family: Verdana,Geneva,Helvetica; text-decoration: none; color : #293d60; background-color: #ffff00 }
</style></head><body style="font-family:arial,sans-serif" bgcolor=white text=black link=navy vlink="maroon"><a href="" style="font-family:Comic Sans MS, sans-serif;font-size:17pt;"></a><br><br>This is a flip_link class demo file<BR>
Flip_link is a php script to generate text-only DHTML links.
The new version of flip_link is tested with Opera 7.54, IE 6.0 and Mozilla 1.72



include 'inc_flip_link.php';

$fl = new flip_link;


$fl->title='This link has a title';
$fl->text ='A link with a title';


$fl->text='A changed flip text with class';
$fl->flip='GO to!';


$fl->text='no class, but style';

$fl->text='i have my own id';