[ Mini Kiebo ]
Server: Windows NT DESKTOP-5B8S0D4 6.2 build 9200 (Windows 8 Professional Edition) i586
Path:
D:
/
xampp182
/
htdocs
/
simpeg
/
zapatec
/
zpmenu
/
zpmenu
/
demo
/
[
Home
]
File: disabled.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd"> <html> <head> <meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8"> <meta name="description" content=" You can dynamically disable and/or enable menu items using menu.itemDisable and menu.itemEnable. A typical use of this feature is to disable a link to the current page in a navigation menu. When a menu item is disabled, the user can not activate the item. In plain HTML, you can disable a menu item by adding the "zpMenuDisabled" class to the <li> tag. To disable a menu item in a Zapatec menu, you can call the menu.itemDisable(ID) method, where the menu is the variable for the Zapatec Menu and the ID argument is the ID of the <li> item. This demo has disabled Help and File-->New. "> <meta name="keywords" content="dhtml tools,javascript,DHTML Tools,Javascript,ajax,AJAX,Ajax,ajax tools,AJAX Tools,tools controls,simple javascript tools"> <title>Zapatec DHTML Menu Widget - Disabled Menu Items</title> <!-- Common JS files --> <script type='text/javascript' src='../../utils/zapatec.js'></script> <!-- Custom includes --> <script type="text/javascript" src="../src/zpmenu.js"></script> <!-- ALL demos need these css --> <link href="../../website/css/zpcal.css" rel="stylesheet" type="text/css"> <link href="../../website/css/template.css" rel="stylesheet" type="text/css"> <style type="text/css"> body { width: 778px; } </style> <link rel="SHORTCUT ICON" href="http://www.zapatec.com/website/main/favicon.ico"> <script type="text/javascript"> var menu; var funcOnInit = function() { menu.itemDisable('new'); menu.itemDisable('help'); } </script> </head> <body> <div class='zpCalSubHeader' style='text-align:center;'>Disabled Menu Items</div> <div class='zpCalDemoText'> <ul> <li>You can dynamically disable and/or enable menu items using menu.itemDisable and menu.itemEnable.</li> <li>A typical use of this feature is to disable a link to the current page in a navigation menu.</li> <li>When a menu item is disabled, the user can not activate the item.</li> <li>In plain HTML, you can disable a menu item by adding the "zpMenuDisabled" class to the <li> tag. <li>To disable a menu item in a Zapatec menu, you can call the menu.itemDisable(ID) method, where the menu is the variable for the Zapatec Menu and the ID argument is the ID of the <li> item. <li>This demo has disabled Help and File-->New.</li> </ul> </div> <ul id="myMenu" style="display:none"> <li id='file'> <a href="#">File</a><br> <ul> <li id='new'> <img border='0' src='../themes/icon/icon_new.gif'> <a href='#'>New...</a> </li> <li> <img border='0' src='../themes/icon/icon_open.gif'> <a href="#">Open</a></li> <li><hr> </li> <li> <a href="#">Send To</a><img border='0' src='../themes/icon/icon_blank.gif'> <ul> <li><img border='0' src='../themes/icon/icon_mailrecipient.gif'><a href="#">Mail Recipient</a></li> <li><img border='0' src='../themes/icon/icon_routing.gif'><a href="#">Routing Recipient</a></li> <li><img border='0' src='../themes/icon/icon_exchange.gif'><a href="#">Exchange Folder</a></li> <li><hr> </li> <li><img border='0' src='../themes/icon/icon_powerpoint.gif'><a href="#">Microsoft Power Point</a></li> </ul> </li> <li><img border='0' src='../themes/icon/icon_save.gif'> <a href="#">Save</a></li> <li><img border='0' src='../themes/icon/icon_blank.gif'> <a href="#">Save As</a></li> <li><img border='0' src='../themes/icon/icon_save_asweb.gif'> <a href="#">Save As Web Page</a> </li> <li><img border='0' src='../themes/icon/icon_filesearch.gif'> <a href="#">File Search</a></li> <li><hr> </li> <li><img border='0' src='../themes/icon/icon_blank.gif'> <a href="#">Page Setup...</a></li> <li><img border='0' src='../themes/icon/icon_printpreview.gif'> <a href="#">Print Preview</a> </li> <li><img border='0' src='../themes/icon/icon_print.gif'> <a href="#">Print...</a></li> <li><hr> </li> <li><img border='0' src='../themes/icon/icon_blank.gif'> <a href="#">Exit</a></li> </ul> </li> <li id='edit'> <a href="#">Edit</a><br> <ul> <li><img border='0' src='../themes/icon/icon_cut.gif'> <a href='#'>Cut</a> </li> <li><img border='0' src='../themes/icon/icon_copy.gif'> <a href="#">Copy</a> </li> <li><img border='0' src='../themes/icon/icon_office.gif'> <a href='#'>Office Clipboard...</a> </li> <li><img border='0' src='../themes/icon/icon_paste.gif'> <a href="#">Paste</a> </li> <li><hr> </li> <li><img border='0' src='../themes/icon/icon_find.gif'> <a href="#">Find...</a> </li> <li><img border='0' src='../themes/icon/icon_blank.gif'> <a href="#">Clear</a> <ul> <li><img border='0' src='../themes/icon/icon_blank.gif'><a href="#">Format</a></li> <li><img border='0' src='../themes/icon/icon_blank.gif'><a href="#">Content</a></li> </ul> </li> </ul> </li> <li> <a href="#">View</a><br> <ul> <li><img border='0' src='../themes/icon/icon_normal.gif'> <a href='#'>Normal</a> </li> <li><img border='0' src='../themes/icon/icon_web.gif'> <a href="#">Web Layout</a> </li> <li><img border='0' src='../themes/icon/icon_reading.gif'> <a href='#'>Reading Layout</a> </li> <li><img border='0' src='../themes/icon/icon_outline.gif'> <a href="#">Outline</a> </li> <li><hr> </li> <li><img border='0' src='../themes/icon/icon_docmap.gif'> <a href="#">Document Map</a> </li> <li><img border='0' src='../themes/icon/icon_thumb.gif'> <a href="#">Thumbnail</a> </li> <li><img border='0' src='../themes/icon/icon_hf.gif'> <a href="#">Header and Footer</a> </li> </ul> </li> <li id='help'> <a href="#">Help</a><br> <ul> <li><img border='0' src='../themes/icon/icon_help.gif'> <a href='#'>Online Help</a> </li> <li><img border='0' src='../themes/icon/icon_blank.gif'> <a href="#">Assistance</a> </li> <li><img border='0' src='../themes/icon/icon_blank.gif'> <a href='#'>Check for Update</a> </li> <li><img border='0' src='../themes/icon/icon_blank.gif'> <a href="#">Register</a> </li> <li><img border='0' src='../themes/icon/icon_blank.gif'> <a href="#">About Us</a> </li> </ul> </li> </ul> <script type="text/javascript"> var menu = new Zapatec.Menu({theme: 'rounded', source: 'myMenu', onInit: funcOnInit}); </script> <noscript> <br/> This page uses an <a href='http://www.zapatec.com/website/main/products/suite/'> AJAX Component</a> - Zapatec DHTML Menu Widget, but your browser does not support Javascript. <br/> <br/> </noscript> <br/><br/><br/> <div class="footer" style='width: 778px; text-align:center; margin-top:2em'> © 2004-2007 <strong> <a href='http://www.zapatec.com/'>Zapatec, Inc.</a> </strong> </div> </body> </html>