In my panos I pass a variable 'design' to distinguish betweeen mobile or desktop applications, for example:
<include url="../skins/d_skin.xml" if="design == default_" />
<include url="../skins/m_skin.xml" if="design == mobil_" />
In either case the special skin for mobile or desktop will be selected
In order to pass the variable 'design' the index.html looks like this:
<script>embedpano({xml:"example.xml", target:"pano", initvars:{design:"default_" }, passQueryParameters:true}); </script>
or
<script>embedpano({xml:"example.xml", target:"pano", initvars:{design:"mobile_" }, passQueryParameters:true}); </script>
This works properly! But I want to get rid of passQueryParameters:true
If I set passQueryParameters:false the pano will not start at all. This I can still understand.
But if the code is for example like
<script>embedpano({xml:"example.xml", target:"pano", initvars:{design:"mobile_" } }); </script>
as shown in the documentation the pano does also not start!
Can anybody tell me, what do I wrong or what is the solution ?
I currently use krpano 1.22.2
my homepage: foto180.de