PHP Classes
elePHPant
Icontem

File: examples/fxAccordion.example.php

Recommend this page to a friend!
  Classes of Hasin Hayder  >  MooFx Generator  >  examples/fxAccordion.example.php  >  Download  
File: examples/fxAccordion.example.php
Role: Example script
Content type: text/plain
Description: fxAccordion Example
Class: MooFx Generator
PHP wrapper to MooFx JavaScript effects library
Author: By
Last change:
Date: 13 years ago
Size: 1,409 bytes
 

 

Contents

Class file image Download
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<title>Example of fxHeight</title>
<?
include("../moo.class.php");
mooFxGenerator::initiate();
?>
<body>
<h3 class="stretcher">Click on me to close the following para</h3>
<div class="stretched" 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 class="stretcher">Click on me to close the following para</h3>
<div class="stretched" 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>
<?
$fa
= new fxAccordion("stretcher","stretched",500,true, true, false, transition::FX_SINEOUT );
$fa->generate();
?>
</html>