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 positions styles

Tutorials

>

Tutorial Tooltip

>

Tutorial : Tooltip positions styles


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

Tutorial : Tooltip positions styles:


Position option :


Go back to tutorial of the componant Tooltip



Source code

Source code


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

<?php
class Tooltip6 extends Page {

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

        
$object = new WSPObject();

        
$object->add("<br>Position option : <br>");

        
$tool_des = new ToolTip("followCursor");
        
$tool_des->setId("Tool_des_followCursor")->followCursor();
        
$pic = new Picture("http://www.website-php.com/img/wiki_dock.png","What's Up?");
        
$pic->setId("picture_followCursor");
        
$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