Sorry about all the posts, I think I may still be looking in the wrong
place. This is the place that calls that function...
$(container).addClass("ui-accordion");
if ( options.navigation ) {
var current = $
(container).find("a").filter(options.navigationFilter);
if ( current.length ) {
if ( current.filter(options.header).length ) {
options.active = current;
} else {
options.active =
current.parent().parent().prev();
current.addClass("current");
}
}
}
and the function is
navigationFilter: function() {
return this.href.toLowerCase() ==
location.href.toLowerCase();
}
My understanding of it that 'IF current has 1 character or more, then
it does an IF statement with the length of current. IF that fails it
applies the class to the container which, for me is the desired
result.
Can anyone fill in the blanks for me please?
Thanks.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---