Login   Register  
PHP Classes
elePHPant
Icontem

File: example/welcome.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Cesar D. Rodas  >  Auto Ajax  >  example/welcome.php  >  Download  
File: example/welcome.php
Role: Example script
Content type: text/plain
Description: Example
Class: Auto Ajax
Update page parts with AJAX when links are clicked
Author: By
Last change: * Fixing bug in php4
Date: 2007-11-09 09:52
Size: 503 bytes
 

Contents

Class file image Download
<?php
include_once("definition.php"); /* auto-ajax definition */
global $ajax/* Important, always do this, because this page will be include */
$ajax->destiny("central"); /* the ajax destination of this page */
$ajax->start();//the page start here

?>
<h2>Welcome to the test of AutoAjax.</h2>
<p>Here you can surfer well with ajax brower and with old browser.</p>
<p>To simulate old browser with mozilla do &quot;control + click&quot; on links. </p>
<?php
$ajax
->end(); //and ends here
?>