[jQuery] Jquery noconflict not working

2010-01-17 Thread Alex Crooks
If you look at the page;

http://www.sars-clan.co.uk/forums/ (ignore styling etc as its a work
in progress)

In the header source the forum system myBB calls prototype and then I
call jquery and the noconflict;

script type=text/javascript
  jQuery.noConflict();

 jQuery(document).ready(function($){

   //my jquery stuff

});
/script

with all my jquery code inside those tags. However I still get
warnings about unknown functions although they are clearly defined in
the header, any thoughts?


[jQuery] jQuery: noConflict

2009-10-05 Thread Dennis Madsen

I'm trying to use jQuery inside a CMS which use mootools - therefore I
use noConflict.
I have this sample code:

jQuery.noConflict();

(function($) {
function doSomething() {
//some jQuery Stuff here..
alert(something);
}
})(jQuery)

jQuery(document).ready(function() {
doSomething();
});

I would like to call the function doSomething() when my DOM is ready.
Why can't I? I also like to call the function as a JavaScript method
in my HTML.




[jQuery] jquery .noconflict

2009-06-24 Thread Andy

Hi Guys,

I am using .noconflict in my Jquery script on a page with another
library. The problem I am facing is that the other library is still
producing an error even WITH .noconflict being used.

I think its because the other library is being called first - as when
I put the jquery library above the other script - it seems to resolve
the problems.

Does anyone know the reason for this ?

You can try the script for yourself with jquery -
http://www.internetmarketingmonitor.org/word-press-plugins/imm-glossary-wordpress-plugin

When I use this and my jquery script -even with .noconflict - i get
errors ?

Thanks



[jQuery] jQuery noConflict() help

2009-01-20 Thread rolfsf

Trying to use jQuery  some plugins alongside Prototype/Scriptalicious
in Tapestry

I added noConflict to my scripts using this method:

jQuery.noConflict();

(function($) {
$(function() {

//my stuff here

});
})(jQuery);

But I'm not clear as to whether or not I need to go through each
plugin script adding noConflict() as well. Or if I've just chosen the
wrong technique...

Can anyone clarify?

Thanks