<?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: Mobile Lightbox</title>
		<link>http://www.kriesi.at/support/topic/mobile-lightbox</link>
		<description>Support Forum - Topic: Mobile Lightbox</description>
		<language>en-US</language>
		<pubDate>Sun, 26 May 2013 04:25:50 +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/mobile-lightbox" rel="self" type="application/rss+xml" />

		<item>
			<title>Kriesi on "Mobile Lightbox"</title>
			<link>http://www.kriesi.at/support/topic/mobile-lightbox#post-47163</link>
			<pubDate>Tue, 20 Mar 2012 16:37:05 +0000</pubDate>
			<dc:creator>Kriesi</dc:creator>
			<guid isPermaLink="false">47163@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hey Guys! I have already contacted the author of the lightbox, since this is not a theme but ratehr a lightbox issue, having problems with the responsive meta tags that control the mobile device layout. I will keep you posted on updates ;)&#60;/p&#62;
&#60;p&#62;Cheers&#60;br /&#62;
Kriesi&#60;/p&#62;
&#60;p&#62;Edit: Just received an answer from Stéphane, the creator of the lightbox:&#60;/p&#62;
&#60;blockquote&#62;
&#60;p&#62;Good news for you, I do plan on making it work on mobile devices. &#60;/p&#62;
&#60;p&#62;I am currently working on a new version which is a complete code rewrite to make prettyPhoto compatible in HTML5 / CSS3. You can see the current codebase here: &#60;a href=&#34;https://github.com/scaron/prettyphoto/tree/4.0&#34; rel=&#34;nofollow&#34;&#62;https://github.com/scaron/prettyphoto/tree/4.0&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;The code itself is stable, it supports all the feature the old version supported. It's only missing a pretty theme and I need to finish the mobile support implementation.&#60;/p&#62;
&#60;p&#62;As of right now, I do not know of any solution to support mobile on the older version. I really had to rewrite prettyPhoto to be able to handle such cases.&#60;/p&#62;
&#60;p&#62;I'll let you know once it's done.&#60;/p&#62;
&#60;/blockquote&#62;
&#60;p&#62;This means once the new lightbox has a skin and is fully tested we will update the theme to make them work fine on mobile devices!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Dude on "Mobile Lightbox"</title>
			<link>http://www.kriesi.at/support/topic/mobile-lightbox#post-46413</link>
			<pubDate>Thu, 15 Mar 2012 09:02:26 +0000</pubDate>
			<dc:creator>Dude</dc:creator>
			<guid isPermaLink="false">46413@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hey! &#60;/p&#62;
&#60;p&#62; I asked Kriesi to look into it because we got some requests like this one and I'd like to have a &#34;clean&#34; solution here.&#60;/p&#62;
&#60;p&#62; Regards,&#60;br /&#62;
Peter
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mambo-mayer on "Mobile Lightbox"</title>
			<link>http://www.kriesi.at/support/topic/mobile-lightbox#post-45850</link>
			<pubDate>Mon, 12 Mar 2012 14:07:03 +0000</pubDate>
			<dc:creator>mambo-mayer</dc:creator>
			<guid isPermaLink="false">45850@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;hi,&#60;br /&#62;
here it is:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.monomayer.com&#34; rel=&#34;nofollow&#34;&#62;http://www.monomayer.com&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;cheers
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Dude on "Mobile Lightbox"</title>
			<link>http://www.kriesi.at/support/topic/mobile-lightbox#post-45819</link>
			<pubDate>Mon, 12 Mar 2012 08:29:26 +0000</pubDate>
			<dc:creator>Dude</dc:creator>
			<guid isPermaLink="false">45819@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi! &#60;/p&#62;
&#60;p&#62; Can you post a link please? &#60;/p&#62;
&#60;p&#62; Regards,&#60;br /&#62;
Peter
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mambo-mayer on "Mobile Lightbox"</title>
			<link>http://www.kriesi.at/support/topic/mobile-lightbox#post-45765</link>
			<pubDate>Sun, 11 Mar 2012 20:04:39 +0000</pubDate>
			<dc:creator>mambo-mayer</dc:creator>
			<guid isPermaLink="false">45765@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;1. I tried (question b) but nothing changed. what did i do wrong?&#60;/p&#62;
