jQuery Prototype problem

Hello,

I would like to know if there is a solution to turne on prototype.js with dolphin? there is a comatibility problem with jquery i think.

With all my respect.

Quote · 21 Feb 2011

Hello

You should use the noconflict jquery function.

It's something very easy.

The problem is created by the fact that prototype and jquery use the same symbol for the functions: $

You should use jquery noconflict and assign another symbol for the Jquery functions, but I think it will be a little difficult, because in Dolphin you will find a lot of jquery codes called everywhere.

Read this:

http://api.jquery.com/jQuery.noConflict/

Web Development, Multimedia Design and Social Media.
Quote · 21 Feb 2011

As I see you also have a syntax error on your code.

Please use Firefox with Firebug installed: http://get.firebug.com

Enable the console, and try to click the link on your site : "click me", you will see in firebug the error coming up.

Web Development, Multimedia Design and Social Media.
Quote · 21 Feb 2011

And anyway....I am a jquery and PHP specialized. I do not think modalbox is a good addition...I do not like that one very much and I think it won't work in some browsers, such as IE 7.

I can advice to use something better, such as facebox, or fancybox.

Use a lightbox plugin that uses Jquery and it will solve ll your problems.

Web Development, Multimedia Design and Social Media.
Quote · 21 Feb 2011

Thank you very much Yobilab 5/5, i like to use fancybox.

 

With all my respect.

Quote · 21 Feb 2011

You are welcome =DD

Let me know if you need any help implementing that on your Dolphin site.

I have worked with fancybox a lot in my life =D

Web Development, Multimedia Design and Social Media.
Quote · 21 Feb 2011

Sur it's working and this is exactly what i need. Thanks.

Quote · 22 Feb 2011
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.