displaying the panorama on a smaller frame rather than full page

Q&A about the latest versions
Post Reply
RAlarcon
Posts: 33
Joined: Sun Sep 06, 2015 10:47 pm
Location: Liverpool, England.
Contact:

Dear Friends,

I have been looking on the YouTube webinars for information on how to do the above mentioned subject and came across one that mention the use of NWJS ( https://www.youtube.com/watch?v=0PLXrekaevE ) as it is clicked it opens the panorama on a small window 800 x 600 pxls rather than a full new screen.

This is the script used in conjunction with NWJS to open a small window in the middle of the page

{
"name": "Park Tour",
"main": "pano/index.html",
"window":{
"toolbar":false,
"width":800,
"height":600
}
}


My flipbooks are an html5 driven magazine that has a left and a right page, the right page has a button with this html code in it

<html>
<head><meta charset="utf-8">
<title>Plaza Victoria</title>
</head>
<body>
<img alt="" height="624" src="pages/link/19.jpg" usemap="#workmap" with="520" /><map name="workmap"><area alt="Computer" coords="270,80,70" href="panos/victoria/index.html" shape="circle" /></map>
</body>
</html>

How can I combine the two set of codes so when I click the button it opens the small box of 800 x 600 over the left hand page rather than a full new page?

Here is a link to one of the pages on my magazine about Chile, illustrating the current situation.

Any help I would very obliged,

Thaks you and kind regards,

Rodrigo
User avatar
Tony
Posts: 1341
Joined: Mon Feb 15, 2010 6:54 am
Location: Adelaide, South Australia
Contact:

Here is a link to one of the pages on my magazine about Chile, illustrating the current situation
Hi, couldn't see the link?

Tony
Tony Redhead | Panoramic Photographer | mobile: +61438501002 | website: https://tonyredhead.com - https://redsquare.com | Pano2VR Tutorials: https://tonyredhead.com/pano2vr | instagram: https://www.instagram.com/tonyredhead/
User avatar
360Texas
Moderator
Posts: 3684
Joined: Sat Sep 09, 2006 6:06 pm
Location: Fort Worth, Texas USA
Contact:

I sent Rodrigo an email request for link.

Rodrigo's website is here http://www.360panoview.co.uk/
Dave
Pano2VR Forum Global Moderator
Image
Visit 360texas.com
RAlarcon
Posts: 33
Joined: Sun Sep 06, 2015 10:47 pm
Location: Liverpool, England.
Contact:

Hi Dave, long time no speak, hope you and Pat and family are keeping well.

The link to the flipmagazine is : https://www.360panoview.co.uk/chilemaga ... azine.html this flipbook is about Chile; I am in the process of redoing all of them(14) into html5 as they were flash based and now that flash is defunct nobody can see my panoramas.
It works fine if you click the round blue circle on the top righthand side page, but it opens on a full new browser page. My intention is for it to open the panorama on a small 800 x 600pxls within the left hand side page on view but for the life of me I can't seem to do it.

kind regards,

Rodrigo
User avatar
360Texas
Moderator
Posts: 3684
Joined: Sat Sep 09, 2006 6:06 pm
Location: Fort Worth, Texas USA
Contact:

Thanks.... great presentation and photography.
Dave
Pano2VR Forum Global Moderator
Image
Visit 360texas.com
RAlarcon
Posts: 33
Joined: Sun Sep 06, 2015 10:47 pm
Location: Liverpool, England.
Contact:

Dear Friends,

So far I have managed to display the panorama within the page of the flipbook on a square, but the background jpg that constituted the page has disappeared and I don't know how to get it back, I have tried this and thry that but no joy, any help would be much appreciated.

Here is the link to the page in question https://www.360panoview.co.uk/chilemaga ... k/page/6-7 if you click the "try it" button it will open the panorama on the small window within the pages of the flipbook; but I want to use my own button that it is in the background jpg where it gives the coordinates and shape in the code of the html.

This is the code for that html

<html>
<head><meta charset="utf-8">
<title>Santiago</title>
</head>
<body>
<img alt="" height="624" src="pages/link/07.jpg" usemap="#workmap" width="520" /><map name="workmap"> area="Computer" coords="270,80,70" shape="circle" /></map>

<button onclick="myFunction()" </button>
<script>
function myFunction() {
window.open(href="panos/santiago/index.html", "_blank", "toolbar=no,scrollbars=no,resizable=yes,top=500,left=500,width=400,height=400");
}
</script>

</body>
</html>

kind regards,

Rodrigo
RAlarcon
Posts: 33
Joined: Sun Sep 06, 2015 10:47 pm
Location: Liverpool, England.
Contact:

EUREKA!!!!!

Seem to have sorted it out,, will let you know when it is ready.

regrads,

Rodrigo
User avatar
360Texas
Moderator
Posts: 3684
Joined: Sat Sep 09, 2006 6:06 pm
Location: Fort Worth, Texas USA
Contact:

:D
Dave
Pano2VR Forum Global Moderator
Image
Visit 360texas.com
Post Reply