PHP Classes

File: Example.php

Recommend this page to a friend!
  Classes of Mohammad Keramatifar   PHP Tab Control Creator   Example.php   Download  
File: Example.php
Role: Example script
Content type: text/plain
Description: Simple Example File
Class: PHP Tab Control Creator
Generate a tab control to switch visible content
Author: By
Last change:
Date: 11 years ago
Size: 1,238 bytes
 

Contents

Class file image Download
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
    <head>

        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">

        <title>tab keramatifar.ir</title>
        <link rel="stylesheet" type="text/css" href="reset.css">
        <link rel="stylesheet" type="text/css" href="tab.css">
        <script type="text/javascript" src="jquery.js"></script>
        <script type="text/javascript" src="tab.js"></script>
       
    </head>
    <body>
        <div style="width: 500px; height: 500px; margin: 0 auto;">
            <br />
            <?php
               
require 'class.tab.php';
               
$tabSample = array(
                   
'Syntax' => 'Some Sample Text Of Syntax <br />Some Sample Text Of Syntax <br /> ',
                   
'Demp' => 'Some Sample Text Of Demo <br />Some Sample Text Of Demo <br />Some Sample Text Of Demo <br />',
                   
'Sample' => 'Some Sample Text Of Sample <br />Some Sample Text Of Sample <br />Some Sample Text Of Sample <br />'
               
);

               
$sample = new tab('sample1', $tabSample, 1 );
                echo
$sample->createTab();
           
?>
</div>
    </body>
</html>