In the following code, what does , this mean?
, this
var popup = $(popup, this).css(\'opacity\',
The second argument in the selector is a context for search. $(a,b) is the same as $(b).find(a).
$(a,b)
$(b).find(a)
More information can be found at jQuery(), section "jQuery( selector, [ context ] )".