diff options
author | Scott González <scott.gonzalez@gmail.com> | 2011-03-23 10:28:54 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2011-03-23 10:28:54 -0400 |
commit | 6af1e7a51d8929d8d50ffa21dff2885be3a2963a (patch) | |
tree | e8b4d67decae004bf769c59d25fc6e51c0d5840d | |
parent | d847a1ee204cf2a630504e952659514f586ad549 (diff) | |
download | jquery-ui-6af1e7a51d8929d8d50ffa21dff2885be3a2963a.tar.gz jquery-ui-6af1e7a51d8929d8d50ffa21dff2885be3a2963a.zip |
Autocomplete: Removed visual test pages.
-rw-r--r-- | tests/visual/autocomplete/autocomplete.html | 80 |
1 files changed, 0 insertions, 80 deletions
diff --git a/tests/visual/autocomplete/autocomplete.html b/tests/visual/autocomplete/autocomplete.html deleted file mode 100644 index afdae391f..000000000 --- a/tests/visual/autocomplete/autocomplete.html +++ /dev/null @@ -1,80 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="UTF-8" /> - <title>Autocomplete Visual Test: Default</title> - <link rel="stylesheet" href="../visual.css" type="text/css" /> - <link rel="stylesheet" href="../../../themes/base/jquery.ui.all.css" type="text/css" title="ui-theme" /> - <script type="text/javascript" src="../../../jquery-1.5.1.js"></script> - <script type="text/javascript" src="../../../ui/jquery.ui.core.js"></script> - <script type="text/javascript" src="../../../ui/jquery.ui.widget.js"></script> - <script type="text/javascript" src="../../../ui/jquery.ui.position.js"></script> - <script type="text/javascript" src="../../../ui/jquery.ui.menu.js"></script> - <script type="text/javascript" src="../../../ui/jquery.ui.autocomplete.js"></script> - <script type="text/javascript" src="http://jqueryui.com/themeroller/themeswitchertool/"></script> - <script type="text/javascript"> - $(function() { - $.fn.themeswitcher && $('<div/>').css({ - position: "absolute", - right: 10, - top: 10 - }).appendTo(document.body).themeswitcher(); - - function log(message) { - $("<div/>").text(message).prependTo("#log"); - $("#log").attr("scrollTop", 0); - } - - function enable() { - $("#tags").autocomplete({ - source: ["c++", "java", "php", "coldfusion", "javascript", "asp", "ruby", "python", "c", "scala", "groovy", "haskell", "perl"], - delay: 0, - search: function() { - log("Searching for: " + this.value); - }, - open: function() { - log("Found something"); - }, - focus: function(event, ui) { - log("Moving focus to " + ui.item.label); - }, - close: function() { - log("Hiding suggestions"); - }, - select: function(event, ui) { - log("Selected: " + ui.item.value); - }, - change: function(event, ui) { - log(ui.item ? ("Changed to: " + ui.item.value) : "Nothing selected, input was " + this.value); - } - }); - } - enable(); - $("#toggle").toggle(function() { - $("#tags").autocomplete("destroy"); - }, enable); - }); - </script> -</head> -<body> - -<div class="ui-widget"> - <label for="tags">Tags: </label> - <input class="ui-widget ui-widget-content ui-corner-all" id="tags" /> -</div> -<div> - <label for="tags">Select: </label> - <select> - <option>label</option> - </select> -</div> - -<div class="ui-widget" style="margin-top:2em; font-family:Arial"> - Log: - <div id="log" style="height: 400px; width: 300px; overflow: auto;" class="ui-widget-content"></div> -</div> - -<button id="toggle">Toggle widget</button> - -</body> -</html> |