Sie sind nicht angemeldet.

1

Freitag, 14. Dezember 2012, 13:07

textfield button with link to a page is opening in new bowser window, help!

I manage to create a textfield button that links to a page. It is working, but the linked page is opening in a new browser window. I want to open the page in the same window as the VTtour is.

Please help, the code I am using is bellow —

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<style name="button"
		url="%SWFPATH%/plugins/textfield.swf"
		keep="true"
		children="false"
		height="22"
		onloaded="set(alpha,0); set(textblur,15); set(blur,15); tween(alpha,1.0,0.3); tween(textblur,0,0.3); tween(blur,0,0.3);"
		onover="tween(alpha,0.7,distance(0.3,0.2));"
		onout="tween(alpha,1.0,distance(0.3,0.2));"
		autosize="none"
		css="p{color:#FFFFFF; font-family:Arial; font-size:14; margin-left:5; margin-right:5; text-align:center; }"
		background="true" backgroundcolor="0x000000" backgroundalpha="0.7"
		bordercolor="0" borderwidth="0"
		blur="0"
		glow="4"
		glowcolor="16777215"
		roundedge="5"
		shadow="1"
		textblur="0" textglow="0" textglowcolor="16777215" textshadow="0"
	/>

	<plugin name="back" 
		style="button"
		align="lefttop" x="40" y="10" width="80"
		html="[p]Back[/p]"
		onclick="openurl(../start.html);"
	/>

2

Samstag, 15. Dezember 2012, 06:03

Have you tried adding _self to the openurl?

http://krpano.com/docu/actions/#openurl