Conflict with two differences version of JQuery

Yii using JQuery v1.3.2, while my slicker only works with JQuery v1.2.6.

But, when I add JQuery v1.2.6 in layout, Yii delete function (generate by CRUD) stop working.

The slicker effect I got from http://www.learningj…-show-and-hide.

How to solve this problem?

Can you show your slicker code? The code on the page you linked seems to be very general and should hardly depend on any specific jQuery version.

Code from slicker.js

Code to call the script:

If JQuery v1.2.6 included in layout… delete function get error "[color=red]jQuery.yii is undefined[/color]" (firebug):

This is almost the same issue I had:

http://www.yiiframew…96.html#msg9596

There should be a way to remove the default jquery js linking for cases like this where people need a different version.

And best way would be to make including the default jquery require explicit code in the layout, so it is obvious how to remove it.

@arsitek: What kind of error do you get? Your javascript doesn't depend at all on jQuery 1.2.6. I've tried it with jQuery 1.3.2 that comes with Yii. Works perfectly:

Quote

There should be a way to remove the default jquery js linking for cases like this where people need a different version.

I had almost the same issue, here's the solution:

http://www.yiiframew…pic,1808.0.html

@Mike

I removed jquery v1.2.6 and slicker.js tags and just copy-paste your code to my layout. And now works perfectly.

I’ll never have ide to do like you did…  ;D

Now even the slicker js show together with Yii js in bottom HTML source code.

Thanks a lot Mike

@Angel De La Noche  &  chanon

Thanks you too

Quote

Quote

There should be a way to remove the default jquery js linking for cases like this where people need a different version.

I had almost the same issue, here's the solution:

http://www.yiiframew…pic,1808.0.html

Wow, thanks for that! Finally I know the proper way to do it.