<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: How to resolve JQuery, Prototype, and lightbox issues to make them work on same page</title>
	<atom:link href="http://www.honeytechblog.com/resolve-issues-jquery-lightbox-prototype-libraries/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.honeytechblog.com/resolve-issues-jquery-lightbox-prototype-libraries/</link>
	<description>Honeytech Blog is a technology portal of Tutorials, How to, Tips and Guides of Internet Tools, Social Media, Blogging , Wordpress, Open Source and Ways to make money online.</description>
	<lastBuildDate>Sun, 12 Feb 2012 04:57:29 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: [xbox360&#124;xbox 360 games&#124;games on xbox 360]</title>
		<link>http://www.honeytechblog.com/resolve-issues-jquery-lightbox-prototype-libraries/comment-page-7/#comment-353862</link>
		<dc:creator>[xbox360&#124;xbox 360 games&#124;games on xbox 360]</dc:creator>
		<pubDate>Thu, 24 Nov 2011 03:03:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.honeytechblog.com/?p=5072#comment-353862</guid>
		<description>&lt;strong&gt;[xbox360&#124;xbox 360 games&#124;games on xbox 360]...&lt;/strong&gt;

[...]How to resolve JQuery, Prototype, and lightbox issues to make them work on same page[...]...</description>
		<content:encoded><![CDATA[<p><strong>[xbox360|xbox 360 games|games on xbox 360]&#8230;</strong></p>
<p>[...]How to resolve JQuery, Prototype, and lightbox issues to make them work on same page[...]&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bbc news</title>
		<link>http://www.honeytechblog.com/resolve-issues-jquery-lightbox-prototype-libraries/comment-page-7/#comment-335450</link>
		<dc:creator>bbc news</dc:creator>
		<pubDate>Wed, 09 Nov 2011 20:12:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.honeytechblog.com/?p=5072#comment-335450</guid>
		<description>&lt;strong&gt;bbc news...&lt;/strong&gt;

[...]How to resolve JQuery, Prototype, and lightbox issues to make them work on same page[...]...</description>
		<content:encoded><![CDATA[<p><strong>bbc news&#8230;</strong></p>
<p>[...]How to resolve JQuery, Prototype, and lightbox issues to make them work on same page[...]&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: RFerreira</title>
		<link>http://www.honeytechblog.com/resolve-issues-jquery-lightbox-prototype-libraries/comment-page-6/#comment-277041</link>
		<dc:creator>RFerreira</dc:creator>
		<pubDate>Wed, 11 May 2011 18:25:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.honeytechblog.com/?p=5072#comment-277041</guid>
		<description>thanks a lot.. cross-browser solution 2 works for me.</description>
		<content:encoded><![CDATA[<p>thanks a lot.. cross-browser solution 2 works for me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Levanah</title>
		<link>http://www.honeytechblog.com/resolve-issues-jquery-lightbox-prototype-libraries/comment-page-6/#comment-272185</link>
		<dc:creator>Levanah</dc:creator>
		<pubDate>Mon, 07 Feb 2011 19:28:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.honeytechblog.com/?p=5072#comment-272185</guid>
		<description>Hi. I am trying to use lightbox on a page that also uses various other scripts, such as &quot;js/jquery-1.4.2.min.js&quot;
And it seems to be lightbox&#039;s script prototype.js that causes the problem along with the jquery.

I tried to follow the above fix, but I know so little about javascript, i couldn&#039;t work out what you meant by for example &quot;reassign var $j = jQuery;&quot; How do I do that? In the jquery-1.4.2.min.js ? Or just in the page head? Or both?

I tried fix 1, just adding the &quot;noConflict&quot; lines in the head section of the page and that made no difference at all.

Please help! 

&lt;3</description>
		<content:encoded><![CDATA[<p>Hi. I am trying to use lightbox on a page that also uses various other scripts, such as &#8220;js/jquery-1.4.2.min.js&#8221;<br />
And it seems to be lightbox&#8217;s script prototype.js that causes the problem along with the jquery.</p>
<p>I tried to follow the above fix, but I know so little about javascript, i couldn&#8217;t work out what you meant by for example &#8220;reassign var $j = jQuery;&#8221; How do I do that? In the jquery-1.4.2.min.js ? Or just in the page head? Or both?</p>
<p>I tried fix 1, just adding the &#8220;noConflict&#8221; lines in the head section of the page and that made no difference at all.</p>
<p>Please help! </p>
<p>&lt;3</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SOLUTION</title>
		<link>http://www.honeytechblog.com/resolve-issues-jquery-lightbox-prototype-libraries/comment-page-6/#comment-271094</link>
		<dc:creator>SOLUTION</dc:creator>
		<pubDate>Sun, 23 Jan 2011 14:38:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.honeytechblog.com/?p=5072#comment-271094</guid>
		<description>&lt;!-- JavaScript --&gt;

&lt;!----&gt;
&lt;!----&gt;


	






&lt;!----&gt;




	
	

	jQuery.noConflict();



			jQuery(document).ready(function(){
				
				jQuery(&#039;.boxgrid.caption&#039;).each(function (){
					
					jQuery(this).mouseenter (function(){
						jQuery(this).find(&quot;.cover&quot;).animate({top:&#039;50px&#039;},{queue:false,duration:160});
					}); 	
					
					
					jQuery(this).mouseleave (function(){
						jQuery(this).find(&quot;.cover&quot;).animate({top:&#039;150px&#039;},{queue:false,duration:160});
					}); 	

				});
			
			
				jQuery(&quot;a.external&quot;).fancybox();
			
			});

</description>
		<content:encoded><![CDATA[<p><!-- JavaScript --></p>
<p>&lt;!&#8212;-&gt;<br />
&lt;!&#8212;-&gt;</p>
<p>&lt;!&#8212;-&gt;</p>
<p>	jQuery.noConflict();</p>
<p>			jQuery(document).ready(function(){</p>
<p>				jQuery(&#8216;.boxgrid.caption&#8217;).each(function (){</p>
<p>					jQuery(this).mouseenter (function(){<br />
						jQuery(this).find(&#8220;.cover&#8221;).animate({top:&#8217;50px&#8217;},{queue:false,duration:160});<br />
					}); 	</p>
<p>					jQuery(this).mouseleave (function(){<br />
						jQuery(this).find(&#8220;.cover&#8221;).animate({top:&#8217;150px&#8217;},{queue:false,duration:160});<br />
					}); 	</p>
<p>				});</p>
<p>				jQuery(&#8220;a.external&#8221;).fancybox();</p>
<p>			});</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jake W</title>
		<link>http://www.honeytechblog.com/resolve-issues-jquery-lightbox-prototype-libraries/comment-page-6/#comment-268126</link>
		<dc:creator>Jake W</dc:creator>
		<pubDate>Fri, 24 Dec 2010 21:51:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.honeytechblog.com/?p=5072#comment-268126</guid>
		<description>well its like this:

js/prototype.js
js/scriptaculous.js?load=effects,builder
js/lightbox.js
js/jquery.j

js/jquery.galleria.pack.js</description>
		<content:encoded><![CDATA[<p>well its like this:</p>
<p>js/prototype.js<br />
js/scriptaculous.js?load=effects,builder<br />
js/lightbox.js<br />
js/jquery.j</p>
<p>js/jquery.galleria.pack.js</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jake W</title>
		<link>http://www.honeytechblog.com/resolve-issues-jquery-lightbox-prototype-libraries/comment-page-6/#comment-268124</link>
		<dc:creator>Jake W</dc:creator>
		<pubDate>Fri, 24 Dec 2010 21:48:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.honeytechblog.com/?p=5072#comment-268124</guid>
		<description>type=&quot;text/javascript&quot; src=&quot;js/prototype.js&quot;&gt;




</description>
		<content:encoded><![CDATA[<p>type=&#8221;text/javascript&#8221; src=&#8221;js/prototype.js&#8221;&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jake W</title>
		<link>http://www.honeytechblog.com/resolve-issues-jquery-lightbox-prototype-libraries/comment-page-5/#comment-268123</link>
		<dc:creator>Jake W</dc:creator>
		<pubDate>Fri, 24 Dec 2010 21:47:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.honeytechblog.com/?p=5072#comment-268123</guid>
		<description>Hi, 
I am having problems implementing the above fix and was wondering if somebody could point me in the right direction as I am not that experienced in JS.
here is my header code:








	
	
	jQuery(function($) {
		
		$(&#039;.gallery_demo_unstyled&#039;).addClass(&#039;gallery_demo&#039;); // adds new class name to maintain degradability
		
		$(&#039;ul.gallery_demo&#039;).galleria({
			history   : true, // activates the history object for bookmarking, back-button etc.
			clickNext : true, // helper for making the image clickable
			insert    : &#039;#main_image&#039;, // the containing selector for our main image
			onImage   : function(image,caption,thumb) { // let&#039;s add some image effects for demonstration purposes
				
				// fade in the image &amp; caption
				if(! ($.browser.mozilla &amp;&amp; navigator.appVersion.indexOf(&quot;Win&quot;)!=-1) ) { // FF/Win fades large images terribly slow
					image.css(&#039;display&#039;,&#039;none&#039;).fadeIn(1000);
				}
				caption.css(&#039;display&#039;,&#039;none&#039;).fadeIn(1000);
				
				// fetch the thumbnail container
				var _li = thumb.parents(&#039;li&#039;);
				
				// fade out inactive thumbnail
				_li.siblings().children(&#039;img.selected&#039;).fadeTo(500,0.3);
				
				// fade in active thumbnail
				thumb.fadeTo(&#039;fast&#039;,1).addClass(&#039;selected&#039;);
				
				// add a title for the clickable image
				image.attr(&#039;title&#039;,&#039;Next image &gt;&gt;&#039;);
			},
			onThumb : function(thumb) { // thumbnail effects goes here
				
				// fetch the thumbnail container
				var _li = thumb.parents(&#039;li&#039;);
				
				// if thumbnail is active, fade all the way.
				var _fadeTo = _li.is(&#039;.active&#039;) ? &#039;1&#039; : &#039;0.3&#039;;
				
				// fade in the thumbnail when finnished loading
				thumb.css({display:&#039;none&#039;,opacity:_fadeTo}).fadeIn(1500);
				
				// hover effects
				thumb.hover(
					function() { thumb.fadeTo(&#039;fast&#039;,1); },
					function() { _li.not(&#039;.active&#039;).children(&#039;img&#039;).fadeTo(&#039;fast&#039;,0.3); } // don&#039;t fade out if the parent is active
				)
			}
		});
	});
	
	
	

the Galleria is working fine but Lightbox is just opening the images in a new window. I have pasted your above code into the header but it just breaks Galleria!

Many thanks in anticipation.

J</description>
		<content:encoded><![CDATA[<p>Hi,<br />
I am having problems implementing the above fix and was wondering if somebody could point me in the right direction as I am not that experienced in JS.<br />
here is my header code:</p>
<p>	jQuery(function($) {</p>
<p>		$(&#8216;.gallery_demo_unstyled&#8217;).addClass(&#8216;gallery_demo&#8217;); // adds new class name to maintain degradability</p>
<p>		$(&#8216;ul.gallery_demo&#8217;).galleria({<br />
			history   : true, // activates the history object for bookmarking, back-button etc.<br />
			clickNext : true, // helper for making the image clickable<br />
			insert    : &#8216;#main_image&#8217;, // the containing selector for our main image<br />
			onImage   : function(image,caption,thumb) { // let&#8217;s add some image effects for demonstration purposes</p>
<p>				// fade in the image &amp; caption<br />
				if(! ($.browser.mozilla &amp;&amp; navigator.appVersion.indexOf(&#8220;Win&#8221;)!=-1) ) { // FF/Win fades large images terribly slow<br />
					image.css(&#8216;display&#8217;,'none&#8217;).fadeIn(1000);<br />
				}<br />
				caption.css(&#8216;display&#8217;,'none&#8217;).fadeIn(1000);</p>
<p>				// fetch the thumbnail container<br />
				var _li = thumb.parents(&#8216;li&#8217;);</p>
<p>				// fade out inactive thumbnail<br />
				_li.siblings().children(&#8216;img.selected&#8217;).fadeTo(500,0.3);</p>
<p>				// fade in active thumbnail<br />
				thumb.fadeTo(&#8216;fast&#8217;,1).addClass(&#8216;selected&#8217;);</p>
<p>				// add a title for the clickable image<br />
				image.attr(&#8216;title&#8217;,'Next image &gt;&gt;&#8217;);<br />
			},<br />
			onThumb : function(thumb) { // thumbnail effects goes here</p>
<p>				// fetch the thumbnail container<br />
				var _li = thumb.parents(&#8216;li&#8217;);</p>
<p>				// if thumbnail is active, fade all the way.<br />
				var _fadeTo = _li.is(&#8216;.active&#8217;) ? &#8217;1&#8242; : &#8217;0.3&#8242;;</p>
<p>				// fade in the thumbnail when finnished loading<br />
				thumb.css({display:&#8217;none&#8217;,opacity:_fadeTo}).fadeIn(1500);</p>
<p>				// hover effects<br />
				thumb.hover(<br />
					function() { thumb.fadeTo(&#8216;fast&#8217;,1); },<br />
					function() { _li.not(&#8216;.active&#8217;).children(&#8216;img&#8217;).fadeTo(&#8216;fast&#8217;,0.3); } // don&#8217;t fade out if the parent is active<br />
				)<br />
			}<br />
		});<br />
	});</p>
<p>the Galleria is working fine but Lightbox is just opening the images in a new window. I have pasted your above code into the header but it just breaks Galleria!</p>
<p>Many thanks in anticipation.</p>
<p>J</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rollen</title>
		<link>http://www.honeytechblog.com/resolve-issues-jquery-lightbox-prototype-libraries/comment-page-5/#comment-267438</link>
		<dc:creator>Rollen</dc:creator>
		<pubDate>Thu, 16 Dec 2010 09:55:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.honeytechblog.com/?p=5072#comment-267438</guid>
		<description>&#039;null&#039; is blank or not an object
Linenumber: 14 (eval(nextFunct);)

My MSIE8.0 has the above error when runing the following code on a page loading jquery.js and prototype.js:
--------------------------------
jQuery.noConflict(); 
jQuery(document).ready(function() {
	var HTMLbackup = jQuery(&#039;#DemoContainer&#039;).html();
	jQuery(&#039;#DemoContainer&#039;).data(&#039;bkup&#039;,HTMLbackup);
	jQuery(&#039;#DemoOptions li a&#039;).click(function(){
		window.scrollTo(0,0);
		clearInterval(siteFeature2AutoPlayInterval);
		jQuery(&#039;#DemoContainer&#039;).empty().html(jQuery(&#039;#DemoContainer&#039;).data(&#039;bkup&#039;));
		var nextFunct = jQuery(this).next().text();
		if(this.hash == &#039;#notext&#039;){
			jQuery(&#039;#preFeature2 div p&#039;).remove();
	}
	jQuery(&#039;#DemoContainer h3.title&#039;).text(jQuery(this).text());
       eval(nextFunct);
	return false;
	}).filter(&#039;:first&#039;).click();
});
----------------------------------------

Need help please! And thank you!</description>
		<content:encoded><![CDATA[<p>&#8216;null&#8217; is blank or not an object<br />
Linenumber: 14 (eval(nextFunct);)</p>
<p>My MSIE8.0 has the above error when runing the following code on a page loading jquery.js and prototype.js:<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
jQuery.noConflict();<br />
jQuery(document).ready(function() {<br />
	var HTMLbackup = jQuery(&#8216;#DemoContainer&#8217;).html();<br />
	jQuery(&#8216;#DemoContainer&#8217;).data(&#8216;bkup&#8217;,HTMLbackup);<br />
	jQuery(&#8216;#DemoOptions li a&#8217;).click(function(){<br />
		window.scrollTo(0,0);<br />
		clearInterval(siteFeature2AutoPlayInterval);<br />
		jQuery(&#8216;#DemoContainer&#8217;).empty().html(jQuery(&#8216;#DemoContainer&#8217;).data(&#8216;bkup&#8217;));<br />
		var nextFunct = jQuery(this).next().text();<br />
		if(this.hash == &#8216;#notext&#8217;){<br />
			jQuery(&#8216;#preFeature2 div p&#8217;).remove();<br />
	}<br />
	jQuery(&#8216;#DemoContainer h3.title&#8217;).text(jQuery(this).text());<br />
       eval(nextFunct);<br />
	return false;<br />
	}).filter(&#8216;:first&#8217;).click();<br />
});<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p>Need help please! And thank you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: agit8.org &#187; Blog Archive &#187; Avoiding conflict between jQuery and Spry frameworks</title>
		<link>http://www.honeytechblog.com/resolve-issues-jquery-lightbox-prototype-libraries/comment-page-5/#comment-267427</link>
		<dc:creator>agit8.org &#187; Blog Archive &#187; Avoiding conflict between jQuery and Spry frameworks</dc:creator>
		<pubDate>Thu, 16 Dec 2010 08:07:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.honeytechblog.com/?p=5072#comment-267427</guid>
		<description>[...] it turned out, I found that the best way to do it is the one discussed in this article. Basically, you can override the $ function and replace it with &#8220;jQuery&#8221; or you can [...]</description>
		<content:encoded><![CDATA[<p>[...] it turned out, I found that the best way to do it is the one discussed in this article. Basically, you can override the $ function and replace it with &#8220;jQuery&#8221; or you can [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Obi</title>
		<link>http://www.honeytechblog.com/resolve-issues-jquery-lightbox-prototype-libraries/comment-page-5/#comment-263975</link>
		<dc:creator>Obi</dc:creator>
		<pubDate>Tue, 09 Nov 2010 09:58:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.honeytechblog.com/?p=5072#comment-263975</guid>
		<description>Thanks!
It Works Fine For Me!!!

If any have problems try this:
In the jquery code  ...... 
You must :
1 .- jQuery.noConflict(); at the begining of the 
2 .- Replace ALL $(whatelse) whit jQuery(whatelse)

It works for me. 
Thanks again for the solution!
Obi.</description>
		<content:encoded><![CDATA[<p>Thanks!<br />
It Works Fine For Me!!!</p>
<p>If any have problems try this:<br />
In the jquery code  &#8230;&#8230;<br />
You must :<br />
1 .- jQuery.noConflict(); at the begining of the<br />
2 .- Replace ALL $(whatelse) whit jQuery(whatelse)</p>
<p>It works for me.<br />
Thanks again for the solution!<br />
Obi.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Norma</title>
		<link>http://www.honeytechblog.com/resolve-issues-jquery-lightbox-prototype-libraries/comment-page-5/#comment-263386</link>
		<dc:creator>Norma</dc:creator>
		<pubDate>Sat, 06 Nov 2010 06:53:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.honeytechblog.com/?p=5072#comment-263386</guid>
		<description>Muchas gracias, lo lamento no hablo(escribo) ingles. Norma</description>
		<content:encoded><![CDATA[<p>Muchas gracias, lo lamento no hablo(escribo) ingles. Norma</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Not perplexed anymore</title>
		<link>http://www.honeytechblog.com/resolve-issues-jquery-lightbox-prototype-libraries/comment-page-4/#comment-260591</link>
		<dc:creator>Not perplexed anymore</dc:creator>
		<pubDate>Tue, 28 Sep 2010 13:50:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.honeytechblog.com/?p=5072#comment-260591</guid>
		<description>

Enter $.noConflict(); after the above</description>
		<content:encoded><![CDATA[<p>Enter $.noConflict(); after the above</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Not perplexed anymore</title>
		<link>http://www.honeytechblog.com/resolve-issues-jquery-lightbox-prototype-libraries/comment-page-4/#comment-260587</link>
		<dc:creator>Not perplexed anymore</dc:creator>
		<pubDate>Tue, 28 Sep 2010 13:44:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.honeytechblog.com/?p=5072#comment-260587</guid>
		<description>This worked for me (just learning html/css)

1) Look for        

2) Enter           $.noConflict();   just after that

3) Look for         $(function() {

4) Replace it with jQuery(document).ready(function($) {</description>
		<content:encoded><![CDATA[<p>This worked for me (just learning html/css)</p>
<p>1) Look for        </p>
<p>2) Enter           $.noConflict();   just after that</p>
<p>3) Look for         $(function() {</p>
<p>4) Replace it with jQuery(document).ready(function($) {</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hi</title>
		<link>http://www.honeytechblog.com/resolve-issues-jquery-lightbox-prototype-libraries/comment-page-4/#comment-260575</link>
		<dc:creator>hi</dc:creator>
		<pubDate>Tue, 28 Sep 2010 11:34:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.honeytechblog.com/?p=5072#comment-260575</guid>
		<description>i hve conflict with prototype and jquery.
i hd try so many things to make it solve..unfortnatly i cant find d solution..please guide</description>
		<content:encoded><![CDATA[<p>i hve conflict with prototype and jquery.<br />
i hd try so many things to make it solve..unfortnatly i cant find d solution..please guide</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic page generated in 0.526 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2012-02-12 12:55:12 -->

