Ask questions and get good answers on jQuery

Hi, I am trying to use mbExtruder on a custom CMS page within a Magento installation and I think I might be running into the problem of clashes between Prototype (default Magento js stuff) and jQuery. I have other jQuery scripts running, but I can't seem to get mbExtruder to appear on the page.

To get my other scripts running, I have had to add the noconflict() line to my jquery include file. I then use $j instead of just $ wherever it is needed.

Could this be the problem I'm getting with mbExtruder, or is this already coded to avoid conflicts?

Many thanks in advance.

Cheers,

Rob

asked May 05 '10 at 14:53

Rob%201's gravatar image

Rob 1
1

edited May 05 '10 at 17:38

Matteo%20Bicocchi's gravatar image

Matteo Bicocchi ♦♦
1776129

Please ignore - it's been a long day. I hadn't uploaded the flippin js file :(

(May 05 '10 at 15:05) Rob 1

Hi Rob, yes, that could be the problem; you should try to sanitize mbExtruder.js using jquery.noconflict() mode and modifying the $ shortcut. Let me know.

answered May 05 '10 at 17:34

Matteo%20Bicocchi's gravatar image

Matteo Bicocchi ♦♦
1776129

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Tags:

×2
×1

Asked: May 05 '10 at 14:53

Seen: 207 times

Last updated: Aug 11 '10 at 21:23

Related questions

jQuery main site - Matteo Bicocchi