Location: PHPKode > projects > Blackwolf CMF > projectBlackWolf/demo/sub_component.php
<?php
/* Please see the README and LICENSE files. */

/*
 *  Example of using non-main parts
 */
require("../lib/main.php");
?>

This shows how different types of content can be loaded within the same 
framework.<br/> Here, this demo page is loaded upon the user's request for the 
page. The box below, an iframe element, indicates a different file, which only 
loads that small component. Each component can behave pseudo-independently.

<br/>
<iframe src="6/sync_ctrl.php" frameborder="0" style="display:block;width:60%;height:130px;margin:0px auto;" name="frame"></iframe>
<br/>

This page is not required to reload when the inner iframe element does.<br/>
<a href="6/sync_ctrl.php" target="frame">Reload child<a>
Return current item: Blackwolf CMF