bibrowsercheck.html

来自「ajax 框价.是个好工具.javascript 矿家.可以用在任何平台.」· HTML 代码 · 共 166 行

HTML
166
字号
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"><html><!--Generated using api.website.xsl version 2003-07-17--><head><META http-equiv="Content-Type" content="text/html; charset=utf-8"><title>BiBrowserCheck</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><link type="text/css" rel="stylesheet" href="api.css"><script type="text/javascript">				function showDerivedClasses() {					var ul = document.getElementById("api-derived-classes");					var lis = ul.childNodes;					var l = lis.length;					for (var i = 1; i < l; i++)						lis[i].style.display = "";					lis[0].style.display = "none";				}			</script></head><body><h1 id="BiBrowserCheck">BiBrowserCheck</h1><p>This class is used to identifiy the browser that the user is using.</p><p>This class extends		<code><a href="BiObject.html">BiObject</a></code>		and therefore all methods and fields available for		<code><a href="BiObject.html">BiObject</a></code>		are also available for <code>BiBrowserCheck</code>.</p><ul class="partial-class-tree"><li><code><a href="BiObject.html">BiObject</a></code><ul><li><code>BiBrowserCheck</code><ul id="api-derived-classes"></ul></li></ul></li></ul><h2>Constructor</h2><p><code>	new BiBrowserCheck()</code></p><h3>Parameters</h3><p>No parameters.</p><h2>Properties</h2><table><thead><tr><td>Name</td><td>Type</td><td class="get-header">get</td><td class="set-header">set</td><td>Descripton</td></tr></thead><tbody><tr><td><a name="hta"></a><code>hta</code></td><td><code class="type">Boolean</code></td><td class="get-column"><img src="check.png" alt="checked"></td><td class="set-column"></td><td>Whether the application was launched as an HTA (HTML Application)</td></tr><tr><td><a name="ie"></a><code>ie</code></td><td><code class="type">Boolean</code></td><td class="get-column"><img src="check.png" alt="checked"></td><td class="set-column"></td><td>Whether the browser is Internet Explorer or not.</td></tr><tr><td><a name="ie55"></a><code>ie55</code></td><td><code class="type">Boolean</code></td><td class="get-column"><img src="check.png" alt="checked"></td><td class="set-column"></td><td>Whether the browser is Internet Explorer 5.5 or not.</td></tr><tr><td><a name="ie6"></a><code>ie6</code></td><td><code class="type">Boolean</code></td><td class="get-column"><img src="check.png" alt="checked"></td><td class="set-column"></td><td>Whether the browser is Internet Explorer 6.x or not.</td></tr><tr><td><a name="moz"></a><code>moz</code></td><td><code class="type">Boolean</code></td><td class="get-column"><img src="check.png" alt="checked"></td><td class="set-column"></td><td>Whether the browser is Mozilla or not.</td></tr><tr><td><a name="platform"></a><code>platform</code></td><td><code class="type">String</code></td><td class="get-column"><img src="check.png" alt="checked"></td><td class="set-column"></td><td>This is the platform that the user uses.</td></tr><tr><td><a name="version"></a><code>version</code></td><td><code class="type">String</code></td><td class="get-column"><img src="check.png" alt="checked"></td><td class="set-column"></td><td>The version of the current browser. This is a string because it may contain a 'a', 'b' or multiple '.' characters. For example Mozilla 1.4.1 will return "1.4.1". Other possible results are "1.6b" etc. For Mozilla based browsers the version reflects the version of the rendering engine and not the version of the product (thus Netscape 7.1 will return "1.4").</td></tr></tbody></table><h2>Methods</h2><p>None.</p><h2>Events</h2><p>None.</p><h2>Static Methods</h2><p>None.</p><h2>Static Fields</h2><table><thead><tr><td>Name</td><td>Type</td><td>Descripton</td></tr></thead><tbody><tr><td><code>hta</code></td><td><code class="type">String</code></td><td>Whether the application was launched as an HTA (HTML Application)</td></tr><tr><td><code>ie</code></td><td><code class="type">Boolean</code></td><td>Whether the browser is Internet Explorer or not.</td></tr><tr><td><code>ie55</code></td><td><code class="type">Boolean</code></td><td>Whether the browser is Internet Explorer 5.5 or not.</td></tr><tr><td><code>ie6</code></td><td><code class="type">Boolean</code></td><td>Whether the browser is Internet Explorer 6.x or not.</td></tr><tr><td><code>moz</code></td><td><code class="type">Boolean</code></td><td>Whether the browser is Mozilla or not.</td></tr><tr><td><code>platform</code></td><td><code class="type">String</code></td><td>The platform for the current browser.</td></tr><tr><td><code>version</code></td><td><code class="type">String</code></td><td>The version of the current browser.</td></tr></tbody></table><h2>Remarks</h2><p>This is a singleton class and for convenience the properties are also 			available as static fields.</p></body></html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?