Thanks Robin for the reply. You were right about the problem. I didn't use $ in my call for box to open, but I wasn't aware that fancy box jquery itself script used $ everywhere. After I replaced it with "jQuery" string it worked like a charm.
Thanks! Regards, Nikola On Wed, May 26, 2010 at 10:29 PM, Robin Komiwes <robin.komi...@gmail.com>wrote: > If you use noConflict, you've got to stop using $ when trying to access > jQuery. > Fore more information, check : > http://docs.jquery.com/Using_jQuery_with_Other_Libraries > > <http://docs.jquery.com/Using_jQuery_with_Other_Libraries>It's also > possible > that the fancybox jQuery plugin is not coded properly and may need some > fixes to support noConflict . > > On Wed, May 26, 2010 at 9:54 PM, Nikola Milikic <nikola.mili...@gmail.com > >wrote: > > > Hi everyone, > > > > I'm using jquery for displaying fancybox <http://fancybox.net> dialog on > > my > > pages. It is working well when I add it like > > > > > > @IncludeJavaScriptLibrary({ > > > "context:js/jquery.min.js", > > > "context:js/jquery.fancybox-1.3.0.js", > > > }) > > > > > > (and not when just add it to the head of the page) > > > > but in that case I can't use Tapestry's Ajax functionality with Zone > > components. It is just performing nothing on Ajax call. > > > > Following suggestions< > > http://wiki.apache.org/tapestry/Tapestry5HowToIntegrateJQuery>I > > added "jQuery.noConflict();" line at the end of jquery file and in > > that > > case Ajax is working, but now my dialog doesn't (neither does any other > > jquery call on the page). > > > > Did anyone face similar problem before? How can I fix this? > > > > Thank you for the assistance. > > > > Regards, > > Nikola > > >