Here is a wrap up for what is happening:
By clicking the url:
www.caylex.ca/tours_cur/lowerresminusnextprev
The browser is asked if Flash is installed, if the answer is yes your fed this URL destination:
http://www.caylex.ca/tours_cur/lowerresminusnextprev/flash/Caylex_lowerres.html
If the answer is no, you are fed this URL:
http://www.caylex.ca/tours_cur/lowerresminusnextprev/html5/lowerres.html
Tourweaver does this via the HTML page it creates within the "_auto" folder. With code that looks like this:
<html> <head> <META NAME="GENERATOR" Content="Tourweaver"> <title>Virtual Tour Created By Easypano</title> </head> <body> <script type="text/javascript"> var _url=""; var _bi=window.navigator.userAgent.toLowerCase(); if(_bi.indexOf("iphone")>0 || _bi.indexOf("ipad")>0 || _bi.indexOf("ipod")>0) _url="html5/lowerres.html"; else _url="flash/Caylex_lowerres.html"; window.location.title=_url; </script> </body> </html>
Now, should you rename the html files "within" both the flash and html5 folders that are located within the "_auto" folder to index.html you also MUST change the names with the code shown above (with a HTML editor or Notepad etc) so that it reads:
<html> <head> <META NAME="GENERATOR" Content="Tourweaver"> <title>Virtual Tour Created By Easypano</title> </head> <body> <script type="text/javascript"> var _url=""; var _bi=window.navigator.userAgent.toLowerCase(); if(_bi.indexOf("iphone")>0 || _bi.indexOf("ipad")>0 || _bi.indexOf("ipod")>0) _url="html5/index.html"; else _url="flash/index.html"; window.location.title=_url; </script> </body> </html>
Then your URL for Flash will become:
http://www.caylex.ca/tours_cur/lowerresminusnextprev/flash/
and the HTML5 version URL will become:
http://www.caylex.ca/tours_cur/lowerresminusnextprev/html5
|