Requirement Constraints

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Saturday, 10 November 2012

Navigation Menu

Posted on 00:28 by Unknown
image
Main zul file

<zk>
<style src="/style.css" />
<window border="none" width="100%" height="100%">
<separator />
<div left="20px" height="25px">
<image src="/images/logo3a.jpg"
style="padding-left: 10px;" height="30px" width="auto" />
</div>
<separator />
<borderlayout>
<north id="north" border="0" height="9%" flex="true">
<div id="Menu" sclass="Mainmenudiv" height="90%">
<include src="menu.zul" />
</div>
</north>
<west title=" " size="16%" flex="true" splittable="true"
collapsible="true">
<div id="nav" style="background:white; height:100%">

</div>
</west>
<center border="0">
<div height="99%" id="Screen">

</div>
</center>
<south height="70px">
<div align="center">
<label
value="Copyright © 2012 xxxxx All Rights Reserved. Powered By xxxx"
sclass="loginlabel" />
</div>
</south>
</borderlayout>
</window>
</zk>






Menu zul file

<?page title="" contentType="text/html;charset=UTF-8"?>
<zk>
<window>
<tabbox width="100%" sclass="mainmenu">
<tabs id="tabs">
<tab label="Our Product" sclass="menutabs" />
<tab label="Live Demo" sclass="menutabs" />
<tab label="Online Documentation" sclass="menutabs" />
<tab label="Downloads" sclass="menutabs" />
<tab label="Support" sclass="menutabs" />
</tabs>
<tabpanels sclass="mytabpanel">
<tabpanel>
<toolbar sclass="maintoolbar">
<toolbarbutton label="Product 1" sclass="maintoolbarbtn"/>
<toolbarbutton label="Product 2" sclass="maintoolbarbtn"/>
<toolbarbutton label="Product 3" sclass="maintoolbarbtn"/>
</toolbar>
</tabpanel>
<tabpanel>
<toolbar sclass="maintoolbar">
<toolbarbutton label="Live Demo 1" sclass="maintoolbarbtn"/>
<toolbarbutton label="Live Demo 2" sclass="maintoolbarbtn"/>
<toolbarbutton label="Live Demo 3" sclass="maintoolbarbtn"/>
<toolbarbutton label="Live Demo 4" sclass="maintoolbarbtn"/>
<toolbarbutton label="Live Demo 5" sclass="maintoolbarbtn"/>
<toolbarbutton label="Live Demo 6" sclass="maintoolbarbtn"/>
</toolbar>
</tabpanel>
<tabpanel>
<toolbar sclass="maintoolbar">
<toolbarbutton label="Documentation 1" sclass="maintoolbarbtn"/>
<toolbarbutton label="Documentation 2" sclass="maintoolbarbtn"/>
<toolbarbutton label="Documentation 3" sclass="maintoolbarbtn"/>
<toolbarbutton label="Documentation 4" sclass="maintoolbarbtn"/>
<toolbarbutton label="Documentation 5" sclass="maintoolbarbtn"/>
</toolbar>
</tabpanel>
<tabpanel>
<toolbar sclass="maintoolbar">
<toolbarbutton label="Download 1" sclass="maintoolbarbtn"/>
<toolbarbutton label="Download 2" sclass="maintoolbarbtn"/>
<toolbarbutton label="Download 3" sclass="maintoolbarbtn"/>
<toolbarbutton label="Download 4" sclass="maintoolbarbtn"/>
<toolbarbutton label="Download 5" sclass="maintoolbarbtn"/>
</toolbar>
</tabpanel>
<tabpanel>
<toolbar sclass="maintoolbar">
<toolbarbutton label="Support 1" sclass="maintoolbarbtn"/>
<toolbarbutton label="Support 2" sclass="maintoolbarbtn"/>
<toolbarbutton label="Support 3" sclass="maintoolbarbtn"/>
<toolbarbutton label="Support 4" sclass="maintoolbarbtn"/>
<toolbarbutton label="Support 5" sclass="maintoolbarbtn"/>
</toolbar>
</tabpanel>
</tabpanels>
</tabbox>
</window>
</zk>


CSS File

/* Start: Main Tabs Menu
---------------------------------------------- */
.Mainmenudiv {
background-image: url('./images/menubgsmall.png');
background-position: top center;
}

.menutabs.z-tab .z-tab-text {
color: white;
cursor: pointer;
font-family: arial, sans-serif;
font-size: 12px;
font-size-adjust: none;
font-weight: bold;
padding: 4px 14px;
white-space: nowrap;
}

