<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.2" -->
<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>Support Forum - Topic: Disable lightbox on mobile device</title>
		<link>http://www.kriesi.at/support/topic/disable-lightbox-on-mobile-device</link>
		<description>Support Forum - Topic: Disable lightbox on mobile device</description>
		<language>en-US</language>
		<pubDate>Thu, 23 May 2013 00:06:25 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.2</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://www.kriesi.at/support/search.php</link>
		</textInput>
		<atom:link href="http://www.kriesi.at/support/rss/topic/disable-lightbox-on-mobile-device" rel="self" type="application/rss+xml" />

		<item>
			<title>Devin on "Disable lightbox on mobile device"</title>
			<link>http://www.kriesi.at/support/topic/disable-lightbox-on-mobile-device#post-97881</link>
			<pubDate>Thu, 21 Feb 2013 17:35:15 +0000</pubDate>
			<dc:creator>Devin</dc:creator>
			<guid isPermaLink="false">97881@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi alexthefunk,&#60;/p&#62;
&#60;p&#62;Sorry about that, hopefully we can help with any other questions or issues you have.&#60;/p&#62;
&#60;p&#62;Regards,&#60;/p&#62;
&#60;p&#62;Devin
&#60;/p&#62;</description>
		</item>
		<item>
			<title>alexthefunk on "Disable lightbox on mobile device"</title>
			<link>http://www.kriesi.at/support/topic/disable-lightbox-on-mobile-device#post-97800</link>
			<pubDate>Thu, 21 Feb 2013 10:59:56 +0000</pubDate>
			<dc:creator>alexthefunk</dc:creator>
			<guid isPermaLink="false">97800@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hey Dude&#60;br /&#62;
Thanks but it still does not work. I ll cope with that and I ll soon be coming with other questions anyway...
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Dude on "Disable lightbox on mobile device"</title>
			<link>http://www.kriesi.at/support/topic/disable-lightbox-on-mobile-device#post-97380</link>
			<pubDate>Tue, 19 Feb 2013 07:09:33 +0000</pubDate>
			<dc:creator>Dude</dc:creator>
			<guid isPermaLink="false">97380@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;You should be able to remove the links from images with following code - add it to js/avia.js after the jquery document.ready code line at the very top of the file:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;var isMobile = jQuery.browser.mobile;
if(isMobile) jQuery(&#38;#39;.slideshow a&#38;#39;).find(&#38;#39;img&#38;#39;).unwrap();&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;I'm not sure if the unwrap() function works on iphones/mobile devices but it's the only solution I'm aware of...
&#60;/p&#62;</description>
		</item>
		<item>
			<title>alexthefunk on "Disable lightbox on mobile device"</title>
			<link>http://www.kriesi.at/support/topic/disable-lightbox-on-mobile-device#post-97349</link>
			<pubDate>Mon, 18 Feb 2013 22:36:03 +0000</pubDate>
			<dc:creator>alexthefunk</dc:creator>
			<guid isPermaLink="false">97349@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hey Dude,&#60;br /&#62;
Thanks but it does not quite work ... it now directly opens the images in a page. Is there a way to disable the media link on images while on mobile?&#60;br /&#62;
Regards&#60;br /&#62;
Alex
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Dude on "Disable lightbox on mobile device"</title>
			<link>http://www.kriesi.at/support/topic/disable-lightbox-on-mobile-device#post-97178</link>
			<pubDate>Mon, 18 Feb 2013 07:20:12 +0000</pubDate>
			<dc:creator>Dude</dc:creator>
			<guid isPermaLink="false">97178@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hey! &#60;/p&#62;
&#60;p&#62; I changed the code above a bit. Please try it again. &#60;/p&#62;
&#60;p&#62; Best regards,&#60;br /&#62;
Peter
&#60;/p&#62;</description>
		</item>
		<item>
			<title>alexthefunk on "Disable lightbox on mobile device"</title>
			<link>http://www.kriesi.at/support/topic/disable-lightbox-on-mobile-device#post-97078</link>
			<pubDate>Sat, 16 Feb 2013 21:43:48 +0000</pubDate>
			<dc:creator>alexthefunk</dc:creator>
			<guid isPermaLink="false">97078@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi Dude,&#60;/p&#62;
&#60;p&#62;Thanks for the answer although it does not seem to be working (I have refreshed/reset all browsers/devices and also tried with &#34;false&#34; instead of &#34;true&#34; just in case ....)&#60;/p&#62;
&#60;p&#62;The developer of the plugin I am using in this page told me to replace:&#60;/p&#62;
&#60;p&#62;autolinkElements: 'a[rel^=&#34;prettyPhoto&#34;], a[rel^=&#34;lightbox&#34;], a[href$=jpg], a[href$=png], a[href$=gif], a[href$=jpeg], a[href$=&#34;.mov&#34;] , a[href$=&#34;.swf&#34;] , a[href*=&#34;vimeo.com&#34;] , a[href*=&#34;youtube.com&#34;] , a[href*=&#34;screenr.com&#34;]'&#60;/p&#62;
&#60;p&#62;by&#60;/p&#62;
&#60;p&#62;autolinkElements: div:not(.justified-image-grid) a[rel^=&#34;prettyPhoto&#34;]&#60;/p&#62;
&#60;p&#62;but then the lightbox is not working at all on any pages of the website not using the justified-image-grid plugin... so that is not an option!&#60;/p&#62;
&#60;p&#62;Any ideas?&#60;br /&#62;
Thanks&#60;/p&#62;
&#60;p&#62;Alex
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Dude on "Disable lightbox on mobile device"</title>
			<link>http://www.kriesi.at/support/topic/disable-lightbox-on-mobile-device#post-96883</link>
			<pubDate>Fri, 15 Feb 2013 07:36:35 +0000</pubDate>
			<dc:creator>Dude</dc:creator>
			<guid isPermaLink="false">96883@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Open up wp-content/themes/flashlight/js/avia.js and at the very bottom of the file insert the code from here: &#60;a href=&#34;http://detectmobilebrowsers.com/download/jquery&#34; rel=&#34;nofollow&#34;&#62;http://detectmobilebrowsers.com/download/jquery&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Then replace following line:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;if(jQuery.fn.avia_activate_lightbox)&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;with:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;var isMobile = jQuery.browser.mobile;
if(jQuery.fn.avia_activate_lightbox &#38;amp;&#38;amp; !isMobile)&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;and:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;if(jQuery.fn.avia_activate_hover_effect)&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;with:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;if(jQuery.fn.avia_activate_hover_effect &#38;amp;&#38;amp; !isMobile)&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>alexthefunk on "Disable lightbox on mobile device"</title>
			<link>http://www.kriesi.at/support/topic/disable-lightbox-on-mobile-device#post-96633</link>
			<pubDate>Wed, 13 Feb 2013 23:39:06 +0000</pubDate>
			<dc:creator>alexthefunk</dc:creator>
			<guid isPermaLink="false">96633@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;Although I like the lightbox, I am not very keen with it on mobile device and would like to disable it when the user is on iPad / ios&#60;br /&#62;
Would you be so nice that you have a bit of code for me to put in the avia.js?&#60;/p&#62;
&#60;p&#62;(I have tried the suggestion from this topic but it did not work: &#60;a href=&#34;http://www.kriesi.at/support/topic/angular-replace-prettyphoto-lightbox-with-raygun-mobile-gallery-slider)&#34; rel=&#34;nofollow&#34;&#62;http://www.kriesi.at/support/topic/angular-replace-prettyphoto-lightbox-with-raygun-mobile-gallery-slider)&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Regards&#60;br /&#62;
Alex
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
