Please Note:
HierMenus is protected by copyright laws. Use of the HierMenus code requires a paid licensing agreement.
Click Here to Register

Site Navigation
Bulletins
About
Documentation
FAQ
Samples
Known Issues
Technology Jobs

internet.commerce

Partner With Us
Corporate Gifts
Hurricane Shutters
Computer Deals
Home Improvement
Disney World Tickets
PDA Phones & Cases
KVM Switches
Phone Cards
Online Education
Memory Upgrades
Memory
Prepaid Phone Card
Promotional Pens
Server Racks

          
internet.com

IT
Developer
Internet News
Small Business
Personal Technology
International

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers

 
HierMenusCentral Enhance the Functionality of Your Web Site with DHTML HierMenus.
    

home / documentation / reference / bordertopwidth

BorderTopWidth

Description:
The width, in pixels, of the menu's top border.

Value:
Integer, or JavaScript expression that returns an integer. Negative values are not allowed.

Applies To:
Menus.

Browser Compatibility:
BorderTopWidth is not supported in Netscape 4.x.

Comments:
You must always specify BorderTopWidth as an integer, or a JavaScript expression that returns an integer. Do not use quoted strings or non-numerical characters when defining BorderTopWidth. BorderTopWidth is always interpreted by HM as pixels.

All Four Border Widths

Setting BorderWidth will automatically set BorderTopWidth, BorderRightWidth, BorderBottomWidth, and BorderLeftWidth in those browsers that support those parameters. Therefore, it is important to supply the BorderWidth parameter before you supply those more specific settings.

The effect of setting the four border widths independently can be visually undesirable in some older browsers (especially IE 4.0/5.0) when one of the border widths is set to 0 and another is set to a valid number. Be sure to test these older browsers when setting your border widths in this fashion.

Do not confuse borders with separators. In HierMenus jargon, borders surround each menu itself, while separators are the bars between individual menu items.

Examples:
// Ok:
BorderTopWidth:5,
BorderTopWidth:0,
BorderTopWidth:(HM_NS4)?3:2, // 3 if NS4, 2 otherwise

// Incorrect:
BorderTopWidth:3.8,
BorderTopWidth:-3,
BorderTopWidth:"2",            // quotes not allowed
BorderTopWidth:"(HM_NS4)?3:2", 
    // no quoted expressions
Default:
2

See Also:
SeparatorSize, BorderWidth, BorderBottomWidth, BorderRightWidth, BorderLeftWidth



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
IBM eBook: Planning a Service Oriented Architecture
IBM eBook: Choosing the Right Architecture--What It Means for You and Your Business
Microsoft Article: Will Hyper-V Make VMware This Decade's Netscape?
Avaya Article: Using Intelligent Presence to Create Smarter Business Applications
Intel Go Parallel Article: Getting Started with TBB on Windows
Microsoft Article: 7.0, Microsoft's Lucky Version?
Avaya Article: How to Feed Data into the Avaya Event Processor
IBM Article: Developing a Software Policy for Your Organization
Microsoft Article: Managing Virtual Machines with Microsoft System Center
Intel Go Parallel Article: Intel Threading Tools and OpenMP
HP eBook: Storage Networking , Part 1
Microsoft Article: Solving Data Center Complexity with Microsoft System Center Configuration Manager 2007
MORE WHITEPAPERS, EBOOKS, AND ARTICLES
Webcasts
HP Video: StorageWorks EVA4400 and Oracle
HP Webcast: Storage Is Changing Fast - Be Ready or Be Left Behind
Microsoft Silverlight Video: Creating Fading Controls with Expression Design and Expression Blend 2
MORE WEBCASTS, PODCASTS, AND VIDEOS
Downloads and eKits
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
Silverlight 2 App and Walkthrough: Leverage Silverlight 2 with SQL Server and XML
IBM Article: Enterprise Search--Do You Know What's Out There?
HP Demo: StorageWorks EVA4400
Microsoft Article: The Progress and Promise of Deep Zoom
Microsoft How-to Article: Get Going with Silverlight and Windows Live
MORE TUTORIALS, DEMOS AND STEP-BY-STEP GUIDES
Created: 3/25/2004
Updated: 3/25/2004
URL: http://www.hiermenuscentral.com/documentation/reference/bordertopwidth.html