You are not logged in.

> The forum rules have been updated. Please take a moment to read them.


#1 2011-03-16 11:21:16

davemack
Member
Registered: 2010-10-31
Posts: 11

_self problem

Hi, can you help. I am rebuilding my website and having trouble linking a hotspot to a url and open on the same page. I was just adding ',_self' to the end of the address line for the link with the previous version of panotour but this does not seem to work now.

Offline

 

#2 2011-03-16 19:37:28

MikeMcFarlane
Member
From: Moscow, Russia
Registered: 2011-02-26
Posts: 55
Website

Re: _self problem

Hi Dave
That should work according to the openurl documentation at http://krpano.com/docu/actions/

Code:

openurl(url,target*)
Open an external url.

Note - this action requires the External Interface of the Flashplayer! This means the action will work offline/locally only when the security settings of the Flashplayer were adjusted. See here for more detatils - Local / Offline Usage.

Parameters:
url
The url to open.
target (optionally)
The target where the url should be opened.

Possible settings:
_blank - open the url in a new window (the default)
_self - open the url in a current frame in the current window
_parent - open the url in the parent of the current frame
_top - open the url in the top-level frame in the current window
Examples
 openurl('http://krpano.com',_self);
openurl('help.html');

Is the rest of the syntax right? Post the line if you want.
Mike


Bio: Generation fluxer - farmer, mechatronics engineer, project manager, climbing shop manager, landscape photographer, programmer, virtual panographer, cyclist, life lover.
Twitter: MikeJMcFarlane
email: moo@moosooboo.com
www: www.moosooboo.com

Offline

 

#3 2011-03-16 20:33:28

davemack
Member
Registered: 2010-10-31
Posts: 11

Re: _self problem

Thanks for trying to help. I have been using previous versions of Autopano Tour without a problem linking a hotspot to another of my own 'web pages' on the same server. I have just been inserting the http web address in the url 'hotspot properties' area. I then always just added ,_self after the web address. Now I have upgraded to v1.5 Panotour Pro this no longer works, it just links to a 'page not found'. If I remove the ',_self' It does link to the web page but in a new browser window.  I really don't know anything about scripting to go meddling to much....the older versions worked, the new version doesn't...

Offline

 

#4 2011-03-16 23:19:15

mediavets
Moderator
From: Isleham, Cambridgeshire, UK.
Registered: 2007-11-14
Posts: 9722
Website

Re: _self problem

davemack wrote:

...the older versions worked, the new version doesn't...

That's my experience too.

I don't think anyone from Kolor has yet acknowledged this bug?


Andrew Stephens
Nikon D40, Nikkor 10.5mm fisheye, Sigma 8mm f3.5 fisheye, Nikkor 18-55/50/35mm lenses, Nodal Ninja 5 Lite, Nodal Ninja 4 with R-D16, Agno's MrotatorTCS short.
Nikon P5100, CP5000, CP995, FC-E8, WC-E63,WC-E68, TC-E2, Kaidan Kiwi 995, Bophoto pano bracket, Agno's MrotatorA.
Merlin/Orion robotic pano head + Papywizard on Nokia 770/N800/N810 and Windows 8/XP/2K.

Offline

 

#5 2011-03-17 08:46:51

DArt
Administrator
From: Challes les eaux, France
Registered: 2010-10-06
Posts: 239
Website

Re: _self problem

You are right, there is some trouble with ",_self" at end of URL.

We put some ' ' around URL now to avoid to errors if user put some strange character in URL (we have some case before).

However, you can bypass it by putting in URL field:

Code:

http://www.kolor.com','_self

Note the ' ' around the ','. I have tried it this morning with success. I add a note to enhance that in future version. (issue 620 opened)

Last edited by DArt (2011-03-17 08:50:39)

Offline

 

#6 2011-03-25 01:24:14

Destiny
Moderator
From: Australia
Registered: 2010-04-27
Posts: 2354
Website

Re: _self problem

I did what you suggested on my project and its worked, great!!... Thank you wink

Would you have any suggestion on how to put an image to .. distorted=''true'' .. for an iDevice....??

D

DArt wrote:

You are right, there is some trouble with ",_self" at end of URL.

We put some ' ' around URL now to avoid to errors if user put some strange character in URL (we have some case before).

However, you can bypass it by putting in URL field:

Code:

http://www.kolor.com','_self

Note the ' ' around the ','. I have tried it this morning with success. I add a note to enhance that in future version. (issue 620 opened)


Virtual Tours and 3D/360 Object/Product Photographer - Our aim is to create a 3D/360 Virtual Tour Shop/Store with links to 3D/360 degree products. My gear, VR Drive II - D90 - Nikon 10.5 fisheye - Nikon D800 with Nikon-Nikkor 14-24 - NOVOFLEX Magic Balance - Acratech GP Ball-head - Nodal Ninja 4 + RD-16 Rotor - Manfrotto 190CXPRO4 Carbon Fiber Tripod smile smile

Offline

 

#7 2011-03-25 10:18:21

DArt
Administrator
From: Challes les eaux, France
Registered: 2010-10-06
Posts: 239
Website

Re: _self problem

It is not yet supported by KRPano.

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson