spacer

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


home / experts / dhtml / column41
Developer News
Google to Shake Up Browsers With Own Launch
Mozilla's Ubquity Mashup: For The Masses?
iPhone Users Just Want to Have Fun
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



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

Solutions
Whitepapers and eBooks
Intel PDF: Virtualization Delivers Data Center Efficiency
Intel eBook: Managing the Evolving Data Center
Microsoft Article: BitLocker Brings Encryption to Windows Server 2008
Symantec eBook: The Guide to E-Mail Archiving and Management
Microsoft Article: RODCs Transform Branch Office Security
Go Parallel Article: James Reinders on the Intel Parallel Studio Beta Program
Avaya Article: Advancing the State of the Art in Customer Service
Adobe Acrobat Connect Pro: Web Conferencing and eLearning Whitepapers
Avaya Article: Avaya AE Services Provide Rapid Telephony Integration with Facebook
Go Parallel Article: Getting Started with TBB on Windows
HP eBook: Storage Networking , Part 1
MORE WHITEPAPERS, EBOOKS, AND ARTICLES
Webcasts
Intel Seminar: Efficiencies in Hardware/Software Virtualization
HP Webcast: Disaster Recovery Planning
Go Parallel Video: Performance and Threading Tools for Game Developers
HP Video: StorageWorks EVA4400 and Oracle
HP Webcast: Storage Is Changing Fast - Be Ready or Be Left Behind
MORE WEBCASTS, PODCASTS, AND VIDEOS
Downloads and eKits
IBM TCO eKIT: Your IT Budget is Under Attack, Get in Control
IBM Energy Efficiency eKIT: Learn How to Reduce Costs
30-Day Trial: SPAMfighter Exchange Module
Red Gate Download: SQL Toolbelt and free High-Performance SQL Code eBook
Iron Speed Designer Application Generator
MORE DOWNLOADS, EKITS, AND FREE TRIALS
Tutorials and Demos
Microsoft Article: Silverlight Streaming--Free Video Hosting for All
Featured Algorithm: Intel Threading Building Blocks - parallel_reduce
HP Demo: StorageWorks EVA4400
MORE TUTORIALS, DEMOS AND STEP-BY-STEP GUIDES
webref The latest from WebReference.com Browse >
The Partial Function Application in JavaScript · Creating Dynamic RSS Feeds with Ajax · Performance Optimizations for High Speed JavaScript
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Cablevision Deploys More Hotspots for Commuters · Dell Joins the Netbook Movement with its Inspiron Mini 9 · It's Official: Dell Enters the Netbook Fray

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

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