Skip to content

Commit 327fa42

Browse files
committed
Additional note about slide effects in IE with ul/li. Closes jquery#111
1 parent ab0e523 commit 327fa42

File tree

4 files changed

+9
-3
lines changed

4 files changed

+9
-3
lines changed

entries/slideDown.xml

+2-1
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
<p><strong>As of jQuery 1.6</strong>, the <code><a href="http://api.jquery.com/promise/">.promise()</a></code> method can be used in conjunction with the <code><a href="http://api.jquery.com/deferred.done/">deferred.done()</a></code> method to execute a single callback for the animation as a whole when <em>all</em> matching elements have completed their animations ( See the <a href="http://api.jquery.com/promise/#example-1">example for .promise()</a> ). </p>
4646
</longdesc>
4747
<note id="jquery.fx.off" type="additional" data-title=".slideDown()"/>
48+
<note id="slide-in-ie" type="additional" data-title=".slideDown()"/>
4849
<example>
4950
<desc>Animates all divs to slide down and show themselves over 600 milliseconds.</desc>
5051
<code><![CDATA[
@@ -97,4 +98,4 @@ margin:10px; }
9798
<category slug="effects/sliding"/>
9899
<category slug="version/1.0"/>
99100
<category slug="version/1.4.3"/>
100-
</entry>
101+
</entry>

entries/slideToggle.xml

+2-1
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@
5454
<p><strong>As of jQuery 1.6</strong>, the <code><a href="http://api.jquery.com/promise/">.promise()</a></code> method can be used in conjunction with the <code><a href="http://api.jquery.com/deferred.done/">deferred.done()</a></code> method to execute a single callback for the animation as a whole when <em>all</em> matching elements have completed their animations ( See the <a href="http://api.jquery.com/promise/#example-1">example for .promise()</a> ). </p>
5555
</longdesc>
5656
<note id="jquery.fx.off" type="additional" data-title=".slideToggle()"/>
57+
<note id="slide-in-ie" type="additional" data-title=".slideDown()"/>
5758
<example>
5859
<desc>Animates all paragraphs to slide up or down, completing the animation within 600 milliseconds.</desc>
5960
<code><![CDATA[
@@ -106,4 +107,4 @@
106107
<category slug="effects/sliding"/>
107108
<category slug="version/1.0"/>
108109
<category slug="version/1.4.3"/>
109-
</entry>
110+
</entry>

entries/slideUp.xml

+2-1
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
<p><strong>As of jQuery 1.6</strong>, the <code><a href="http://api.jquery.com/promise/">.promise()</a></code> method can be used in conjunction with the <code><a href="http://api.jquery.com/deferred.done/">deferred.done()</a></code> method to execute a single callback for the animation as a whole when <em>all</em> matching elements have completed their animations ( See the <a href="http://api.jquery.com/promise/#example-1">example for .promise()</a> ). </p>
4747
</longdesc>
4848
<note id="jquery.fx.off" type="additional" data-title=".slideUp()"/>
49+
<note id="slide-in-ie" type="additional" data-title=".slideDown()"/>
4950
<example>
5051
<desc>Animates all divs to slide up, completing the animation within 400 milliseconds.</desc>
5152
<code><![CDATA[
@@ -103,4 +104,4 @@
103104
<category slug="effects/sliding"/>
104105
<category slug="version/1.0"/>
105106
<category slug="version/1.4.3"/>
106-
</entry>
107+
</entry>

notes.xsl

+3
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@
3737
<xsl:when test="@id = 'ajax-global-false'">
3838
If <code><a href="/jQuery.Ajax/">$.ajax()</a></code> or <code><a href="/jQuery.ajaxSetup/">$.ajaxSetup()</a></code> is called with the <code>global</code> option set to <code>false</code>, the <code><xsl:value-of select="@data-title"/></code> method will not fire.
3939
</xsl:when>
40+
<xsl:when test="@id = 'slide-in-ie'">
41+
If <code><xsl:value-of select="@data-title"/></code> is called on an unordered list (<code>&lt;ul&gt;</code>) and its <code>&lt;li&gt;</code> elements have position (relative, absolute, or fixed), the effect may not work properly in IE6 through at least IE9 unless the <code>&lt;ul&gt;</code> has "layout." To remedy the problem, add the <code>position: relative;</code> and <code>zoom: 1;</code> CSS declarations to the <code>ul</code>.
42+
</xsl:when>
4043
</xsl:choose>
4144
</xsl:template>
4245
</xsl:stylesheet>

0 commit comments

Comments
 (0)