![]() |
|
|
|
|
|
||||||||||
|
| User list | Rules | You are not logged in.
Hello,
The unterminated elements are "meta" and "img" .
If you add a "/" before the ">" of those two elements, it should work.
I checked with following code, and it worked :
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <meta content="text/html; charset=ISO-8859-1" http-equiv="content-type"/> <title>officinadue</title> </head> <body> <a href="http://www.l-officina.net/"> <img style="border: 2px solid ; width: 638px; height: 335px;" alt="" src="http://www.viewcity.altervista.org/images/officina.png" align="left"/> </a> <br/> </body> </html>
Gérald
Offline
Thanks Gérald... I just got him to do the br/....
You will have to do that Galatea... since its your source code... I can test it for you...
We will get there in the end.. ![]()
Destiny..
Offline
nothing, not working,
I redid all the steps but I can not understand where mistaken
Offline
The URL for the hotspot HTML should be a simple relative URL not an absolute URL.
Offline
Try this then.. Its Andrew and Gérald combined efforts..
Change your url to 'officina.html' and put this file it in the same Main folder with all your other main content files and folders....
Next...
Make sure you have a local 'image' folder with your officina.png in it...This image sub folder has to be in the same main folder.
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1" http-equiv="content-type"/>
<title>officinadue</title>
</head>
<body>
<a href="http://www.l-officina.net/">
<img style="border: 2px solid ; width: 638px;
height: 335px;" alt="" src="images/officina.png" align="left"/>
</a>
<br/>
</body>
</html>
Destiny..
Offline
Thank you, "Destiny," I have made progress thanks to your responses.
I managed to connect a hotspot to a html page,
the problem and that links will open only in the exterior windows on the tour.
I would like to open the windows of the links in the page of the tour.
example:
1) I click on a hotspot, and you open a html page with links and hypertext, which I connected to other HTML pages that are in the same folder. and so far there are.
2) I click on the link of the html page, and I can open it in another page outside the tour, but not in the tour.
I do not know how to open links in another html page or a pop-up inside the tour.
What do you recommend?
Sorry if I do not write well in English, if I have not explained the problem well will arrange to send some pictures
Thank you, without your help I do not know how I did.
Galatea
Offline
galatea wrote:
Thank you, "Destiny," I have made progress thanks to your responses.
I managed to connect a hotspot to a html page,
the problem and that links will open only in the exterior windows on the tour.
I would like to open the windows of the links in the page of the tour.
If I uinderstand you correctly then as far as I know this cannot be done.
Offline
Hi.. Well... actually an html file can load a window html into a different html.... But as Andrew says, not sure if its possible using ptp.. I will have to play with it.. It will probably have to be done using java script.. emm.. I will have to create a new demo page with everything and then test it.. so it won't be too quick... I will get back to you... Unless Gérald has a quick fix... ![]()
Destiny...
Offline
Hi ... Well I tried the java scrip and it works fine, it opens a new window but without any tooling or top menu etc.. Just a window with the graphic... But this is not what you were wanting...
Here is the code anyway.. the miniWindow.html is the graphic you want to open.. so this code will go into the main html and it will open a small window with the second html..
<body>
<script language="javascript" type="text/javascript">
<!--
function popitup(url) {
newwindow=window.open(url,'name','height=200,width=150');
if (window.focus) {newwindow.focus()}
return false;
}
// -->
</script>
<a href="miniWindow.html" onclick="return popitup('miniWindow.html')"
>Open Mini Window</a>
</body>
I have also gotten a html to open in a pano.. It opens a new window onto no problems.. A little X appears at the top where you can close it.. I have tried to put your graphic link into it but it did not won't to work, probably due to your content not being in the same folder.. It only works if everything is in the same folder.. Also, I used your top code in your html, but it did not work, so I used this..
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
If you use yours an error comes up but this script works.. Its just the default created by DreamWeaver..
One thing is for certain, a graphic from a html will open in a ptp pano.. There are restrictions to the scripting though of which I am working out.. such as the / to close all meta and img tags off. Also, don't bother with CSS, they cause issues too.. Just use raw html coding..
Destiny..
Offline
PS... this is a link to the html in a pano test.. but... when its uploaded the loader seems to play up so not sure what what is...
http://www.destinyvirtualtours.com/HTML … 4rtyr.html
This is just a very quick test..
... Actually all this testing might have opened up the door to fixing my own issues with streaming of video in a pano.. At the moment if I put it in a rectangular hotspot the players don't work since the entire pano's own hotspots takes precedence which is understandable or the pano wouldn't work.. I then put is a graphic ontop of the pano but then I have issues with audio.. If a html works, then it will be totally indipendent and therefore should work great since when its closed its not hidden in the pano anyway...
WIth the html window you the option to put it at the corners or centre....
Destiny...
Last edited by Destiny (2012-02-03 04:03:15)
Offline
Hi, I have just realised I should have set the graphic size to %.. at the moment when you full screen it wrong... Not to worry...
Now I have gotten a pano opening within a pano, within a pano with in a pano.. looks like the Russian Doll thing.. LOL.. I will have to play with it to understand the protocols like image size and / and other things.. But is very doable.. Some web sites I have seen where you click on a link and it opens a new window opens with no menu.. You can do this using either java or html.. It can look really nice..
I will change the demo to % later.. I just wanted to let you know..
Destiny..
Offline
Unfortunately, I do not think you can put swf in a html file object in a pano... Shame.. That would probably have fixed my video steaming issue...
It opens but its asking for the swf player... So, not sure what to do there..
http://www.destinyvirtualtours.com/HTML … indow.html
Gérald.... HELP!!!
my brain not as smart as yours.. ![]()
Destiny..
Last edited by Destiny (2012-02-03 09:02:04)
Offline
You'll find here a tour that opens a new "tour" in another panorama over the current tour.
Click on the "+" icon on the wall :
http://virtualworks.dk/tours/louisiana/big/pan1/
To do such thing, you'll have to use a third party JS API, like lightbox, shadowbox, etc...
And to use the "JavaScript function call" field of the hotspot properties tab in Panotour Pro.
Gérald
Offline
Thank you Gérald... I had a feeling I would have to use java script.. I found that if java script was in the html file, it would not work.. The only way I could us it was to do it as a new window floating on top but without the browser menu..
Its nice to see that it can be done to it give me sometime to work towards and knowing it is possible.. If I can get swf to work using Java in a window, I will be be able to put streaming video into it.. I loved the effect too...
Hey Gérald, perhaps I can put this on the Future Feature list.. ![]()
![]()
Destiny...
Last edited by Destiny (2012-02-03 09:39:48)
Offline
OK Gérald...
This is where I begin to feel dumb... ![]()
<script src="js/prototype.js" type="text/javascript"></script>
<script src="js/scriptaculous.js?load=effects,builder" type="text/javascript"></script>
<script src="js/lightbox.js" type="text/javascript"></script>
I am playing with Lightbox since it seems to be a bit more usable, although I bought the Shodowbox since it was only $20.. Very disappointed with the download content.. There doesn't seem to be anything to get a grip with.. No examples html files to break it down to see how they did it.. Lightbox was free and has this so I will begin with this.. I really love the way the hotspot link opened up the pano link you provided... very nice!.. I want to open an krpano object in a new window just like this.. Ideal for what I want to do.. At the moment I am just linking the hotspot to open a new html file which is not the best..
I have put my own graphics into the html/ image folder to test. When I open it the thumb images is present. When I click on it it transitions to the larger image. The close will not work, not sure why.. So.. I then use that html file in ptp.. WHen I open the tour, I click on the hotspot and it opens the Thumb looking similar as Galatea was wanting.. However, when I click on it, no transitions wok and it opens a new window rather then opening within the pano.. If I click on that same image in the html page it just transitions to the larger image....
Are you able to tell me what I put in ptp java to link these java files.. To be honest, I am not even sure that the Lightbox version will open a swf since the object krpano file is a swf... Perhaps I need to be using that since it shows that it will open a swf...
I have a feeling I am going to be your pain in the neck for the next few days..
I really what to get this working so I can apply it to all the object files I want to put into a pano.. Java is one thing but linking it to work inside apg is going to be hard...
Sorry Galatea.. I am taking over your thread a bit.. When I have it all sussed I will send you all the files.. ![]()
Destiny...
Last edited by Destiny (2012-02-03 12:48:32)
Offline
Thanks for Destiny, I look forward that this problem is resolved.
Meanwhile I send you my thanks for their availability.
Sorry but I'm new so I have a bit of inexperience.
Galatea
Offline
Hi Gérald
Thankfully I have managed to work out many issues. I haven’t tried a swf pano yet to keep it simple… These first two links below show the test tour and the interactive graphic I want to open in a pano..…
The last link shows the error message.. I have also attached my html code.
When I put the interactive html link on, it comes up with an error.. This is the html code.. I am sure this is the issue…
http://www.destinyvirtualtours.com/Dest … indow.html
http://www.destinyvirtualtours.com/Dest … ltour.html
http://www.destinyvirtualtours.com/Dest … Error.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Untitled Document</title>
<link rel="stylesheet" type="text/css" href="shadowbox.css">
<script type="text/javascript" src="shadowbox.js"></script>
<script type="text/javascript">
Shadowbox.init();
</script>
<link rel="stylesheet" type="text/css" href="shadowbox.css">
<script type="text/javascript" src="shadowbox.js"></script>
<script type="text/javascript">
Shadowbox.init({
handleOversize: "drag",
modal: true
});
</script>
</head>
<a href="myimage.jpg" rel="shadowbox" title="Destiny Test 1">New Destiny</a>
<body>
</body>
</html>
Any help with be appreciated.. ![]()
Destiny
Offline
Looks to be a syntax error but I do not understand where #1096 is or what it is..
Destiny..
Offline
Hi Gérald... again! ![]()
Coolest thing ever!!!..
I managed to get the pano in the shadowbox java but... As soon as I link it with the html, it bombs out with an error.. It has to be the html that goes in for it to all work since the CSS is all linked. This means I will be able to get my streaming video in there too... soooo cool.. I just have to work out how to fix the error... It also opens the door to a heap of other cool things that can be added to a pano.. Very exciting... That was a really great tip to use that java shadowbox Gérald.. There is no conflict with files or folder names as can be seen but I would not know about the hidden stuff..
Destiny...
Last edited by Destiny (2012-02-04 07:19:24)
Offline
Hi..
Here is a link to my first test pano in an interactive shadowbox java window.. Same as with the image test, this also has errors... ![]()
http://www.destinyvirtualtours.com/Dest … hPano.html
Soo cool.. It will also be possible to have a thumb pano images on my web site linked to opens these windows.. Thats easy to do but to get it to open inside a pano is not so easy.. There is some kind of code conflict happening...
Destiny...
Offline
I can not solve my problem, how do you open an html page to another html page all within panotour ?
Offline
Hi galatea
Sorry, I thought you had that one all fixed up.. I did it easy.. http://www.destinyvirtualtours.com/HTML … 4rtyr.html
Not sure what you are doing wrong. This link above is a html inside a pano.. Did you use the html code that Gérald provided.??. The only thing you really need to make sure of is to close off the meta and img tags.. and as Andrew pointed out make sure your url is local.. I did not have an issue with doing this with a jpg.. You can put your url on the jpb in your html editing program. Do not use CSS or background colours as this will cause issues..
My own project in getting the interactive pano opening inside a pano is all based on java script, since I want to use swf in mine... I am still getting my head around it.. Using the link Gérald provided, sent an email to the people who have already done it asking about it. A guy named John kindly got back to me.. He said it was tailor-coded by 'kolor' for him.. I cannot afford to get it done like that, besides I want to learn how to do it myself... I think I am almost there with it.. Its just a matter of experimenting with it more.. John said its easy, its just a matter of linking two panos,,, if only it was as easy at that.. I must be missing something... Problems is, ptp keeps crashing on me.... At the moment I am using the same method as putting a html to hotspot since all the transitions code is linked to that.. Probalem is, I get errors.. oh hum.. Just when I begin to make progress, ptp crashes.. ... then I forget where I am up to...
Destiny...
galatea wrote:
I can not solve my problem, how do you open an html page to another html page all within panotour ?
Last edited by Destiny (2012-02-05 07:12:20)
Offline
Hello Destiny
Can please write the html code?
Galatea
Last edited by galatea (2012-02-05 08:59:27)
Offline
Hello Destiny, I want http://www.l-officina.net/ open in a new window.
Not in a new page but in a new window into panotour.
Inside Panotour I want to open a window to another window
thanks, good day
Galatea
Last edited by galatea (2012-02-05 09:29:20)
Offline
Hi Galatea.. as soon as I have all this sussed out I will send you the steps.. But its not easy..
Its when I try to put the html link into ptp that causes the issues. Not sure this is the way to do it... It has to be since all the CSS script is in the html file.. It needs it.. The swf file is in there too..
I have tried mixing the Tour java html with the shadowbox java. Independently they work fine, its just when I try to link them together that I am getting issues. I have made separate Pano’s with there own files and folders etc, and also tried to link them with the html. I have also put more than one pano in the tour to try that way but that was worse. I also copied the java from the Shadowbox the added it to the ptp pano java. I have gotten a Pano to work in a shadowbox really well as streaming video.. The benefits of adding this to the tour will mean that streaming video will be possible without any of the controls interfering with the pano. It might be really easy fix or more java script is needed.. ![]()
![]()
http://www.destinyvirtualtours.com/Vide … owBox.html
http://www.destinyvirtualtours.com/Vide … oPano.html
Destiny..
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 |
