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

jquery / jquery-ui

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 256
    • 29
  • Source
  • Commits
  • Network (29)
  • Graphs
  • Tree: 551fa98

click here to add a description

click here to add a homepage

  • Switch Branches (4)
    • bind
    • master
    • panel
    • tooltip
  • Switch Tags (15)
    • 1.8rc3
    • 1.8rc2
    • 1.8rc1
    • 1.8b1
    • 1.8a2
    • 1.8a1
    • 1.8
    • 1.7
    • 1.6rc6
    • 1.6rc5
    • 1.6rc3
    • 1.6rc2
    • 1.6
    • 1.5.2
    • 1.5.1
  • 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

Accordion: Moving IE layout fix (via zoom: 1) from js to css - fixes the 
destroy-method test in IEs (zoom style wasn't cleaned up on destroy) and 
should perform slightly faster, too
jzaefferer (author)
Sat Mar 27 00:03:48 -0700 2010
commit  551fa98ae4e1eafd3a152ca4897166537a069f16
tree    0cd543688abe2668c9b60aec4202d41bbbc0a7a0
parent  d5a6b334669c8024573b8aa52014c83f3823f0c2
M themes/base/jquery.ui.accordion.css 2 ••
M ui/jquery.ui.accordion.js 5 •••••
Txt themes/base/jquery.ui.accordion.css
  • View file @ 551fa98
... ...
@@ -4,6 +4,8 @@
4 4
 .ui-accordion .ui-accordion-li-fix { display: inline; }
5 5
 .ui-accordion .ui-accordion-header-active { border-bottom: 0 !important; }
6 6
 .ui-accordion .ui-accordion-header a { display: block; font-size: 1em; padding: .5em .5em .5em .7em; }
  7
+/* IE7-/Win - Fix extra vertical space in lists */
  8
+.ui-accordion a { zoom: 1; }
7 9
 .ui-accordion-icons .ui-accordion-header a { padding-left: 2.2em; }
8 10
 .ui-accordion .ui-accordion-header .ui-icon { position: absolute; left: .5em; top: 50%; margin-top: -8px; }
9 11
 .ui-accordion .ui-accordion-content { padding: 1em 2.2em; border-top: 0; margin-top: -2px; position: relative; top: 1px; margin-bottom: 2px; overflow: auto; display: none; zoom: 1; }
Txt ui/jquery.ui.accordion.js
  • View file @ 551fa98
... ...
@@ -74,11 +74,6 @@ $.widget("ui.accordion", {
74 74
     //Append icon elements
75 75
     this._createIcons();
76 76
 
77  
-    // IE7-/Win - Extra vertical space in lists fixed
78  
-    if ($.browser.msie) {
79  
-      this.element.find('a').css('zoom', '1');
80  
-    }
81  
-
82 77
     this.resize();
83 78
 
84 79
     //ARIA

0 notes on commit 551fa98

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