aboutsummaryrefslogtreecommitdiffstats
path: root/tests/visual/selectmenu
diff options
context:
space:
mode:
authorFelix Nagel <info@felixnagel.com>2012-07-13 00:30:47 +0200
committerFelix Nagel <info@felixnagel.com>2012-07-13 00:30:47 +0200
commitc7e9906cd0816d228fc321cf9d777e0d8909ef90 (patch)
tree2fea6e5e727b9e7eae5378c0e5f762fd65d2e3f8 /tests/visual/selectmenu
parent001bd3d5029da349ed0a5cded034ce623c5a32a2 (diff)
downloadjquery-ui-c7e9906cd0816d228fc321cf9d777e0d8909ef90.tar.gz
jquery-ui-c7e9906cd0816d228fc321cf9d777e0d8909ef90.zip
Selectmenu: added complex menu demo to compatibility visual test
Diffstat (limited to 'tests/visual/selectmenu')
-rw-r--r--tests/visual/selectmenu/compatibility.html62
1 files changed, 62 insertions, 0 deletions
diff --git a/tests/visual/selectmenu/compatibility.html b/tests/visual/selectmenu/compatibility.html
index 78657e433..d06a96ec9 100644
--- a/tests/visual/selectmenu/compatibility.html
+++ b/tests/visual/selectmenu/compatibility.html
@@ -47,6 +47,12 @@
});
$( "#tabs" ).tabs();
$( "#dialog" ).dialog();
+ $( "#menu" ).menu({
+ position: { of: "ul:has(a.ui-state-focus):last" },
+ icons: {
+ submenu: "ui-icon-carat-1-e"
+ }
+ });
});
</script>
<style>
@@ -56,6 +62,7 @@
label { display: block; }
select { width: 200px; }
#tabs { margin: 50px 0 0 0 }
+ #menu { width: 150px; margin: 50px 0 0 0 }
</style>
</head>
<body>
@@ -67,6 +74,61 @@
<input id="tags">
</div>
+
+<ul id="menu">
+ <li><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><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="#">Adamsville</a>
+ <ul>
+ <li><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><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>
+ </ul>
+ </li>
+ <li><a href="#">Perch</a>
+ <ul>
+ <li><a href="#">Addyston</a></li>
+ <li><a href="#">Delphi</a></li>
+ <li><a href="#">Perch</a></li>
+ </ul>
+ </li>
+ </ul>
+ </li>
+</ul>
+
<div id="tabs">
<ul>
<li><a href="#tabs-1">Nunc tincidunt</a></li>