Topic: How to disable mobile?

I'm not liking the layout for the mobile version of SV.  What embed code do I need to use to disable it?  I've already searched everywhere for the solution but couldn't find it.
Thanks!

Re: How to disable mobile?

If don't want to use the mobile non-flash gallery get a copy the simpleviewer.swf from the svcore/swf folder and use the following embed code.

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js"></script>
<script type="text/javascript">
var flashvars = {};
flashvars.galleryURL = "gallery.xml";
var params = {};
params.bgcolor = "222222";
params.allowfullscreen = true;
params.allowscriptaccess = "always";
swfobject.embedSWF("simpleviewer.swf", "flashContent", "800", "600", "9.0.124", false, flashvars, params);
</script> 
Mike Richards
SimpleViewer Support Team.

Re: How to disable mobile?

Thanks Mike.
I'm using the embed code that uses a baseURL instead of the XML. Here's my original code:

<script type="text/javascript" src="http://www.theimagewell.com/blog/wp-content/gallery/weddings/svcore/js/simpleviewer.js"></script>
<script type="text/javascript">
var flashvars = {};
flashvars.baseURL = "http://www.theimagewell.com/blog/wp-content/gallery/weddings/";
jQuery(document).ready(function () {
SV.simpleviewer.load("sv-container", "870", "390", "transparent", true, flashvars);
});
</script>
<div id="sv-container"></div>

It's embedded in a Wordpress header.php file, which is why I needed the flashvars.baseURL.  Also, I have several of them loading depending on what category the page is.

So what would my code look like with the simpleviewer.swf called out instead?  I tried modifying the code with what you suggested but the page came up blank in my browser.

Last edited by Theresa (2011-04-12 23:45:08)

Re: How to disable mobile?

Also, the simpleviewer.swf file is here: http://www.theimagewell.com/blog/wp-con … viewer.swf

Is that the right file?  It's the one that was generated after using svBuilder to create the gallery.

Re: How to disable mobile?

Never mind!  I got the right coding.  I was missing a line. smile