I continue to parse the plugin, explain the meaning of the line

var imgLarge = $('img.nivoLarge', link); // ? 

I do not understand what this means. Firebag found out that imgLarge is with the class .nivolarge What do 2 arguments in $(); mean $(); ?

Plugin source: http://jsfiddle.net/Ua4b6/

  • @olegall, if you have an exhaustive answer, mark it as correct (click on the check mark next to the selected answer). - Crasher

1 answer 1

WHAT means 2 arguments in $ ();

context is equivalent to:

 $(link).find('img.nivoLarge')