github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

jquery / jquery-ui

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 196
    • 18
  • Source
  • Commits
  • Network (18)
  • Graphs
  • Tree: 1899cca

click here to add a description

click here to add a homepage

  • Switch Branches (4)
    • bind
    • master
    • panel
    • tooltip
  • Switch Tags (0)
  • Comments
Sending Request…

The official jQuery user interface library. — Read more

  Cancel

http://jqueryui.com/

  Cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

Autocomplete: Combobox demo - don't use position plugin to place the 
button next to the text field.

Fixes #5338 - autocomplete combobox look weird in opera 10.50.
scottgonzalez (author)
Sat Mar 20 13:57:37 -0700 2010
commit  1899cca94280924e264cc8638f4a15daded1dc6e
tree    d1740d30e9a9376209d84f1aaefaddc69df6d2bd
parent  0e2484950b5df8d99f949a73c9c3fe4d42e97b8b
M demos/autocomplete/combobox.html 11 ••••
0
demos/autocomplete/combobox.html
...
11
12
13
 
 
 
 
 
14
15
16
...
58
59
60
61
62
63
64
65
66
67
68
69
...
11
12
13
14
15
16
17
18
19
20
21
...
63
64
65
 
 
 
 
 
 
66
67
68
0
@@ -11,6 +11,11 @@
0
   <script type="text/javascript" src="../../ui/jquery.ui.position.js"></script>
0
   <script type="text/javascript" src="../../ui/jquery.ui.autocomplete.js"></script>
0
   <link type="text/css" href="../demos.css" rel="stylesheet" />
0
+  <style type="text/css">
0
+  .ui-autocomplete-input {
0
+    margin: 0;
0
+  }
0
+  </style>
0
   <script type="text/javascript">
0
   (function($) {
0
     $.widget("ui.combobox", {
0
@@ -58,12 +63,6 @@
0
           text: false
0
         }).removeClass("ui-corner-all")
0
         .addClass("ui-corner-right ui-button-icon")
0
-        .position({
0
-          my: "left center",
0
-          at: "right center",
0
-          of: input,
0
-          offset: "-1 0"
0
-        }).css("top", "")
0
         .click(function() {
0
           // close if already visible
0
           if (input.autocomplete("widget").is(":visible")) {

Comments

Please log in to comment.
Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server