JavaScripts for Your Website : Menu, Tree, DHTML, Popup, Outlook Bar, Free Scripts :: CodeThat :: CodeThat.Com offers JavaScript solutions. Our Google and web keywords are: browser menu, javascript horizontal menu dhtml javascript how to do a menu javascript, javascript source menu javascript transparency menu js dhtml menu submenu css, menu scripts dhtml calendar dhtml drop down menu dhtml menu dhtml menu builders, dhtml menu maker dhtml popup menu dhtml shade menu download free javascripts, download javascript dragable menu drop down menu dropdown menu fancy menu free, javascript scripts free javascript tree menu free javascripts html javascript, tree image javascript calendar javascript collapsible menu javascript drop down, menu javascript example javascript menu javascript menu example javascript popup, menu javascript tree javascript tree menu javascript tree navigation menu, builder javascript menu javascript navigation script popup menu professional, dhtml menu professional js menu professional menu professional tree menu pull, down menu pull down menu for web site tree menu tree navigation

PRODUCTS

JavaScript Projects

PHP Projects

Javascript Tools

Website Templates

SUPPORT

Standard vs PRO

FAQ

Forum

Contacts

Site Map

CODETHAT

Sales & Prices

Downloads

Users Testimonials

Affiliate registration

Our Customers

STUDIO   GRID   TABLE   MENU   TREE   XPBAR   HINT   EDITOR   TAB   FORM   CALENDAR   SCROLLER   SHOPPINGCART   TREEPHP   PACKER

User Manual

Introduction    Tab look    Tab action    Tab positioning

Tab manipulating    Using XML    Tab reference    Standard vs PRO

123Guide    Examples    Download

Order PRO Now    Themes

CODETHATTAB USER MANUAL

Tab Positioning

Positioning of tab control is done automatically as any HTML element in the browser, except old one.

For old browsers relative positioning for layers is absent, so position must be define as TabDef.x and TabDef.y properties.

Positioning tabs within tab control defines by offset and spacing properties.

Fisrt tab is located with offset TabDef.offset relative to container position, second one with offset TabDef.spacing relative to fisrt tab, third one with offset TabDef.spacing relative to second tab and etc.

var tabDef = {
	"x" : 10,
	"y" : 50,
	"offset" : 3,
	"spacing" : 5,
	...
}

Direction of offset (horisonal or vertical) depend on layout property.

If layout is top or bottom offset is horisontal, if layout is left or right offset is vertical.

Example - Tab Positioning

You can see an example and complete code here - Tab Positioning Example [popup]

Read more about CodeThatTab >>

[ Home ]  [ Forum ]  [ Contacts ]  [ Site Map ]  [ News ]  [ Links ]  [ Sales & Prices ]  [ Downloads ]

[ Go Top ]

© CodeThat.com, 2003-2008
Design by XTLabs, Inc.