fx.js
-----
added: $.fn.fadeTo
Also changed ' fx.Opacity ' function so $.fn.fadeTo works. For this i changed one line, and one parameter in $.fx.Opactity:
"o.io = o.now = 1;"
became:
"o.io = o.now = (sv || o.cur());"

e.g. if there is a start value use it. Else, the current value is used. All calls to "$.fx.Opactiy" which where present in the code have now "1" as third parameter so the code doesn't break.

---------
jquery.js
---------
Changed line 401 to fix ' name="id" ' bug:
'#': "a.id == m[2]"
to:
'#': "a.getAttribute('id') == m[2]"
This commit is contained in:
Gilles van den Hoven 2006-05-27 10:18:18 +00:00
parent d8bad24d34
commit 497bfb7909
2 changed files with 16 additions and 7 deletions

2
jquery/jquery.js vendored
View file

@ -398,7 +398,7 @@ $.clean = function(a) {
$.g = {
'': "m[2] == '*' || a.nodeName.toUpperCase() == m[2].toUpperCase()",
'#': "a.id == m[2]",
'#': "a.getAttribute('id') == m[2]",
':': {
lt: "i < m[3]-0",
gt: "i > m[3]-0",