summaryrefslogtreecommitdiffstats
path: root/apps/it/static/js/ui/demos/menu
diff options
context:
space:
mode:
Diffstat (limited to 'apps/it/static/js/ui/demos/menu')
-rw-r--r--apps/it/static/js/ui/demos/menu/default.html67
-rw-r--r--apps/it/static/js/ui/demos/menu/icons.html44
-rw-r--r--apps/it/static/js/ui/demos/menu/index.html15
3 files changed, 126 insertions, 0 deletions
diff --git a/apps/it/static/js/ui/demos/menu/default.html b/apps/it/static/js/ui/demos/menu/default.html
new file mode 100644
index 0000000..d44b18b
--- /dev/null
+++ b/apps/it/static/js/ui/demos/menu/default.html
@@ -0,0 +1,67 @@
+<!doctype html>
+<html lang="en">
+<head>
+ <meta charset="utf-8">
+ <title>jQuery UI Menu - Default functionality</title>
+ <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
+ <script src="../../jquery-1.10.2.js"></script>
+ <script src="../../ui/jquery.ui.core.js"></script>
+ <script src="../../ui/jquery.ui.widget.js"></script>
+ <script src="../../ui/jquery.ui.position.js"></script>
+ <script src="../../ui/jquery.ui.menu.js"></script>
+ <link rel="stylesheet" href="../demos.css">
+ <script>
+ $(function() {
+ $( "#menu" ).menu();
+ });
+ </script>
+ <style>
+ .ui-menu { width: 150px; }
+ </style>
+</head>
+<body>
+
+<ul id="menu">
+ <li class="ui-state-disabled"><a href="#">Aberdeen</a></li>
+ <li><a href="#">Ada</a></li>
+ <li><a href="#">Adamsville</a></li>
+ <li><a href="#">Addyston</a></li>
+ <li>
+ <a href="#">Delphi</a>
+ <ul>
+ <li class="ui-state-disabled"><a href="#">Ada</a></li>
+ <li><a href="#">Saarland</a></li>
+ <li><a href="#">Salzburg</a></li>
+ </ul>
+ </li>
+ <li><a href="#">Saarland</a></li>
+ <li>
+ <a href="#">Salzburg</a>
+ <ul>
+ <li>
+ <a href="#">Delphi</a>
+ <ul>
+ <li><a href="#">Ada</a></li>
+ <li><a href="#">Saarland</a></li>
+ <li><a href="#">Salzburg</a></li>
+ </ul>
+ </li>
+ <li>
+ <a href="#">Delphi</a>
+ <ul>
+ <li><a href="#">Ada</a></li>
+ <li><a href="#">Saarland</a></li>
+ <li><a href="#">Salzburg</a></li>
+ </ul>
+ </li>
+ <li><a href="#">Perch</a></li>
+ </ul>
+ </li>
+ <li class="ui-state-disabled"><a href="#">Amesville</a></li>
+</ul>
+
+<div class="demo-description">
+<p>A menu with the default configuration, disabled items and nested menus. A list is transformed, adding theming, mouse and keyboard navigation support. Try to tab to the menu then use the cursor keys to navigate.</p>
+</div>
+</body>
+</html>
diff --git a/apps/it/static/js/ui/demos/menu/icons.html b/apps/it/static/js/ui/demos/menu/icons.html
new file mode 100644
index 0000000..daa66c3
--- /dev/null
+++ b/apps/it/static/js/ui/demos/menu/icons.html
@@ -0,0 +1,44 @@
+<!doctype html>
+<html lang="en">
+<head>
+ <meta charset="utf-8">
+ <title>jQuery UI Menu - Icons</title>
+ <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
+ <script src="../../jquery-1.10.2.js"></script>
+ <script src="../../ui/jquery.ui.core.js"></script>
+ <script src="../../ui/jquery.ui.widget.js"></script>
+ <script src="../../ui/jquery.ui.position.js"></script>
+ <script src="../../ui/jquery.ui.menu.js"></script>
+ <link rel="stylesheet" href="../demos.css">
+ <script>
+ $(function() {
+ $( "#menu" ).menu();
+ });
+ </script>
+ <style>
+ .ui-menu { width: 150px; }
+ </style>
+</head>
+<body>
+
+<ul id="menu">
+ <li><a href="#"><span class="ui-icon ui-icon-disk"></span>Save</a></li>
+ <li><a href="#"><span class="ui-icon ui-icon-zoomin"></span>Zoom In</a></li>
+ <li><a href="#"><span class="ui-icon ui-icon-zoomout"></span>Zoom Out</a></li>
+ <li class="ui-state-disabled"><a href="#"><span class="ui-icon ui-icon-print"></span>Print...</a></li>
+ <li>
+ <a href="#">Playback</a>
+ <ul>
+ <li><a href="#"><span class="ui-icon ui-icon-seek-start"></span>Prev</a></li>
+ <li><a href="#"><span class="ui-icon ui-icon-stop"></span>Stop</a></li>
+ <li><a href="#"><span class="ui-icon ui-icon-play"></span>Play</a></li>
+ <li><a href="#"><span class="ui-icon ui-icon-seek-end"></span>Next</a></li>
+ </ul>
+ </li>
+</ul>
+
+<div class="demo-description">
+<p>A menu with the default configuration, showing how to use a menu with icons.</p>
+</div>
+</body>
+</html>
diff --git a/apps/it/static/js/ui/demos/menu/index.html b/apps/it/static/js/ui/demos/menu/index.html
new file mode 100644
index 0000000..40e9e0b
--- /dev/null
+++ b/apps/it/static/js/ui/demos/menu/index.html
@@ -0,0 +1,15 @@
+<!doctype html>
+<html lang="en">
+<head>
+ <meta charset="utf-8">
+ <title>jQuery UI Menu Demos</title>
+</head>
+<body>
+
+<ul>
+ <li><a href="default.html">Default functionality</a></li>
+ <li><a href="icons.html">Icons</a></li>
+</ul>
+
+</body>
+</html>