jquery and prototype

Does jquery clash with prototype?

I have a piece of code that I use a radiobutton to show selections, and want to use jquery for a slideshow (wow slider).

This is the intended page.

http://www.newyoubootcamp.com/portugal.html


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

jQuery and Prototype both do similar things. It is always best to choose one or the other, and not try to put them together in the same page. It is possible to include jQuery AFTER Prototype, as long as you immediately invoke the jQuery.noConflict() function as you do. It is not possible to mix them any other way. Note that using noConflict() means that any jQuery plugins you load must also have been written with this in mind (most good ones are).

Freeway uses Prototype for any of the FX Actions, Target Show/Hide (when the effect picker is set to an effect), and maybe one or two other built-in Actions. I have written many Actions that use Prototype and Scriptaculous. Most of these are pretty clearly marked as such.

If you know what you are doing, you can combine the two, but I seriously don’t recommend it – simply because the page will “weigh” too much when you do.

Walter

On Oct 1, 2012, at 1:27 PM, BigG wrote:

Does jquery clash with prototype?

I have a piece of code that I use a radiobutton to show selections, and want to use jquery for a slideshow (wow slider).

This is the intended page.

http://www.newyoubootcamp.com/portugal.html


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Thanks Walter I did suspect that they were doing pretty much the same job. I may migrate to jQuery for this task rather than cmobining as I’m not an expert and as you say I would like the page as lightweight as possible.

Thanks


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options