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
Calling Cards
Promotional Pens
KVM over IP
Computer Deals
Auto Insurance Quote
Shop Online
Phone Cards
Web Hosting Directory
Domain registration
Baby Photo Contest
Memory Upgrades
Online Universities
Hurricane Shutters
Corporate Awards

          
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 / childkeepinwindowx

ChildKeepInWindowX

Description:
Boolean value indicating whether or not the menu should be automatically repositioned from its default location horizontally so that the entire menu appears within the user's browser window. ChildKeepInWindowX applies only to menus that are displayed as child menus.

Value:
Boolean (true or false), Integer (1=true, 0=false), or JavaScript expression that returns a boolean value.

Applies To:
Menus.

Browser Compatibility:
ChildKeepInWindowX is supported in all browsers.

Comments:
Note that this parameter defines the menu's horizontal KeepInWindow behavior when the menu is being displayed as a child menu. Compare this parameter to TopKeepInWindowX, which defines the menu's horizontal KeepInWindow behavior when the menu is used as a top level menu. A single menu can be used as both a top level menu and a child menu on the same page. This Child vs. Top distinction allows you to define different settings depending on how the menu is currently being utilized.

All of the KeepInWindow behaviors are true by default; meaning that HierMenus will always attempt to reposition the menu both horizontally and vertically so that it appears within the user's browser window. In versions of HierMenus prior to version 6, permanently displayed menus and PositionChild child menus were not repositioned via the KeepInWindow behavior. If you wish to emulate the pre-version 6 behavior, you will need to set the appropriate KeepInWindow behaviors to false on those types of menus.

Examples:
// Ok:
ChildKeepInWindowX:true,
ChildKeepInWindowX:0,
ChildKeepInWindowX:(window.thisPage=="cf")?1:0, 
    // if the user defined variable "thisPage" is "cf", 
    // ChildKeepInWindowX is true

// Incorrect:
ChildKeepInWindowX:"false",  // quotes not allowed around booleans
ChildKeepInWindowX:"0",
ChildKeepInWindowX:'(window.thisPage=="cf")?1:0', 
    // no quoted expressions
Default:
true

See Also:
RepositionOnScroll, IsPermanent, PositionChild, TopKeepInWindowX, TopKeepInWindowY ChildKeepInWindowY



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/childkeepinwindowx.html