<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Using Prototype with Drupal 5</title>
	<atom:link href="http://xhochy.org/en/2007/03/18/using-prototype-with-drupal-5/feed/" rel="self" type="application/rss+xml" />
	<link>http://xhochy.org/en/2007/03/18/using-prototype-with-drupal-5/</link>
	<description>more british....</description>
	<pubDate>Wed, 20 Aug 2008 17:03:11 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.1</generator>
		<item>
		<title>By: StarBoy</title>
		<link>http://xhochy.org/en/2007/03/18/using-prototype-with-drupal-5/#comment-6381</link>
		<dc:creator>StarBoy</dc:creator>
		<pubDate>Fri, 26 Oct 2007 13:52:34 +0000</pubDate>
		<guid isPermaLink="false">http://xhochy.org/en/2007/03/18/using-prototype-with-drupal-5/#comment-6381</guid>
		<description>I've solved the same problem, not exactly in Druppal but in another application which uses Prototype and jQuerry at same time (this if the case for the UI TABS Library used in conjunction with SCRIPT.ACULO.US portal Boxes). The Solutions very simple

In the JQUERRY SIDE
1) First you need call the jQuery.noConflict() method
and replace all the $ by jQuery, example

If we have something  like this:

	$( function(){
		$('#container-0 ul').tabs({ disabled: [] });
	});

Replace it by this:

        jQuery.noConflict(); 
	jQuery( function(){
		jQuery('#container-0 ul').tabs({ disabled: [] });
	}); 

Do this for ALL function files which use JQUERY

IN THE PROTOTYPE SIDE:

2) Replace the "function $(" definition in the prototype.js file
and in all parts in that file which uses $(, by said, $X

then the line 1249 of the prototype.js file which looked:

    function $(element) {

will look now:

    function $X(element) {

do the same in all function-calls "$(" in prototype.js

3) Do the same in all function-calls "$(" in all JavaScript files which uses Prototype.</description>
		<content:encoded><![CDATA[<p>I&#8217;ve solved the same problem, not exactly in Druppal but in another application which uses Prototype and jQuerry at same time (this if the case for the UI TABS Library used in conjunction with SCRIPT.ACULO.US portal Boxes). The Solutions very simple</p>
<p>In the JQUERRY SIDE<br />
1) First you need call the jQuery.noConflict() method<br />
and replace all the $ by jQuery, example</p>
<p>If we have something  like this:</p>
<p>	$( function(){<br />
		$(&#8217;#container-0 ul&#8217;).tabs({ disabled: [] });<br />
	});</p>
<p>Replace it by this:</p>
<p>        jQuery.noConflict();<br />
	jQuery( function(){<br />
		jQuery(&#8217;#container-0 ul&#8217;).tabs({ disabled: [] });<br />
	}); </p>
<p>Do this for ALL function files which use JQUERY</p>
<p>IN THE PROTOTYPE SIDE:</p>
<p>2) Replace the &#8220;function $(&#8221; definition in the prototype.js file<br />
and in all parts in that file which uses $(, by said, $X</p>
<p>then the line 1249 of the prototype.js file which looked:</p>
<p>    function $(element) {</p>
<p>will look now:</p>
<p>    function $X(element) {</p>
<p>do the same in all function-calls &#8220;$(&#8221; in prototype.js</p>
<p>3) Do the same in all function-calls &#8220;$(&#8221; in all JavaScript files which uses Prototype.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: zalun</title>
		<link>http://xhochy.org/en/2007/03/18/using-prototype-with-drupal-5/#comment-913</link>
		<dc:creator>zalun</dc:creator>
		<pubDate>Tue, 20 Mar 2007 15:42:15 +0000</pubDate>
		<guid isPermaLink="false">http://xhochy.org/en/2007/03/18/using-prototype-with-drupal-5/#comment-913</guid>
		<description>Thank you for that file.

Finally I've the solution - after many tries to make Prototype and jQuery to work together under Drupal ...

I created a module which loads your modification.

I don't know Drupal very well and I couldn't add Javascript in other way.

http://piotr.zalewa.info/prototype_module

cheers</description>
		<content:encoded><![CDATA[<p>Thank you for that file.</p>
<p>Finally I&#8217;ve the solution - after many tries to make Prototype and jQuery to work together under Drupal &#8230;</p>
<p>I created a module which loads your modification.</p>
<p>I don&#8217;t know Drupal very well and I couldn&#8217;t add Javascript in other way.</p>
<p><a href="http://piotr.zalewa.info/prototype_module" rel="nofollow">http://piotr.zalewa.info/prototype_module</a></p>
<p>cheers</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: xhochy</title>
		<link>http://xhochy.org/en/2007/03/18/using-prototype-with-drupal-5/#comment-855</link>
		<dc:creator>xhochy</dc:creator>
		<pubDate>Sun, 18 Mar 2007 18:04:00 +0000</pubDate>
		<guid isPermaLink="false">http://xhochy.org/en/2007/03/18/using-prototype-with-drupal-5/#comment-855</guid>
		<description>I've found this workaround http://awebfactory.com.ar/node/189 but this will not really work, because it breaks Drupal which relies on the $()-function of jQuery</description>
		<content:encoded><![CDATA[<p>I&#8217;ve found this workaround <a href="http://awebfactory.com.ar/node/189" rel="nofollow">http://awebfactory.com.ar/node/189</a> but this will not really work, because it breaks Drupal which relies on the $()-function of jQuery</p>
]]></content:encoded>
	</item>
</channel>
</rss>
