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 : Tooltip Shadow styles

Tutorials

>

Tutorial Tooltip

>

Tutorial : Tooltip Shadow styles


Tooltip4: Tutorial of the composant Tooltip of the PHP FrameWork WebSite-PHP.

Tutorial : Tooltip Shadow styles:


Shadow options :


Go back to tutorial of the componant Tooltip



Source code

Source code


File: /pages/tutorials/tooltip/tooltip4.php

<?php
class Tooltip4 extends Page {

    public function 
InitializeComponent() {
        
parent::$PAGE_TITLE "Tutorial : Tooltip Shadow styles";

        
$object = new WSPObject();

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

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


Go back to tutorial of the componant Tooltip


Share

 


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