I am also having difficulties trying to get jQuery working with
prototype/Scriptaculous.
I am trying to combine a jQuery Lightbox plug-in with a prototype/
Scriptaculous Carousel plug-in.
I have added the jQuery.noConflict() process but to no avail. The
lightbox process works but the carousel
I find it more practical to use an anonymous function as in (function
($){..}(jQuery) and keep the '$' reference, or do all the work at once
to avoid confusion:
(function($){
$(...)
})( jQuery.noConflict() )
or
jQuery.noConflict()(function($){
$(...)
});
On Jan 7, 4:55 am, seasoup
The only thing I might guess is to do jQuery.noConflict() immediately after
loading jQuery, before loading any other scripts.
--Erik
On Tue, Jan 6, 2009 at 8:04 PM, Magnificent
imightbewrongbutidontthin...@gmail.com wrote:
Hello all,
I'm trying to incorporate jquery into pages with
Hi Erik, thanks for the reply. I've been messing with things and I
tried replacing my calls to local versions of prototype/scriptaculous
to use google:
script src=http://ajax.googleapis.com/ajax/libs/prototype/1.6.0.3/
prototype.js type=text/javascript/script
script
noConflict was designed specifically with prototype in mind :)
The easiest way to do both jQuery and proto is to do:
var $j = jQuery.noConflict();
and use $j instead of $ for jQuery.
$j('#id'), for example.
On Jan 6, 10:23 pm, Magnificent
imightbewrongbutidontthin...@gmail.com wrote:
Hi
5 matches
Mail list logo