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














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

IEFilters

Description:
The visual filter effect(s) to be applied to menus.

Value:
String, null, or JavaScript expression that returns a string/null.

Applies To:
Menus.

Browser Compatibility:
IEFilters is supported only in Internet Explorer 5.5 and later.

Comments:
IEFilters should be applied as a string, which means the value you supply should always be in quotes.

Allowed values for IEFilters are dicated by Microsoft's own syntax, and, for the most part, mirror the syntax used when adding a filter effect to an element via a style sheet rule. The only exceptions to this rule are that the entire filter assigment must be enclosed in quotes (which means embedded, quoted parameters must use the alternate quotes), and that the leading filter: designation should not be included. So, for example, in a style sheet you might implement a drop shadow filter like this:

filter:progid:DXImageTransform.Microsoft.DropShadow(color="#66996633")
But in HierMenus it would look like this:
IEFilters:"progid:DXImageTransform.Microsoft.DropShadow(color='#66996633')",
Each filter is defined by Microsoft to use its own set of parameters, with their own allowed values. A full explanation for each of these possibilities is beyond the scope of our HierMenus documentation. For complete syntax details, visit Microsoft's own documentation on the subject:

MSDN: Filters and Transitions

Multiple filters may be supplied within IEFilters; they will be applied to the menu in the order in which they are defined. To specify multiple filters in IEFilters, separate each new filter designation with a blank space.

The older Microsoft filter syntax (alpha(opacity=50), for example) is not supported by HierMenus.

A couple specific filters deserve special mention here. The Alpha filter is also used directly by HierMenus to implement its own MenuOpacity and ItemOpacity settings. Therefore, if you wish to control your menu opacity using the Alpha filter, then you should conditionally exclude IE5.5 and later from your opacity settings (or leave the opacity settings to null, in which case only IE5.5 and later will display your menus with opacity as intended). You can exclude IE5.5 from opacity settings like this:

MenuOpacity:(window.HM_IE55)?null:.7,
The Light filter is controlled entirely via script methods; thus once you define it with IEFilters, you'll then need to finish it using additional custom code. One good place to implement this code is in the menu's HM_OnMenuCreated event hook.

See the sample pages for examples of live Internet Explorer menu transitions.

Examples:
// Ok:
IEFilters:"progid:DXImageTransform.Microsoft.Fade(duration=1)",
IEFilters:null,
IEFilters:(window.useFade)?
   "progid:DXImageTransform.Microsoft.Fade(duration=1)":null,
   // if the user defined variable "useFade" is set, 
   // apply fade transition filter

// Incorrect:
IEFilters:progid:DXImageTransform.Microsoft.Fade(duration=1),
   // outer quotes required
IEFilters:"progid:DXImageTransform.Microsoft.GradientWipe(motion="reverse")",
   // inner quotes ("reverse") should be 
   // opposite of outer ('reverse')
IEFilters:"filter:progid:DXImageTransform.Microsoft.GradientWipe(motion='reverse')",
   // do not include the word "filter:"
IEFilters:"null",     // quotes not allowed around null
IEFilters:'(window.useFade)?
   "progid:DXImageTransform.Microsoft.Fade(duration=1)":null', 
   // no quoted expressions
Default:
null

See Also:
IEShowTransition, IEHideTransition, MenuOpacity, ItemOpacity



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
Created: 3/25/2004
Updated: 3/25/2004
URL: http://www.hiermenuscentral.com/documentation/reference/ieshowtransition.html