8000 GitHub - huangnoah/zkstore
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

huangnoah/zkstore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zkstore

Introduction

In general, when we develop the website with zk, we divide webpage into header, body and footer with borderlayout. Sometimes we need the layout component which is easier to effectively use the space of a whole pagelayout. It should be columnlayout. Unlike the borderlayout, when the height of content is larger than the default height, then the vertical scrollbar should appear on the right side of the browser, not the content.

Example Scenario

Suppose we want to create an online shopping website where user can read the news about latest items and can be easier to browse various kinds of items. Finally, we need the function which can show statistics of online shopper.

Layout

Following figure shows the structure and how the columnlayout is placed on the screen. This webpage use columnlayout as body part.

Live Demo

New Page

Shop Page

Stats Page

Layout Code

layout¡¦s code can be simplified as follows.

<vlayout>
	<div sclass="header">...</div>
	<columnlayout sclass="body">
		<columnchildren sclass="sidebar">...</columnchildren>
		<columnchildren sclass="content">...</columnchildren>
	</columnlayout>
	<div sclass="footer">...</div>
</vlayout>

know more about zkee

Source: https://github.com/huangnoah/zkstore

Reference:

http://books.zkoss.org/wiki/Small_Talks/2008/June/Using_Columnlayout_Component http://books.zkoss.org/wiki/ZK_Component_Reference/Layouts/Columnlayout

Copyright and License

   Copyright 2013 Potix Corporation.

   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0