prototype.js with jquery-1.3.2.min.js is not working.

65 views
Skip to first unread message

Mence

unread,
Jan 4, 2010, 4:18:56 PM1/4/10
to Prototype & script.aculo.us
hi.
i must to use : prototype.js with jquery-1.3.2.min.js (
http://jqueryjs.googlecode.com/files/jquery-1.3.2.min.js ) .

but it is not working.

can you help me plase ?

lvdesign

unread,
Jan 6, 2010, 3:06:25 AM1/6/10
to Prototype & script.aculo.us
hi,
the prototype's library is "pretentieuse" so the others must do the
work

bibliotheque
conflit de library
//-------jQuery

bien definir l'espace de jQuery:

jQuery(function($) {
//la function
});

jQuery.noConflict();
jQuery(document).ready(function ($) {
$('.infiniteCarousel').infiniteCarousel();
});

-> source:
http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js

//-------Mootools
Pas de solution pour l'instant sauf transformer tout les identifiants


//-------Protopype-scriptaculos
<script type="text/javascript" language="javascript">
// <![CDATA[
$('element_id').appear();
// ]]>
</script>

On 4 jan, 22:18, Mence <olgaysa...@gmail.com> wrote:
> hi.

> i must to use : prototype.js with jquery-1.3.2.min.js (http://jqueryjs.googlecode.com/files/jquery-1.3.2.min.js) .

Mence

unread,
Jan 6, 2010, 4:17:44 AM1/6/10
to Prototype & script.aculo.us
thank for your reply

Alex McAuley

unread,
Jan 6, 2010, 4:50:49 AM1/6/10
to prototype-s...@googlegroups.com
You can also assign jquery to a different variable....

$j=jQuery.noConflict();


then you can use
$j("#some-id").somejQueryFunction().css().html().next().chain....

and $ becomes unpolluted


Alex Mcauley
http://www.thevacancymarket.com
----- Original Message -----
From: "Mence" <olgay...@gmail.com>
To: "Prototype & script.aculo.us" <prototype-s...@googlegroups.com>
Sent: Wednesday, January 06, 2010 9:17 AM
Subject: [Proto-Scripty] Re: prototype.js with jquery-1.3.2.min.js is not
working.


> thank for your reply
>


--------------------------------------------------------------------------------


> --
> You received this message because you are subscribed to the Google Groups
> "Prototype & script.aculo.us" group.
> To post to this group, send email to
> prototype-s...@googlegroups.com.
> To unsubscribe from this group, send email to
> prototype-scripta...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/prototype-scriptaculous?hl=en.
>
>
>

Reply all
Reply to author
Forward
0 new messages