.menutabs.z-tab .z-tab-hl:hover .z-tab-text {
padding: 6px 14px;
color: yellow;
font-weight: bold;
}

.mainmenu.z-tabbox .z-tab .z-tab-hm {
background-image: url('./images/blank_p.gif');
background-color: transparent;
background-position: center;
background-repeat: repeat;
height: 36px;
}

.mainmenu.z-tabbox .z-tab .z-tab-hm:hover {
background-image: url('./images/blank_over_p.gif');
background-color: transparent;
background-position: center;
background-repeat: repeat-X;
height: 36px;
padding: none;
margin: none;
}

.mainmenu.z-tabbox .z-tab-seld .z-tab-hm {
background-image: url('./images/current-bg.png');
background-color: transparent;
background-position: center;
background-repeat: repeat-X;
height: 36px;
padding: none;
margin: none;
}

.mainmenu.z-tabbox .z-tab .z-tab-hl {
background-image: url('./images/blank_p.gif');
background-color: transparent;
background-position: left;
background-repeat: repeat;
height: 36px;
}

.mainmenu.z-tabbox .z-tab .z-tab-hl:hover {
background-image: url('./images/blank_over_p.gif');
background-color: transparent;
background-position: left;
background-repeat: repeat;
height: 36px;
padding: none;
margin: none;
}

.mainmenu.z-tabbox .z-tab-seld .z-tab-hl {
background-image: url('./images/current-bg.png');
background-color: transparent;
background-position: center;
background-repeat: repeat-X;
height: 36px;
padding: none;
margin: none;
}

.mainmenu.z-tabbox .z-tab .z-tab-hr {
background-image: url('./images/blank_p.gif');
background-color: transparent;
background-position: right;
background-repeat: repeat;
height: 36px;
}

.mainmenu.z-tabbox .z-tab .z-tab-hr:hover {
background-image: url('./images/blank_over_p.gif');
background-color: transparent;
background-position: right;
background-repeat: repeat;
height: 36px;
}

.mainmenu.z-tabbox .z-tab-seld .z-tab-hr {
background-image: url('./images/current-bg.png');
background-color: transparent;
background-position: center;
background-repeat: repeat-X;
height: 36px;
padding: none;
margin: none;
}

.mainmenu.z-tab .z-tab-hl:hover .z-tab-hr {
background-position: right 0;
}

.mainmenu.z-tab .z-tab-hl:hover .z-tab-hl {
background-position: left 0;
}

.mainmenu.z-tab .z-tab-hl:hover .z-tab-hm {
background-position: center 0;
}

.mytabpanel.z-tabpanel {
border-top: none;
}


.mytabpanel .z-tabpanel, .mytabpanel .z-tabbox-ver .z-tabpanel-ver {
padding: 0px;
}

.mytabpanel.z-tabpanel,.z-tabbox-ver .z-tabpanels-ver {
border-color: transparent;
border-style: solid;
border-width: 1px;
}

.z-tabs-header {
height: 32px;
margin: 0;
overflow: hidden;
position: relative;
height: 32px;
}

.maintoolbar.z-toolbar {
border-color: transparent;
border-style: solid;
border-width: 0 0 1px;
display: block;
padding: 2px;
position: relative;
}

.z-toolbar .maintoolbarbtn .z-toolbarbutton-cnt {
color: #000000;
font-family: Tahoma, verdana;
font-size: 1em;
font-weight: Bold;
padding: 2px 10px 2px 10px;
position: relative;
border-left: 0px solid #dddddd;
border-right: 0px solid #eeeeee;
border-top: 0px solid #e0e0e0;
}

.maintoolbar.z-toolbar {
background: none;
height: 18px;
}

.maintoolbarbtn.z-toolbarbutton-over .z-toolbarbutton-cnt {
background-image: none;
background-color: #cff791;
}




/* End: Main Tabs Menu
---------------------------------------------- */



Download source

Email ThisBlogThis!Share to XShare to Facebook
Posted in ZK CSS | No comments
Newer Post Older Post Home

0 comments:

Post a Comment

Subscribe to: Post Comments (Atom)

