File: demos/helloworld/helloworld_4.php

Recommend this page to a friend!
  Classes of Emmanuel Podvin  >  Blapy  >  demos/helloworld/helloworld_4.php  >  Download  
File: demos/helloworld/helloworld_4.php
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Blapy
jQuery plugin to load linked pages using AJAX
Author: By
Last change: Update of the Hello World demo
Date: 5 years ago
Size: 1,154 bytes
 

Contents

Class file image Download
<?php
$defaultTitle = "Great! That's a new title of Hello World";
include("header.php");
?>
					<header>
						<h1>Welcome to the "Hello World" demo of <strong>BLAPY</strong>!</h1>
						<h2>I am the "<b><?php echo basename(__FILE__)?>" file</b> of the "Hello world" demo</h2>
					</header>
					<div style="border:solid 1px green;margin:20px;padding:20px;">
						<div 	id="mainContainer" 
								data-blapy-container="true" 
								data-blapy-container-name="mainContainer" 
								data-blapy-container-content="Simple Blapy Content"
						>
							<h1>A simple Blapy link</h1>
							<p>This content is loaded from a "blapy link" set on span tag... Automagically, the span reacts to the click and activates the loading of the blapy block.</p> 
							<p>Surely you have noticed that blapy links may have "get" variables.</p>
							<p>sent id: <?php if (!empty($_GET['id'])) echo $_GET['id']?>
						</div>
					</div>	
					<p>Click on the <a href="index.php" data-blapy-link="true">"Hello world"</a> link, it will then change the Blapy content of the current page by the one coming from the page of this link</p>

<?php 
include("footer.php");