Topic: sv builder pro slideshows work in all browsers except IE on mobile dev

After embedding the code below everything works fine except in IE on mobile devices.

When I use http://website.nl  in the embed code instead of http://www.website.nl it's the other way around.
In both cases (with and without www) the slideshows work fine on computers/laptops.
Do you have any suggestions?


Embed code:
<!--START SIMPLEVIEWER EMBED.-->
<script type="text/javascript" src="http://www.website.nl/html/2_1_recent_werk/svcore/js/simpleviewer.js"></script>
<script type="text/javascript">
var flashvars = {};
flashvars.baseURL = "http://www.websitel/html/2_1_recent_werk/";
var params = {};
params.wmode = "transparent";
var attributes = {};
attributes.id = "svInstance";
simpleviewer.ready(function () {
simpleviewer.load("sv-container", "650px", "580px", "transparent", true, flashvars);
});
</script>
<div id="sv-container"></div>
<!-- END SIMPLEVIEWER EMBED -->

This embedcode faces the same problem:

<!--START SIMPLEVIEWER EMBED.-->
<script type="text/javascript" src="http://www.website.nl/html/2_1_recent_werk/svcore/js/simpleviewer.js"></script>
<script type="text/javascript">
var flashvars = {};
flashvars.baseURL = "http://www.websitel/html/2_1_recent_werk/";
simpleviewer.ready(function () {
simpleviewer.load("sv-container", "650px", "580px", "transparent", true, flashvars);
});
</script>
<div id="sv-container"></div>
<!-- END SIMPLEVIEWER EMBED -->

Re: sv builder pro slideshows work in all browsers except IE on mobile dev

www.website.nl is a subdomain of website.nl.
All gallery files must be on the same domain or subdomain due to the JavaScript same origin policy.
Please see this web page for further details.

Try using relative paths within your embedding code and your gallery should work when accessed using either www.website.nl or website.nl, e.g.:

<!--START SIMPLEVIEWER EMBED.-->
<script type="text/javascript" src="html/2_1_recent_werk/svcore/js/simpleviewer.js"></script>
<script type="text/javascript">
var flashvars = {};
flashvars.baseURL = "html/2_1_recent_werk/";
simpleviewer.ready(function () {
simpleviewer.load("sv-container", "650px", "580px", "transparent", true, flashvars);
});
</script>
<div id="sv-container"></div>
<!-- END SIMPLEVIEWER EMBED -->
Steven Speirs
SimpleViewer Support Team.

Re: sv builder pro slideshows work in all browsers except IE on mobile dev

Thanks Steven,
For some reason the relative paths didn't work in the first embed code, but after trying your suggestion IE seems to accept it.