[ Mini Kiebo ]
Server: Windows NT DESKTOP-5B8S0D4 6.2 build 9200 (Windows 8 Professional Edition) i586
Path:
D:
/
Backup
/
05122024
/
htdocs
/
simpeg
/
administrator
/
zpmenu
/
demo
/
[
Home
]
File: external.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 load menu from external source on the server. Server side script should return HTML fragment from which to initialize menu. This demo loads menu from external_source.html file. Loading menu from external source requires to specify source as relative or absolute URL, 'html/url' sourceType, container element where menu should be placed. If absolute URL is used, external source must be in the same domain as the page where menu is installed. Source of external file used in this demo (opens in new window). "> <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 - Menu Loaded from External Source</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"> </head> <body> <div class='zpCalSubHeader' style='text-align:center;'>Menu Loaded from External Source</div> <div class='zpCalDemoText'> <ul> <li>You can load menu from external source on the server.</li> <li>Server side script should return HTML fragment from which to initialize menu.</li> <li>This demo loads menu from external_source.html file.</li> <li>Loading menu from external source requires to specify source as relative or absolute URL, "html/url" sourceType, container element where menu should be placed.</li> <li>If absolute URL is used, external source must be in the same domain as the page where menu is installed.</li> <li><a href="external_source.txt" target="_blank">Source</a> of external file used in this demo (opens in new window).</li> </ul> </div> <div id="menuContainer"></div> <script type="text/javascript"> var menu = new Zapatec.Menu({ theme: 'rounded', source: 'external_source.txt', sourceType: 'html/url', container: 'menuContainer' }); </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>