Fullscreen shift problem

Q&A about the latest versions
Post Reply
janacjak
Posts: 1
Joined: Sat Feb 02, 2013 9:44 pm

Hello,
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>
with CSS:

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;
}
Problem is in tour:

Code: Select all

<div id="container" style="width: 100%; height: 100%>
	<div style="top: 0px; left: 0px; position: relative;">...</div><
/div>
and if i use fullscreen button in Chrome, code is:

Code: Select all

<div id="container" style="width: 100%; height: 100%>
	<div style="top: -141px; left: -222px; position: relative;">...</div><
/div>
These value top: 141px; left: 222px are <div id="prohlidka"> shift from top, left corner.
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.
User avatar
Hopki
Gnome
Posts: 13032
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi,
Thomas look at this and there will be a fix in the next release for the fullscreen issue.

To make a Browse Back button in the skin simply use a Go To URL action and call the javascript.
Examples:

Back Button = Mouse Click => Go To URL => URL: javascript:window.history.back() => Target: (leave blank)
Froward Button = Mouse Click => Go To URL => URL: javascript:window.history.forward(); => Target: (leave blank)
Close Button = Mouse Click => Go To URL => URL: javascript:window.close(); => Target: (leave blank)


For your last question, have you seen the Direct Node Access video?
http://gardengnomesoftware.com/wiki/Dir ... al_Node_ID
Regards,
Hopki
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
Post Reply