WebSite-PHP Framework PHP
Multi langues
Mode Ajax simple
Aucun HTML, aucun JavaScript
URL rewrinting
Envoi d'email
Sitemap - RSS - Web service
Télécharger le Framework WebSite-PHP maintenant
 


Loading
 


Tutorial : Tooltip with Titles

Tutoriels

>

Tutoriel Tooltip

>

Tutorial : Tooltip with Titles


Tooltip2: Tutoriel du composants Tooltip du FrameWork PHP WebSite-PHP.

Tutorial : Tooltip with Titles:


Titles options :


Retourner aux tutoriels du composants Tooltip



Code source

Code source


Fichier: /pages/tutorials/tooltip/tooltip2.php

<?php
class Tooltip2 extends Page {

    public function 
InitializeComponent() {
        
parent::$PAGE_TITLE "Tutorial : Tooltip with Titles";

        
$object = new Object();

       
$object->add("<br>Titles options : <br>");
       
$array_style= array("default","dark","cream","red","green","blue","youtube","youtube-red","youtube-green","jtools","cluetip","tipsy","tipped","widget");
       foreach(
$array_style as $cle => $valeur)
       {
           
$tool_des = new ToolTip(strtoupper($valeur));
           
$tool_des->setId("Tool_des_title".$cle)->setStyle($valeur);
           
$tool_des->setTitle("Titre");
           
$pic = new Picture("http://www.website-php.com/img/wiki_dock.png","What's Up?");
           
$pic->setId("picture_title".$cle);
           
$pic->tooltip($tool_des);
           
$object->add($pic);
       }

        
$this->render $object;
    }
}
?>


Retourner aux tutoriels du composants Tooltip


Share

 


Copyright © 2009-2016 WebSite-PHP Framework PHP
Accueil Documentation Télécharger Quick start Tutoriels Wiki Issue Tracker