Source for file Frame.class.php
Documentation is available at Frame.class.php
* For including this file you have to define the constant "CLASSPATH".
* Because every include in the framework depends on the CLASSPATH definition.
* The CLASSPATH means the relative path to the folder that contains the
echo "<h3>You have to define the constant CLASSPATH!</h3>\n";
echo "Example: define( 'CLASSPATH', '../path/to/classes/' );\n";
* Including the basic class of all HTML-tags.
require_once( CLASSPATH. "html/HTMLLayer.class.php" );
require_once( CLASSPATH. "html/JavaScript.class.php" );
* A class to generate "<div>"-Layer based inline Window.
* @author Daniel Plücken <daniel@debakel.net>
* @license http://www.gnu.org/copyleft/lesser.html
* GNU Lesser General Public License
* @copyright Copyright (c) 2006 Daniel Plücken <daniel@debakel.net>
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License.
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
* You should have received a copy of the GNU Lesser General
* Public License along with this library; if not, write to the
* Free Software Foundation, Inc., 59 Temple Place, Suite 330,
* Boston, MA 02111-1307 USA
* @var HTMLLayer $title_layer
* @var HTMLLayer $content_layer
* @var boolean $bool_hold_centred
* @author Daniel Plücken <daniel@debakel.net>
* @param string $title The value of the name- and id-attribute of this
* @param string $content The content of the frame body.
function Frame( $title, $content )
* Sets the height of this title layer.
* @author Daniel Plücken <daniel@debakel.net>
* Sets the background color of the title layer.
* @author Daniel Plücken <daniel@debakel.net>
* Set the value of style definitions in the title layer that are not handled
* by implemented methods.
* @author Daniel Plücken <daniel@debakel.net>
* Sets the height of this body layer.
* @author Daniel Plücken <daniel@debakel.net>
* Sets the background color of the body layer.
* @author Daniel Plücken <daniel@debakel.net>
* Set the value of style definitions in the body layer that are not handled
* by implemented methods.
* @author Daniel Plücken <daniel@debakel.net>
* Set the flag to hold the frame in the middle of the browser window.
* @author Daniel Plücken <daniel@debakel.net>
* Returns a generated string based on the attributes of this object.
* @author Daniel Plücken <daniel@debakel.net>
function holdJSCODE $this->id<<<JSCODEOnCenter()
setInteval( "holdJSCODE $this->id<<<JSCODEOnCenter()", 1 );
|