[jQuery] Re: plugins leaving jquery namespace in bind function

2008-02-01 Thread ajpiano
i came up with this very ham-fisted fix that is at least going to allow me to say that i got more finished today than staring emptily at the screen: function makeMenubar(w,wid,c) { var menu = $("##"+w+"Header"); menu.append(""); menu.append(

[jQuery] Re: plugins leaving jquery namespace in bind function

2008-02-01 Thread ajpiano
pardon my amateurishness, but i can't quite grasp the consequences of that fact for solving my issue. the makeMenubar function is indeed being called inside of $(el).each(), but i don't really know why the plugins would drop out of jQuery as a result of this scoping problem. i must be so brash as

[jQuery] Re: plugins leaving jquery namespace in bind function

2008-02-01 Thread Sean Catchpole
var mb3 = $(this); On that line, the this is referring to the scope of the function which is not inside of an $.each(..) or $.fn.foo(..) ~Sean