Popular Posts

  • ZK Example for inline Editing with Add New and Delete
    I am quite impressed on this demo from ZK . But adding new record and delete existing record is missing as part of typical CRUD. So i thoug...
  • EDI 5010 Documentation 837 Professional - Loop 2010BB Payer Name
    2010BB Payer Name          In this loop, all the information will be taken from Insurance master screen. Take a look of our sample screen...
  • EDI 5010 Documentation–837 - BHT - Beginning of Hierarchical Transaction
    BHT – Beginning of Hierarchical Transaction Loop Seg ID Segment Name Format Length Ref# Req Value   BHT Beginning of Hier...
  • Hibernate Validator Example 2
    In this example, we will see some more validation constraints such as @email, @past, @length, etc. And also we will also define custom error...
  • ZK Passing Parameter between two files using MVVM–Part 1
    Overview This is the first series of articles about Passing parameter between two zul files using MVVM Design pattern .This article will fo...
  • MVVM Command annotation and Notify change example
    Here is an example, how to pass parameter on a zul through MVVM Command binding annotation. ZK URL http://books.zkoss.org/wiki/ZK%20Develo...
  • History of Present Illness
    HPI - One of the main component of Clinical History. What is an HPI ? The history of present illness (HPI) is a chronological description...
  • Patient Demographics
    Patient browse (search) is the key element for any EMR / PMS Software. In my past 15 years experience, i involved more than 5 times in desig...
  • ViewModel Class Java Annotation @Init, @NotifyChange, @Command
    In following sections we'll list all syntaxes that can be used in implementing a ViewModel and applying ZK bind annotation. The ZK binde...
  • Good Website Design Links
    Form Design Label Placement in Forms International Address Fields in Web Forms 40 Eye-Catching Registration Pages blog-comment-form-...

Categories

  • Billing Process
  • C Workbook
  • C++ Workbook
  • Eclipse Tips
  • EDI 5010
  • EMR Appointment Features
  • EMR Labs Stuff
  • EMR PMS Links
  • EMR Use cases
  • EMR Vital Sign
  • Good Website Design
  • Hibernate Criteria Queries
  • Hibernate Introduction
  • Hibernate Introduction Setup
  • Hibernate Mapping
  • Hibernate POC
  • Hibernate Validator
  • Hibernate–Java Environment setup
  • HPI
  • Java
  • Maven
  • MU Certification
  • NPI
  • PQRS
  • Practice Management System
  • Spring Security
  • Tech Links
  • Today Tech Stuff
  • zk
  • ZK Hibernate
  • ZK 5 Databinding
  • ZK Application
  • ZK Calling Another ZUL
  • ZK CheckBox
  • ZK CreateComponents
  • ZK CSS
  • ZK extended Components
  • ZK Foreach
  • ZK Forum Posts
  • ZK Framework
  • ZK Hibernate Setup
  • ZK ID Space
  • ZK Include
  • ZK Installation
  • ZK iReport
  • ZK Layout
  • ZK Listitem Pagination
  • ZK Message Box
  • ZK MVC
  • ZK MVC Combox Box
  • ZK MVC CRUD Examples
  • ZK MVC Listbox
  • ZK MVVM
  • ZK MVVM Combo
  • ZK MVVM CRUD
  • ZK MVVM ListBox
  • ZK Spring
  • ZK TextBox

Blog Archive

  • ►  2013 (105)
    • ►  December (3)
    • ►  September (7)
    • ►  August (13)
    • ►  July (1)
    • ►  June (11)
    • ►  May (3)
    • ►  April (14)
    • ►  March (19)
    • ►  February (21)
    • ►  January (13)
  • ▼  2012 (177)
    • ►  December (1)
    • ▼  November (13)
      • Spring Security hello world example
      • ZK Grid CSS
      • Maven Commands
      • Maven m2e Integration for Eclipse
      • Tabbed Dialog Form - 2
      • Tabbed Dialog Form - 1
      • Navigation Menu
      • ZK Vertical Menu CSS
      • Load Tab box Content on Demand Using MVVM
      • ZK Forum Posts
      • ZK MVVM CRUD Without DB Connection - Part 7
      • ZK Form Design–CRUD Screen Example
      • Form Sample : Search Screen
    • ►  October (19)
    • ►  September (24)
    • ►  August (26)
    • ►  July (6)
    • ►  June (37)
    • ►  May (30)
    • ►  April (16)
    • ►  March (1)
    • ►  January (4)
  • ►  2011 (5)
    • ►  December (1)
    • ►  November (1)
    • ►  July (1)
    • ►  June (1)
    • ►  April (1)
  • ►  2010 (1)
    • ►  September (1)
Powered by Blogger.

About Me

Unknown
View my complete profile