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 : Dock menu

Tutorials

>

Tutorial Menu

>

Tutorial : Dock menu


Menu-04: Tutorial of the composant Menu of the PHP FrameWork WebSite-PHP.

Tutorial : Dock menu:

Home Documentation Download Quick start Tutorials Wiki Issue Tracker


Go back to tutorial of the componant Menu



Source code

Source code


File: /pages/tutorials/menu/menu-04.php

<?php
class Menu04 extends Page {
    public function 
InitializeComponent() {
        
parent::$PAGE_TITLE "Tutorial : Dock menu";
        
        
$dock = new DockMenu("dock_menu_4"DockMenu::DOCK_ALIGN_NONE);
        
$dock->setLabelsColor("#FFFFFF");
        
$dock->addDockMenuItem(new DockMenuItem("img/logo_128x128.png"__(HOME_LINK)));
        
$dock->addDockMenuItem(new DockMenuItem("img/doc_dock.png"__(DOCUMENTATION_LINK)));
        
$dock->addDockMenuItem(new DockMenuItem("img/download_dock.png"__(DOWNLOAD_LINK)));
        
$dock->addDockMenuItem(new DockMenuItem("img/quickstart_dock.png"__(QUICKSTART_LINK)));
        
$dock->addDockMenuItem(new DockMenuItem("img/tutorials_dock.png"__(TUTORIALS_LINK)));
        
$dock->addDockMenuItem(new DockMenuItem("img/wiki_dock.png"__(WIKI_LINK)));
        
$dock->addDockMenuItem(new DockMenuItem("img/bug_dock.png"__(ISSUE_TRACKER_LINK)));
                                    
        
$this->render $dock;
    }
}
?>


Go back to tutorial of the componant Menu


Share

 


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