Esempio Online Anteprima
Sorgente PHP: examples/lightbox/iframe.php
Sorgente XML: examples/lightbox/iframe.xml
L'implementazione del famoso controllo lightbox per la visualizzazione di un frame.
<?php
/**
* PHP Source File
* @author Alyx Association <info@alyx.it>
* @version 1.0
* @copyright Alyx Association 2008-2010
* @license GNU Public License
*/
require_once("./../../class/system.class.php");
$system = new ClsSystem(true);
$xml = new ClsXML("iframe.xml");
$event = new ClsEvent($xml);
$event->managerRequest();
?>
<?xml version="1.0" encoding="utf-8"?>
<jamp>
<page typeobj="page" title="JAMP - Esempio iframe lightbox" icon="../../favicon.ico" loaddata="true">
<lightbox typeobj="lightbox" width="700" height="autosize" theme="blue">
<a typeobj="a" href="../format/format_text.php" rel="lightframe" rev="width: 600px; height: 400px;" text="iFrame" />
</lightbox>
</page>
</jamp>