PHP Classes

File: master/demo/demo.php

Recommend this page to a friend!
  Classes of Samuel Adeshina   JQPHP   master/demo/demo.php   Download  
File: master/demo/demo.php
Role: Example script
Content type: text/plain
Description: Example
Class: JQPHP
Generate HTML using jQuery added programmatically
Author: By
Last change:
Date: 9 years ago
Size: 489 bytes
 

Contents

Class file image Download
<?php
   
require_once("JQPhp.php");
    use
JQPhp\Selector\Attributes as Attributes;
    use
JQPhp\Selector\Basics as Basics;
    require_once(
"html.html");
?>
<?php
/* echo "<a id='vi' href='#'>Hi, I'm Samuel</a><br/>";
    echo "<a id='vim' href='#'>Hi, I'm Samuel</a><br/>";
    echo "<p class='small'>I am a very small text</p>";*/
   
$enable = new JQPhp\Enable("jquery.js");
   
$prefix = new Attributes\Contains("a", "hreflang", "en" new JQPhp\jquery());
   
$prefix->css("border", "3px dotted green");

?>