spacer

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


home / experts / dhtml / column41
Developer News
News Flash: Adobe Has iPhone Workaround
Adobe's Flash 10.1 Goes Mobile (Minus iPhone)
A Salute to Visionary CEOs

Logo

Hiermenus Go Forth, V:
Version 4 - The Page-Specific Parameters (cont'd)



HM_PG_BorderStyle

Description
Sets the border style for all menus in the page. All menus, in all cascades (top-level and children) are affected.

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

Value
CSS border style

May be specified as:

Note:
Only Internet Explorer and Netscape 6 will render the border style. Navigator 4 will always render a border as "solid".

Example Values
string: "double"

JS expression: "getBorderStyle()"

JS expression: "(IE4) ? ((document.body.clientWidth<800) ? 'solid' : 'double') : ((window.innerWidth<800) ? 'solid' : 'double')"

Default
If this parameter is omitted, the relevant Global Parameter value set in the external script is used.

Differences from Version 3 equivalent
The borSty parameter in Version 3:
Comments
If you coordinate the three border parameters (HM_PG_BorderStyle, HM_PG_BorderColor and HM_PG_BorderWidth) and the font and background related parameters, to have IE-specific values for IE users, you can easily create Window look-alike menus. For example, the values:
HM_FontFamily = "MS Sans Serif";
HM_FontSize = 8;
HM_FontColor = "menutext";
HM_FontColorOver = "highlighttext";
HM_BGColor = "menu";
HM_BGColorOver = "highlight";
HM_BorderWidth = 2;
HM_BorderColor = "threedhighlight";
HM_BorderStyle = "outset";
HM_SeparatorSize = 0;
will create menus that look like this:

If you decide on a double style, remember that a border width of at least 3 pixels is required otherwise the border style will not render.

Next, HM_PG_SeparatorSize.


Produced by Peter Belesis and

internet.commediabistro.comJusttechjobs.comGraphics.com

Search:

WebMediaBrands Corporate Info

Legal Notices, Licensing, Reprints, Permissions, Privacy Policy.
Advertise | Newsletters | Shopping | E-mail Offers | Freelance Jobs

webref The latest from WebReference.com Browse >
Building a Banking Application Home Page with OOP · Mixing Scripting Languages · Review: phpFox, a Social Networking CMS with all the Bells and Whistles
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Enterprise 2.0: Social Networking in the Cloud · BroadSoft Marketplace Hastens Pace of Telephony Innovation · Review: HTC Hero for Sprint

All Rights Reserved. Legal Notices.
Created: Dec 06, 2000
Revised: Dec 06, 2000

URL: http://www.webreference.com/dhtml/column41/4.html