i have few problems with pano tour on my websites, pls help.
1) I have HTML code
Code: Select all
<div id="vnejsi">
<div id="prohlidka"> Here i call from DB random virtual tour with PHP code
</div>
</div>
Code: Select all
#vnejsi{
position:absolute;
width: 980px;
text-align:center;
top: 0px;
left: 0px;
right: 0px;
margin-left: auto;
margin-right: auto;
}
#prohlidka{
position:absolute;
width: 100%;
height: 328px;
top: 142px;
left: 0px;
z-index: 10;
}
Code: Select all
<div id="container" style="width: 100%; height: 100%>
<div style="top: 0px; left: 0px; position: relative;">...</div><
/div>
Code: Select all
<div id="container" style="width: 100%; height: 100%>
<div style="top: -141px; left: -222px; position: relative;">...</div><
/div>
Fullscreen in Chrome have good width: 100%; height: 100%, but it is shift
In Firefox fullscreen works fine, but values top: -141px; left: -222px; are still here.
2) It is possible make button BACK with javascript function history.back(); ?
3) If i have tour with nodes and i have address /index.php?vyber=CB_test_1&kraj=jck where
CB_test_1 is tour name, which i call from DB and i use PHP code and when i click on button node, address is
only path where is tour stored on server for example /tours/CB_test_1/{node2} , but i need something like
/index.php?vyber=CB_test&kraj=jck#node2 it is possible?
It will be possible with javascript document.location.href, but javascript isn't option
in pano nodes url.
Thx for your advice.