[jQuery] Re: Jquery noconflict not working

2010-01-17 Thread Mike Alsup
The error I see is on this line: setTimeout('chatHeartbeat();',chatHeartbeatTime); Instead of passing a string as the first arg to setTimeout, pass the actual fn reference: setTimeout(chatHeartbeat, chatHeartbeatTime); When passing a string it will be evaluated in the global context. But your

[jQuery] Re: jquery .noconflict

2009-06-30 Thread Michael Geary
No, that isn't required at all. See the examples on this page: http://docs.jquery.com/Using_jQuery_with_Other_Libraries -Mike From: Sparky12 Hey Matt, Thanks for the response. OK - little confused. So basically what this is saying is I need to call the jquery javascript library

[jQuery] Re: jquery .noconflict

2009-06-30 Thread Sparky12
Hey Mike, I think it is ? Its the only way that is resolving this error - http://docs.jquery.com/Using_jQuery_with_Other_Libraries#Including_jQuery_before_Other_Libraries Otherwise I just keep getting the error above - btw I am using jQuery and not the $ and without calling the jquery script

[jQuery] Re: jquery .noconflict

2009-06-29 Thread Sparky12
Hi Guys, Any one have any ideas about this ? I am really stuck ?

[jQuery] Re: jquery .noconflict

2009-06-29 Thread Matt Quackenbush
Straight from the docs http://docs.jquery.com/Core/jQuery.noConflict *NOTE:* This function must be called after including the jQuery javascript file, but *before* including any other conflicting library, and also before actually that other conflicting library gets used, in case jQuery is

[jQuery] Re: jquery .noconflict

2009-06-29 Thread Sparky12
Hey Matt, Thanks for the response. OK - little confused. So basically what this is saying is I need to call the jquery javascript library BEFORE any other library on the page ? i.e. always ensure that the jquery library is the first script listed in my scripts ? Thanks

[jQuery] Re: jquery .noconflict

2009-06-29 Thread Matt Quackenbush
That is exactly what it means.

[jQuery] Re: jquery .noconflict

2009-06-27 Thread Sparky12
hey guys - i am getting this same error on my blog (error below)? Any one have any ideas what would be causing it ? I am using .noconflict 100% ? Thanks [Exception... Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIDOMXPathEvaluator.evaluate] nsresult:

[jQuery] Re: jQuery noConflict() help

2009-01-20 Thread Ricardo Tomasi
You can shorten that to (function($) { $(function() { //my stuff here }); })(jQuery.noConflict()); or jQuery.noConflict()(function($){ //code for dom ready here }); Plugins should already being protected by using a (function($){} (jQuery), so, as long as you only use the '$'

[jQuery] Re: jQuery noConflict breaks the galleria in IE 6 7

2008-09-23 Thread sutra
Any idea on this issue at all? It works if NO no-conflict is used: http://teesworks.com/testIE.html It breaks if no-conflict is used: http://teesworks.com/testIE-with-noconflict.html