Changeset 574
debug autocomplete on IE
May 01 2008 * 09:06 (6 months ago)
Committed by seb
Affected files:
trunk/src/auto_complete/auto_complete.js (Quick diff)
trunk/test/fixtures/url_content.html (Quick diff)
trunk/themes/auto_complete/mac_os_x.css (Quick diff)
trunk/themes/auto_complete/mac_os_x/item_over_left.gif
trunk/src/auto_complete/auto_complete.js (Unified diff)
| r571 | r574 | |
|---|---|---|
| 34 | 34 | this.list = []; |
| 35 | 35 | |
| 36 | 36 | this.keydownHandler = this.keydown.bindAsEventListener(this); |
| 37 | document.observe('keypress', this.keydownHandler); | |
| 37 | document.observe('keydown', this.keydownHandler); | |
| 38 | 38 | }, |
| 39 | 39 | |
| 40 | 40 | destroy:function() { |
trunk/test/fixtures/url_content.html (Unified diff)
| r166 | r574 | |
|---|---|---|
| 13 | 13 | <p style="margin:5px; font-size:20px;line-height:20px"> |
| 14 | 14 | This content has been set using an URL. |
| 15 | 15 | <a href="#" onclick="alert('click ok !')">test click</a> |
| 16 | <a href="#" onclick="top.hi()">Say hi</a> | |
| 16 | 17 | </p> |
| 17 | 18 | </body> |
| 18 | 19 | </html> |
trunk/themes/auto_complete/mac_os_x.css (Unified diff)
| r530 | r574 | |
|---|---|---|
| 3 | 3 | margin: 0; |
| 4 | 4 | border: 1px solid #999; |
| 5 | 5 | overflow: hidden; |
| 6 | padding: 0px 5px; | |
| 6 | padding: 0px 5px 2px 5px; | |
| 7 | 7 | font:normal 12px Verdana, Arial, sans-serif; |
| 8 | 8 | height: auto !important; |
| 9 | 9 | height: 1%; |
| 10 | width: 400px !important; | |
| 10 | 11 | } |
| 11 | 12 | |
| 12 | 13 | .pui-autocomplete-holder li { |
| 13 | 14 | float: left; |
| 14 | 15 | position: relative; |
| 15 | 16 | list-style-type: none; |
| 16 | margin: 4px 0 ; | |
| 17 | margin: 4px 0; | |
| 17 | 18 | } |
| 18 | 19 | |
| 19 | 20 | /* Input field */ |
| 20 | 21 | .pui-autocomplete-holder li.pui-autocomplete-input { |
| 21 | margin: 2px 0; | |
| 22 | margin: 2px 0 0 ; | |
| 22 | 23 | height: 20px; |
| 23 | 24 | } |
| 24 | 25 | |
| --- | --- | |
| 63 | 64 | |
| 64 | 65 | /* Over entry */ |
| 65 | 66 | .pui-autocomplete-holder li.pui-autocomplete-box.pui-autocomplete-over { |
| 66 | background-image:url(mac_os_x/item_over_left.gif); | |
| 67 | background:url(mac_os_x/item_over_left.gif); | |
| 67 | 68 | } |
| 68 | 69 | |
| 69 | 70 | .pui-autocomplete-holder li.pui-autocomplete-box.pui-autocomplete-over span { |


RSS feeds