Multi language
Simple Ajax mode
No HTML, no JavaScript
URL rewriting
Mail sending
Sitemap - RSS - Web service
 


Loading
 


Framework PHP

Framework PHP


Home Home


Documentation Documentation

Download Download


Contact Contact


 
HelpHelp

Quick start Quick start


Help videos Help videos


Tutorials Tutorials


Wiki Wiki
Issue Tracker Issue Tracker
Eclipse PHP Eclipse PHP


 
LanguagesLanguages




 
SupportSupport

 
CompatibilitiesCompatibilities




 
ComponentsComponents

jQuery
CkEditor

 
Tutorial ColorpickerTutorials > Tutorial Colorpicker


Tutorial 1 : Simple ColorPicker
<?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
<?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
<?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-2012 WebSite-PHP Framework PHP
Home Documentation Download Quick start Tutorials Wiki Issue Tracker
Site created with framework WebSite-PHP