亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? spec.html

?? </div> <br> <input type="button" value="閃爍" onclick="highLight($( demo ))" /> &
?? HTML
?? 第 1 頁 / 共 4 頁
字號:
<html>

<head>
<title>Menu G5</title>
<link rel=stylesheet href="../css/menuG5.css" type="text/css">
</head>

<body>
<p align="center" class="title">Menu G5 Specification</p>
<p align="center" class="copyright"><a href="http://www.yxscripts.com">yxScripts.com</a></p>

<a name="top">&nbsp;</a>
<table align="center">
<tr valign="top">
<td>
<ul>
<li><a href="#zip">Menu G5 package content</a></li>
<li><a href="#files">Files to upload to your site</a></li>
<li><a href="#browser">Browser support</a></li>
<li><a href="#terms">Conventions and terms</a></li>
</td>
<td>
<ul>
<li><a href="#path">Setting up the path script</a></li>
<li><a href="#content">Setting up the content script</a></li>
<li><a href="#style">Setting up the style script</a></li>
<li><a href="#instance">Setting up the instance script</a></li>
</ul>
</td>
<td>
<ul>
<li><a href="#nonframe">Setting up a non-frame menu page</a></li>
<li><a href="#crossframe">Setting up a cross-frame menu page</a></li>
<li><a href="#default">Default settings</a></li>
<li><a href="#userfunction">User functions</a></li>
</ul>
</td>
</tr>
</table><br clear="all">

<a name="zip">&nbsp;</a>
<ul><li>Menu G5 package content ... [ <a href="#top">top</a> ]</li>
<p class="para">Once unzipped, you should find the following directories and files:</p>
<pre>
- css ... contains a CSS file used by Menu G5 pages (not used by the menus)

- examples ... contains Menu G5 example pages and CSS files
    - images ... contains image files used by Menu G5 examples
    - menu ... contains JS files used by Menu G5 examples

- faq ... contains documents on Menu G5

- script ... contains Menu G5 scripts

- index.html
</pre>
</ul>

