![]() |
|
|
|
|
|
||||||||||
|
| User list | Rules | You are not logged in.
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
Hi Dave
That should work according to the openurl documentation at http://krpano.com/docu/actions/
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
Offline
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
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?
Offline
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:
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
I did what you suggested on my project and its worked, great!!... Thank you ![]()
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','_selfNote the ' ' around the ','. I have tried it this morning with success. I add a note to enhance that in future version. (issue 620 opened)
Offline
Powered by PunBB
© Copyright 2002–2005 Rickard Andersson
|
CHOOSING KOLOR Why choose Kolor? Which solution to choose? Download a trial Where can I buy? Education |
SOFTWARE Autopano Pro Autopano Giga Panotour Panotour Pro XnView |
ACCESSORIES Training DVD Panobook PROJECTS Paris 26 Gigapixels Yosemite 17 Gigapixels |
COMMUNITY Forums YouTube channel Google+ |
COMPANY Blog About Kolor Resellers Contact Visit us |
PRESS Press center Press review TOOLS My account |
