Welcome, guest Sign In

yml:if-env

Description

Includes content or blocks of application code dynamically, based on the user's browser, version, operating system, or if the browser is considered A-grade by Yahoo!.

Attributes

Name Type Required/Optional Description
ua string optional Specifies the browser user agent. Allowed values: "firefox", "safari", "ie", "opera"
minver string optional Shows the content if the user's browser version is at least the given value.
maxver string optional Shows the content if the user's browser version is at most the given value.
os string optional Specifies the user's operating system. Allowed values: "macosx", "winvista", "winxp", "win2000"
view string optional Specifies the current view being displayed.
agrade boolean optional Specifies that the browser and operating system must be an A-grade browser.

Examples

Table of Contents

Copyright © 2009 Yahoo! Inc. All rights reserved. Copyright | Privacy Policy

Help us continue to improve the Yahoo! Developer Network: Send Your Suggestions