&#60;p&#62;2. i have a big main slideshow on my start page. when it comes to the mobile version i would prefer no slideshow since it becomes as small as the thumbs. how can i make the main slideshow disapear only for the mobile version?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>propagandalabs on "Mobile Lightbox"</title>
			<link>http://www.kriesi.at/support/topic/mobile-lightbox#post-44096</link>
			<pubDate>Wed, 29 Feb 2012 21:02:03 +0000</pubDate>
			<dc:creator>propagandalabs</dc:creator>
			<guid isPermaLink="false">44096@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Haven't tried but thanks for the fast response!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Dude on "Mobile Lightbox"</title>
			<link>http://www.kriesi.at/support/topic/mobile-lightbox#post-44011</link>
			<pubDate>Wed, 29 Feb 2012 11:17:58 +0000</pubDate>
			<dc:creator>Dude</dc:creator>
			<guid isPermaLink="false">44011@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hey,&#60;br /&#62;
all options of the lightbox are listed here: &#60;a href=&#34;http://www.no-margin-for-errors.com/projects/prettyphoto-jquery-lightbox-clone/documentation/&#34; rel=&#34;nofollow&#34;&#62;http://www.no-margin-for-errors.com/projects/prettyphoto-jquery-lightbox-clone/documentation/&#60;/a&#62;&#60;br /&#62;
I think in this case you can only use &#34;allow_resize: false&#34; to deactivate the resizing function. Open up js/avia.js and replace following line:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;elements.prettyPhoto({ social_tools:&#38;#39;&#38;#39;,slideshow: 5000, deeplinking: false, overlay_gallery:false, default_width: ww, default_height: wh });&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;with:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;elements.prettyPhoto({ social_tools:&#38;#39;&#38;#39;,slideshow: 5000, deeplinking: false, allow_resize: false, overlay_gallery:false, default_width: ww, default_height: wh });&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;You can also try to remove the default_width/height parameters from this line.&#60;/p&#62;
&#60;p&#62;2) You can try to identify mobile browsers with following code.&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;if (jQuery(window).width() &#38;lt;  768){
  jQuery(&#38;#39;body&#38;#39;).addClass(&#38;quot;mobile&#38;quot;);
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;I'd add the code to js/avia.js after following line:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;jQuery(document).ready(function(){&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Then you need to change the lightbox activation code in js/avia.js from:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;//activates the prettyphoto lightbox
	if(jQuery.fn.avia_activate_lightbox)
	jQuery(&#38;#39;body&#38;#39;).avia_activate_lightbox();

	//activates the hover effect for image links
	if(jQuery.fn.avia_activate_hover_effect)
	jQuery(&#38;#39;body&#38;#39;).avia_activate_hover_effect();&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;to:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;//activates the prettyphoto lightbox
	if(jQuery.fn.avia_activate_lightbox)
	jQuery(&#38;#39;body&#38;#39;).not(&#38;#39;mobile&#38;#39;).avia_activate_lightbox();

	//activates the hover effect for image links
	if(jQuery.fn.avia_activate_hover_effect)
	jQuery(&#38;#39;body&#38;#39;).not(&#38;#39;mobile&#38;#39;).avia_activate_hover_effect();&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>propagandalabs on "Mobile Lightbox"</title>
			<link>http://www.kriesi.at/support/topic/mobile-lightbox#post-44000</link>
			<pubDate>Wed, 29 Feb 2012 09:24:05 +0000</pubDate>
			<dc:creator>propagandalabs</dc:creator>
			<guid isPermaLink="false">44000@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Lightbox mobile behaves horribly: on first tap a slide opens to a much smaller image (confusing to user), then the user has to click the lightbox expand &#34;X&#34; button (top right) that looks exactly like the close &#34;X&#34; (confusing), then it opens the same size image as was in the original slide??? Pointless and confusing to humans. &#60;/p&#62;
&#60;p&#62;How do we:&#60;br /&#62;
A) Bypass the first-level mobile lightbox image size, kill that expand &#34;X&#34; and go straight to its largest image available?&#60;br /&#62;
B) Entirely turn off lightbox just for mobile?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
