File: demos/helloworld/index.php

Recommend this page to a friend!
  Classes of Emmanuel Podvin   Blapy   demos/helloworld/index.php   Download  
File: demos/helloworld/index.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 demos/helloworld/index.php
Date: 3 years ago
Size: 1,967 bytes
 

Contents

Class file image Download
<?php $defaultTitle = "The Hello World example"; 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="HelloWorld"> <h1>Hello World!</h1> <p>This "div" block is a Blapy content.</p> <p> Click on the <a href="helloworld_2.php" data-blapy-link="true">"How is it going?"</a> link, it will then change the Blapy content of the current page by the one coming from the page of this link</p> <p>In this demo, the Blapy block is this div with the green border.</p> </div> </div> <p> As you click... you will see that the <span style="border: 1px solid green;padding:3px;">green block above</span> is updated<br> and this text is not... neither the title of the page...<br> because they are not involved in a Blapy block...</p> <p>Meaning that <b>THE PAGE IS NOT RELOADED ;-) but ajaxified...</b></p> <h2>Get Blapy...</h2> <p><a href="https://github.com/intersel/Blapy" target="_blank"><img src="https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png" style="width:10%">Get Blapy from GitHub</a></p> <h2>Some Blapy demos...</h2> <ul> <li><a href="../bootstrap-four-column-gallery/">Dynamic loading of content when it appears</a></li> <li><a href="../dynamicSearch/">Dynamic search in some data</a></li> <li><a href="../startbootstrap-sb-admin-2/">Start Bootstrap SB Admin with Blapy</a></li> <li><a href="../todomvc/">A TODO list</a></li> <li><a href="../verifyEmails/">Verify email address</a></li> </ul> <?php include("footer.php");