Fichier: /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; } } ?>
Retourner aux tutoriels du composants Tooltip
|