spacer

Webref WebRef   Sitemap · Experts · Tools · Services · Newsletters · About i.com


home / experts / dhtml / column40
Developer News
iPhone Users Just Want to Have Fun
Oops! I Fixed the Linux Kernel
Jim Zemlin: The New Center of Linux Gravity
Logo

Hiermenus Go Forth, IV:
Version 4 - The Page-Specific Parameters



HM_PG_ItemPadding

Description
Sets the padding (distance from item border to item text) of all menu items in the page. All menus, in all cascades (top-level and children) are affected.

HM_PG_ItemPadding overrides site-wide global settings declared in the external script.

Value
Pixels.
May be specified as:
Example Values
integer: 3

string: "3"

JS expression: "getPadding()"

JS expression: "eval(HM_PG_FontSize) > 12 ? 6 : 3"
Default
If this parameter is omitted the relevant Global Parameter value, set in the external script is used.

Differences from Version 3 equivalent
The itemPad parameter in Version 3:

In our next installment, Hiermenus Go Forth, V, we'll continue our look at the new Page-Specific Parameters.


Produced by Peter Belesis and



JupiterOnlineMedia

internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info


Legal Notices, Licensing, Reprints, & Permissions, Privacy Policy.

Advertise | Newsletters | Tech Jobs | Shopping | E-mail Offers

webref The latest from WebReference.com Browse >
Performance Optimizations for High Speed JavaScript · Advanced Web Performance Optimization · Simple Comments Meets OpenID
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Installing Oracle E-Business Suite R12 on Windows 2003 · When the Cloud Storms on You · eBay Watch: DSR 4.3 Tips, Tactics and Seller POV

All Rights Reserved. Legal Notices.
Created: Nov 22, 2000
Revised: Nov 22, 2000

URL: http://www.webreference.com/dhtml/column40/13.html