[jQuery] namespace content

2009-07-10 Thread Greg
Does anyone know if this plugin works with RSS feeds with namespaces? Also, many RSS feeds have CDATA included. How does the plugin work with CDATA? An example RSS feed is: "http://sports.yahoo.com/mlb/ rss.xml".

[jQuery] namespace

2009-06-24 Thread Anjanesh
How do I create a namespace within jQuery ? (function($) { var myNS = {}; })(jQuery); (function($) { $.fn.myNS.foo_1 = function(){ }; })(jQuery); (function($) { $.fn.myNS.foo_2 = function(){ }; })(jQuery); $("#id1, id2").myNS.foo_1(); $(".cls1, .cls2").m

[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

[jQuery] plugins leaving jquery namespace in bind function

2008-02-01 Thread ajpiano
i posted a bit earlier but i've synthesized the problem a bit. in the code below, one would expect the variables mb2 and mb3 to contain the same things as each other. however, mb3, which wraps the same element with jQuery inside of the bound function, ends up just being an unextended jQuery obje

[jQuery] Namespace conflict

2007-11-03 Thread howa
Hello, I want re-organize the jquery namespace into a more meaningful namespace, but I can't make it success, e.g. var company = {}; var company.animation = {}; // Why this didn't work? company.query = jQuery.noConflict(true); com

[jQuery] Namespace attributes bug in Tickets now.

2007-06-26 Thread John Farrar
http://dev.jquery.com/ticket/1323 Description ΒΆ <#comment:description> You can call the attribute correctly like this... jQuery('form').attr('name:attribute')="true" but that doesn't return a collection of forms where the condition is true... and if you manually create an array that doe