I'm not familiar with prettyphoto, but is it by any chance based on jQuery? That may be your problem right there. There are scads of lightboxes that use Prototype and Scriptaculous, and they won't conflict. If you're dead-set on using prettyphoto, you can look through its source code to see if it's using jQuery, and then read the documentation for any reference to jQuery.noConflict() -- this will be required to allow your page to work. I still won't recommend this approach, because Prototype + Scriptaculous + jQuery is one mammoth load of JavaScript for any browser -- but particularly mobile browsers.

Walter

On Aug 3, 2011, at 2:27 PM, Gauthier wrote:

Hello everyone ! I'm using prototype with glider.js who allow me to
switch between gallery by staing on the page. Right but i'd like to
apply a lightbox (prettyphoto) on the pircture in this gallery...
The problem is when i install prettyphoto in the website it doesn't
work ! When i removed the prototype.js script, it works again but my
gallery switch doesn't work then...

How can I use both ? Thanks a lot

here you have my exemple : http://not-for-sale.be/folio

Thanks for help guys ;)

--
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-scriptaculous@googlegroups.com . To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en .


--
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-scriptaculous@googlegroups.com.
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.

Reply via email to