WebSite-PHP Framework PHP
Mehrsprachig
Einfacher Ajax Modus
Kein HTML, kein JavaScript
URL Rewriting
Mails senden
Sitemap - RSS - Web service
Laden Sie WebSite-PHP FrameWork jetzt herunter
 


Loading
 


Tutorial : Tooltip with Titles

Tutorials

>

Tutorial Tooltip

>

Tutorial : Tooltip with Titles


Tooltip2: Tutorial der Komponente Tooltip vom PHP FrameWork WebSite-PHP.

Tutorial : Tooltip with Titles:


Titles options :


Zurück zum Tutorial der Komponente Tooltip



Quelltext

Quelltext


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

<?php
class Tooltip2 extends Page {

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

        
$object = new WSPObject();

       
$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;
    }
}
?>


Zurück zum Tutorial der Komponente Tooltip


Share

 


Copyright © 2009-2024 WebSite-PHP Framework PHP
Start Dokumentation Herunterladen Schnellstart Tutorials Wiki Issue Tracker