<!DOCTYPE html PUBLIC>
<html>
<title>Example of fxHeight</title>
<?
include("../moo.class.php");
mooFxGenerator::initiate();
?>
<body>
<h3 id="stretcher1">Click on me to close the following para</h3>
<div id="stretched1" style="width: 400px;" >
When PHP parses a file, it looks for opening and closing tags, which tell PHP to start and stop interpreting the code between them. Parsing in this manner allows php to be embedded in all sorts of different documents, as everything outside of a pair of opening and closing tags is ignored by the PHP parser. Most of the time you will see php embedded in HTML documents, as in this example.
</div>
<h3 id="stretcher2">Click on me to close the following para</h3>
<div id="stretched2" style="width: 400px" >
When PHP parses a file, it looks for opening and closing tags, which tell PHP to start and stop interpreting the code between them. Parsing in this manner allows php to be embedded in all sorts of different documents, as everything outside of a pair of opening and closing tags is ignored by the PHP parser. Most of the time you will see php embedded in HTML documents, as in this example.
</div>
</body>
<?
$fo = new fxOpacity("stretcher1","stretched1", 500);
$fo->generate();
$fo2 = new fxOpacity("stretcher2","stretched2", 500);
$fo2->generate();
?>
</html>
|