WebSite-PHP Framework PHP
Multi language
Simple Ajax mode
No HTML, no JavaScript
URL rewriting
Mail sending
Sitemap - RSS - Web service
Download WebSite-PHP FrameWork now
 


Loading
 


Tutorial Colorpicker

Tutorials

>

Tutorial Colorpicker



Tutorial 1 : Simple ColorPicker
File: /pages/tutorials/colorpicker/colorpicker-01.php

<?php
class Colorpicker01 extends Page {
    public function 
InitializeComponent() {
        
parent::$PAGE_TITLE "Tutorial : Simple ColorPicker";
        
        
$this->render = new ColorPicker($this);
    }
}
?>


Tutorial 2 : ColorPicker with init color
File: /pages/tutorials/colorpicker/colorpicker-02.php

<?php
class Colorpicker02 extends Page {
    public function 
InitializeComponent() {
        
parent::$PAGE_TITLE "Tutorial : ColorPicker with init color";
        
        
$this->render = new ColorPicker($this);
        
$this->render->setValue("FF3300");
    }
}
?>


Tutorial 3 : ColorPicker force # and upper case
File: /pages/tutorials/colorpicker/colorpicker-03.php

<?php
class Colorpicker03 extends Page {
    public function 
InitializeComponent() {
        
parent::$PAGE_TITLE "Tutorial : ColorPicker force # and upper case";
        
        
$this->render = new ColorPicker($this);
        
$this->render->setValue("5BFF4F");
        
$this->render->hash(true);
        
$this->render->caps(true);
    }
}
?>



Share

 


Copyright © 2009-2024 WebSite-PHP Framework PHP
Home Documentation Download Quick start Tutorials Wiki Issue Tracker