<a name="files">&nbsp;</a>
<ul><li>Files to upload to your site ... [ <a href="#top">top</a> ]</li>
<p class="para">The files under the "script" directory should be uploaded to your site, and be placed under the same directory (the name of the directory doesn't matter). Or you can simply upload the "script" directory.</p>
</ul>

<a name="browser">&nbsp;</a>
<ul><li>Browser support ... [ <a href="#top">top</a> ]</li>
<p class="para">Menu G5 supports the following browsers:</p>
<pre>
- IE5+/Win

- Gecko Browsers (Netscape6+, Mozilla, Mozilla Firebird & Firefox, Camino, etc.)

- Opera7x
</pre>
</ul>

<a name="terms">&nbsp;</a>
<ul><li>Conventions and terms ... [ <a href="#top">top</a> ]</li>
<p>
<table cellspacing="1" cellpadding="0" bgcolor="#666666"><tr bgcolor="#ffffff"><td>
<table cellspacing="1" cellpadding="6" bgcolor="#ffffff">
<tr valign="top" bgcolor="#f0f0f0">
<td nowrap>Compact version&nbsp;:&nbsp;</td>
<td>
<p>Menu G5 provides some compact versions of scripts to reduce file size and save bandwidth. A compact version script is non reading-friendly. In most cases, a menu page should use compact version scripts.</p>
</td>
</tr>

<tr valign="top" bgcolor="#f0f0ff">
<td nowrap>Loader script&nbsp;:&nbsp;</td>
<td>
<p>Refers to one of the following scripts:<br>- menuG5Loader.js ... non-frame loader script<br>- menuG5LoaderX.js ... compact version<br>- menuG5LoaderFS.js ... cross-frame loader script<br>- menuG5LoaderFSX.js ... compact version</p>
<p>which could be found under the "script" directory of the Menu G5 package.</p>
<p>A loader script should be included in a menu page, it detects the client browser and loads a function script accordingly.</p>
</td>
</tr>

<tr valign="top" bgcolor="#f0f0f0">
<td nowrap>Function script&nbsp;:&nbsp;</td>
<td>
<p>Refers to one of the following scripts:<br>- menuG5IE.js <br>- menuG5IEX.js <br>- menuG5Gecko.js <br>- menuG5GeckoX.js <br>- menuG5Opera.js <br>- menuG5OperaX.js ... above are the non-frame function scripts</p>
<p>- menuG5IEFS.js <br>- menuG5IEFSX.js <br>- menuG5GeckoFS.js <br>- menuG5GeckoFSX.js <br>- menuG5OperaFS.js <br>- menuG5OperaFSX.js ... above are the cross-frame function scripts</p>
<p>which could be found under the "script" directory of the Menu G5 package.</p>
<p>A menu page does NOT include a function script explicitly, which will be loaded by a loader script to handle browser differences.</p>
</td>
</tr>

<tr valign="top" bgcolor="#f0f0ff">
<td nowrap>Frame control script&nbsp;:&nbsp;</td>
<td>
<p>Refers to one of the following scripts:<br>- menuG5F.js<br>- menuG5FX.js ... the compact version</p>
<p>which could be found under the "script" directory of the Menu G5 package.</p>
<p>The frame control script is optional for cross-frame setup, it provides shortcuts to call functions defined in the cross-frame loader script that is included in a frameset page. Usually the frame that shows the top-menu of a cross-frame menu will include the frame control script for convenience and better control.</p>
</td>
</tr>

<tr valign="top" bgcolor="#f0f0f0">
<td nowrap>Non-frame menu&nbsp;:&nbsp;</td>
<td>
<p>A menu built with the non-frame loader script and the non-frame function scripts. It's not necessarily to be in a non-frame page. A framed page can have a non-frame menu.</p>
</td>
</tr>

<tr valign="top" bgcolor="#f0f0ff">
<td nowrap>Cross-frame menu&nbsp;:&nbsp;</td>
<td>
<p>A menu built with the cross-frame loader script and the cross-frame function scripts. The loader script should be included in a frameset page and menus can then be built and split into any nested frame.</p>
<p>The frameset page that includes the cross-frame loader script is not necessarily to be the top frameset page, and the frame with a cross-frame menu is not necessarily to be the immediate child frame of the frameset.</p>
<p>A cross-frame menu can only be split into at most two frames. If a cross-frame menu is split into two frames, one frame will show the top-menu and usually include the frame control script, the other frame will show the sub-menus and usually doesn't need to include any Menu G5 scripts.</p>
<p>A cross-frame menu is not always split into two frames, the whole menu can be built just inside one frame.</p>
<p>A non-frame menu and a cross-frame menu can be built with the same menu content. Framed or non-framed is just the presentation, it's separated from the menu logic (the content).</p>
<p>One page can only have either non-frame menus or cross-frame menus.</p>
</td>
</tr>

<tr valign="top" bgcolor="#f0f0f0">
<td nowrap>Path script&nbsp;:&nbsp;</td>
<td>
<p>For a loader script to locate a function script, the web path of the "script" directory (or the directory you created to store the function scripts) should be defined.</p>
<p>The definition could be embedded directly into the HTML page, or be put in an external JS script and included into the page. This definition should appear in a page source code prior to the loader script.</p>
<p>We usually want to overwrite some default settings in Menu G5, and for convenience of maintenance, we often use an external JS script to store the web path definition and other settings, and refer to this JS script as the path script.</p>
</td>
</tr>

<tr valign="top" bgcolor="#f0f0ff">
<td nowrap>Content script&nbsp;:&nbsp;</td>
<td>
<p>To build a menu with Menu G5, we will need to define the menu content and the menu styles, then set up menu instances with the menu content and menu styles.</p>
<p>Similar to the path script, we can embed directly the definition of a menu content into the page, or put it in an external JS script then include it into the page.</p>
</td>
</tr>

<tr valign="top" bgcolor="#f0f0f0">
<td nowrap>Style script&nbsp;:&nbsp;</td>
<td>
<p>Likewise, we can embed directly the definition of menu styles into the page, or put it in an external JS script then include it into the page.</p>
</td>
</tr>

<tr valign="top" bgcolor="#f0f0ff">
<td nowrap>Instance script&nbsp;:&nbsp;</td>
<td>
<p>Again, we can embed directly the definition of the menu instances into the page, or put it in an external JS script then include it into the page.</p>
<p>It's not necessary to always separate the definitions of menu content, menu styles and menu instances into three different scripts. They can be combined into one JS script, just make sure that the content goes first, followed by the styles then the instances.</p>
</td>
</tr>
</table>
</td></tr></table>
</p>
</ul>

<a name="path">&nbsp;</a>
<ul><li>Setting up the path script ... [ <a href="#top">top</a> ]</li>
<p class="para">Following are the settings we can put into a path script:</p>
<ul>
<li>Web path of the "script" directory (required):</li>
<pre>
var scriptPath="../script/";
</pre>
<p>The web path could be an absolute path or a relative path (based on the path of the page that includes the path script). It should end with a "/".</p>

<br><li>Web path of the content script (optional):</li>
<pre>
var contentScript="menu/content.js";
</pre>
<p>Instead of including it into the page manually, we can set up a "contentScript" line in the path script to have the loader script load it for us.</p>
<p>If a relative path is used, it would be based on the path of the page that includes the loader script.</p>

<br><li>Web path of the style script (optional):</li>
<pre>
var styleScript="menu/style.js";
</pre>
<p>Instead of including it into the page manually, we can set up a "styleScript" line in the path script to have the loader script load it for us.</p>

<br><li>Web path of the instance script (optional):</li>
<pre>
var instanceScript="menu/instance.js";
</pre>
<p>Instead of including it into the page manually, we can set up a "instanceScript" line in the path script to have the loader script load it for us.</p>

<br><li>Menu timer (optional):</li>
<pre>
var menuTimer=500;
</pre>
<p>The menu timer defines the delay in ms from a sub-menu item being mouseovered to its sub-menu showing up, as well as the delay from a out-of-border long menu being mouseovered to it starting to scroll in.</p>
<p>It also sets the delay from a sub-menu being mouseout to the sub-menu going off, which would be two times of the value set (that's 1000 in this case).</p>

<br><li>Floating timer (optional):</li>
<pre>
var floatTimer=100;
</pre>
<p>The floating timer defines the interval in ms for a floating menu to relocate the position, as well as the interval for a out-of-border long menu to scroll in.</p>

<br><li>Floating offset (optional):</li>
<pre>
var floatOffset=1;
</pre>
<p>The floating offset defines how fast a floating menu should move to its target position. The larger the value is set, the slower (or smoother) the menu moves.</p>

<br><li>Base z-index (optional):</li>
<pre>
var zBase=2;
</pre>
<p>The base z-index sets the minimum z-index for the menu layers, so that if you have other DHTML layers in a page, you can adjust this setting to have the menus stay on top of them.</p>

<br><li>Menu margin (optional):</li>
<pre>
var menuMargin=1;
</pre>
<p>A sub-menu will try to stay-in-view inside the browser window. The menu margin sets the margin in pixels from the browser border that a sub-menu tries to stay away.</p>

<br><li>Show message (optional):</li>
<pre>
var showMessage=1;
</pre>
<p>By default Menu G5 shows messages at the browser status bar when the menu content is parsed, or a menu instance is initialized or a menu item is mouseovered. Setting the value to 0 will disable the display of messages.</p>

<br><li>Show tooltip (optional):</li>
<pre>
var showToolTip=1;
</pre>
<p>This line would have Menu G5 show the tooltip when a menu item is mouseovered.</p>

<br><li>Inherit styles from parent menu (optional):</li>
<pre>
var inheritStyle=1;
</pre>
<p>If a sub-menu doesn't have some menu styles defined for it, it will inherit the menu styles from the parent menu.</p>
<p>In Menu G5 you can define some default menu styles. When this line is set to 0, a sub-menu without menu style would use the default styles.</p>

<br><li>Minimum item width (optional):</li>
<pre>
var minimumWidth=0;
</pre>
<p>In Menu G5, you can specify the width for menu items or let Menu G5 figure out by itself the minimum width to fit the menu items at each level of menus. When you don't specify a width and this line is set to a non-zero value, Menu G5 will not use a width less than that.</p>

<br><li>One-pixel transparent GIF (optional):</li>
<pre>
var onePixelGIF="images/my-one-pixel.gif";
</pre>
<p>Menu G5 will use a one-pixel transparent GIF file in menu rendering. The Menu G5 package comes with such a GIF file which can be found under the "script" directory. By setting up this line, you can have Menu G5 use your own one-pixel GIF file.</p>

<br><li>Base frameset (optional, for cross-frame only):</li>
<pre>
var baseFrameset=top.another_frameset;
</pre>
<p>As mentioned earlier, the frameset that includes the cross-frame loader script is not necessary to be the top frameset, we usually call this frameset the control frameset. By default the control frameset would be the base for Menu G5 to locate a target frame when a menu item is clicked. If the target frame is not nested inside the control frameset, you can set up this line to specify a frameset for Menu G5 to look for the target frame.</p>
<p>A target frame can be nested at any frameset level. If the target frame is not found, a link will be opened in a new window named with the target frame name.</p>

<br><li>Page to be loaded when browser is not supported (optional):</li>
<pre>
var nonMenuPage=URL;
</pre>
<p>When a browser not supported by Menu G5 is detected, the defined URL will be loaded.</p>

<br><li>Safari support switch (optional):</li>
<pre>
var supportSafari=0;
</pre>
<p>Put on this line when you want to turn off support of Safari.</p>

<br><li>IE/Mac support switch (optional):</li>
<pre>
var supportIEMac=0;
</pre>
<p>Put on this line when you want to turn off support of IE on Mac.</p>

</ul>
</ul>

<a name="content">&nbsp;</a>
<ul><li>Setting up the content script ... [ <a href="#top">top</a> ]</li>
<p class="para">The names used in definitions of menus and sub-menus should be unique. The following function calls can be used to set up a menu content:</p>
<ul>
<li>Define a menu:</li>
<pre>
addMenu("menu-name", "top-menu-name");
</pre>
<p>More than one menu can be defined in a menu content script and each menu would start with the addMenu() call. If the "menu-name" is already defined, the addMenu() call will delete the existing menu content and re-create one from scratch.</p>

<br><li>Define a link item:</li>
<pre>
addLink("top/sub-menu-name", "item text", "item msg", "URL", "group-id");
addLink("top/sub-menu-name", "item text", "item msg", "URL", "group-id", "target-frame-name");
</pre>
<p>Usually a generic target frame can be defined with the menu instance, the second addLink() call is for cross-frame menus as a shortcut to define a target frame rather than the generic one for some links. The target frame parameter will be ignored by non-frame menus.</p>

<br><li>Define a command item:</li>
<pre>
addCommand("top/sub-menu-name", "item text", "item msg", "JS-codes", "group-id");
addLink("top/sub-menu-name", "item text", "item msg", "javascript:JS-codes", "group-id");
</pre>
<p>To open a link in a new window in non-frame menus, you can use:</p>
<pre>
addCommand("sub-menu-name", "item text", "item msg", "window.open('URL', 'window-name')", "group-id");
addLink("sub-menu-name", "item text", "item msg", "javascript:window.open('URL', 'window-name')", "group-id");
</pre>

<br><li>Define a sub-menu item:</li>
<pre>
addSubMenu("top/sub-menu-name", "item text", "item msg", "URL", "sub-menu-name", "group-id");
addSubMenu("top/sub-menu-name", "item text", "item msg", "URL", "sub-menu-name", "group-id", "target-frame-name");
</pre>
<p>The "URL" parameter is optional. If set, clicking on a sub-menu item can also launch a link.</p>

<br><li>Define an info item:</li>
<pre>
addInfo("top/sub-menu-name", "info content", "group-id");
</pre>
<p>HTML codes can be used as info content.</p>

<br><li>Define a separator item:</li>
<pre>
addSeparator("top/sub-menu-name", "group-id");
</pre>
</ul>
</ul>

<a name="style">&nbsp;</a>
<ul><li>Setting up the style script ... [ <a href="#top">top</a> ]</li>
<p class="para">The following function calls can be used to set up the menu styles:</p>
<ul>
<li>Define a pad style:</li>
<pre>
addStylePad("pad-style-name", "pad-style-phrases");
</pre>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
91麻豆精品久久久久蜜臀| **欧美大码日韩| 国产精品色婷婷| 日韩精品一二区| 99re这里只有精品6| 日韩欧美一区在线| 亚洲精品videosex极品| 国产成人在线影院 | 亚洲一区成人在线| 国产精品亚洲成人| 欧美精品电影在线播放| 最新中文字幕一区二区三区| 麻豆精品一二三| 欧美蜜桃一区二区三区| 中文字幕亚洲一区二区av在线| 久久精品av麻豆的观看方式| 欧美视频中文字幕| ...xxx性欧美| 成人综合在线观看| 久久伊人中文字幕| 久久综合综合久久综合| 6080日韩午夜伦伦午夜伦| 亚洲一卡二卡三卡四卡五卡| 色94色欧美sute亚洲线路一久| 国产人成亚洲第一网站在线播放| 日韩av网站免费在线| 欧美日韩精品一区二区| 亚洲综合激情另类小说区| av在线不卡免费看| 国产精品国产三级国产普通话99| 国产成人鲁色资源国产91色综| 日韩一区二区免费电影| 免费高清成人在线| 日韩美女在线视频| 精品制服美女久久| 久久亚洲一区二区三区明星换脸| 极品少妇xxxx精品少妇| 精品88久久久久88久久久| 久久9热精品视频| 26uuu精品一区二区三区四区在线| 蜜臂av日日欢夜夜爽一区| 91精品国产入口| 麻豆精品视频在线观看| 精品国产网站在线观看| 经典一区二区三区| 国产精品欧美极品| 色哟哟国产精品免费观看| 亚洲国产精品久久久久秋霞影院| 欧美猛男超大videosgay| 日本中文字幕一区二区视频 | 97久久超碰精品国产| 一区二区三区欧美在线观看| 欧美三级在线看| 麻豆国产91在线播放| 国产午夜精品理论片a级大结局| 不卡免费追剧大全电视剧网站| 亚洲女厕所小便bbb| 91精品国产一区二区三区| 国产在线观看免费一区| 国产精品美女久久久久久 | 亚洲日本青草视频在线怡红院| 91行情网站电视在线观看高清版| 青娱乐精品在线视频| 国产欧美日韩在线看| 欧美性xxxxxxxx| 激情欧美一区二区| 国产精品国产三级国产aⅴ中文| 精品视频在线免费观看| 国产真实乱子伦精品视频| 亚洲特级片在线| 日韩一区二区电影| 91蝌蚪porny| 久88久久88久久久| 亚洲一卡二卡三卡四卡五卡| 久久综合狠狠综合| 欧美老女人第四色| 成人黄色电影在线| 麻豆精品视频在线观看免费| 亚洲视频在线一区观看| 8x8x8国产精品| 成人精品国产一区二区4080| 午夜不卡在线视频| 亚洲素人一区二区| 久久精品视频在线免费观看| 欧美最猛性xxxxx直播| 粉嫩av亚洲一区二区图片| 日日摸夜夜添夜夜添国产精品| 中文字幕中文字幕中文字幕亚洲无线| 欧美老肥妇做.爰bbww视频| 99视频一区二区| 国产一区欧美一区| 日本亚洲免费观看| 一区二区在线观看不卡| 欧美激情中文不卡| 欧美mv日韩mv亚洲| 91精品国产综合久久久久久漫画| 色综合久久精品| 9久草视频在线视频精品| 激情五月婷婷综合| 男男视频亚洲欧美| 亚洲1区2区3区视频| 一区二区三区影院| 亚洲欧美乱综合| 国产精品久线观看视频| 久久九九久精品国产免费直播| 日韩精品一区二区在线观看| 3atv一区二区三区| 欧美老女人第四色| 欧美日韩精品一区二区三区| 欧美午夜电影在线播放| 色偷偷成人一区二区三区91| 91亚洲国产成人精品一区二三 | 奇米精品一区二区三区四区| 亚洲国产成人高清精品| 夜夜精品浪潮av一区二区三区| 亚洲精品免费看| 一区二区三区四区av| 亚洲午夜久久久久久久久电影院 | 在线免费视频一区二区| 97se亚洲国产综合在线| 97久久超碰精品国产| 色国产综合视频| 欧美影视一区在线| 欧美放荡的少妇| 日韩免费高清视频| 久久久青草青青国产亚洲免观| 国产香蕉久久精品综合网| 国产女人18毛片水真多成人如厕 | 亚洲国产精品久久不卡毛片| 亚洲国产精品麻豆| 蜜臀a∨国产成人精品| 蜜臀av性久久久久蜜臀aⅴ| 狠狠狠色丁香婷婷综合激情| 国产精品18久久久久久久久久久久 | 一区二区国产视频| 五月天一区二区三区| 老汉av免费一区二区三区 | 国产精品乱人伦| 亚洲人吸女人奶水| 爽好久久久欧美精品| 国产在线视频不卡二| av成人老司机| 91精品午夜视频| 亚洲国产高清aⅴ视频| 一区二区在线观看免费视频播放 | 精品国产精品网麻豆系列 | 亚洲一区二区欧美| 麻豆成人av在线| a4yy欧美一区二区三区| 欧美日韩国产美| 久久久久久久久久看片| 亚洲欧美日韩国产一区二区三区 | 日韩二区三区四区| 国产成人亚洲综合a∨猫咪| 色欧美片视频在线观看| 91.xcao| 成人免费小视频| 奇米精品一区二区三区在线观看一| 粉嫩13p一区二区三区| 6080日韩午夜伦伦午夜伦| 中文字幕免费观看一区| 亚洲大型综合色站| 成人网页在线观看| 欧美一级片在线看| 亚洲美女在线一区| 国产高清视频一区| 91精品国产综合久久精品性色| 亚洲国产精品99久久久久久久久| 日韩电影一区二区三区| 一本到一区二区三区| 久久婷婷久久一区二区三区| 亚洲电影一区二区| 92国产精品观看| 国产婷婷精品av在线| 蜜臀精品一区二区三区在线观看| 色94色欧美sute亚洲线路二| 国产欧美日韩亚州综合| 毛片av一区二区| 91精品国产综合久久久久久| 一区二区三区中文字幕| 成人深夜福利app| 久久日韩精品一区二区五区| 亚洲国产色一区| 91首页免费视频| 中文一区二区完整视频在线观看| 看电视剧不卡顿的网站| 欧美一级久久久久久久大片| 亚洲成人免费视频| 欧美性受xxxx黑人xyx性爽| 18欧美乱大交hd1984| 成人精品视频.| 国产午夜精品久久| 国产高清一区日本| 久久日韩粉嫩一区二区三区 | 青娱乐精品在线视频| 欧美久久久久久久久久| 午夜久久久影院| 在线播放欧美女士性生活| 亚洲成人在线观看视频| 欧美日韩国产精品自在自线|