simpel next button

Q&A about the latest versions
Post Reply
HDijk
Posts: 24
Joined: Fri Jul 27, 2012 1:11 pm
Location: groningen
Contact:

simpel next button

Post by HDijk » Mon Aug 20, 2012 9:59 am

Hi,
Its impossible to look for this topic in the forum but the question is already made by another user I think. Sorry for that.
I'm looking for a simple "next " button in the skin which is linked to the next pano. Go to next pano is the action, but furher..... :?: So I can browse through the pano's
Anyone knows how to do.
Best regards Hans

User avatar
Hopki
Gnome
Posts: 9258
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Re: simpel next button

Post by Hopki » Tue Aug 21, 2012 4:01 pm

Hi,
in each panoramas user data you can set the next and previous panoramas in the information and comment text fields.
Then in left and right buttons add:
mouse click => open next panorama => url: $ui (information) and $uo (comment) => target: xxxxxx
Example: information ($ui) to go forward through the panoramas and comment ($uo) to go back.

Regards,
Hopki

HDijk
Posts: 24
Joined: Fri Jul 27, 2012 1:11 pm
Location: groningen
Contact:

Re: simpel next button

Post by HDijk » Thu Aug 23, 2012 9:54 am

Hi Hopki,
Thanks very much!!
Regards Hans

HDijk
Posts: 24
Joined: Fri Jul 27, 2012 1:11 pm
Location: groningen
Contact:

Re: simpel next button

Post by HDijk » Thu Aug 23, 2012 10:22 am

Hi Hopki,
Sorry it must be simple but I dont get it. I have a five node tour : scene_1, scene_2 etc. In userdata these names I fill in title and information and comment text fields.
I.E. in scene_1 : information = scene_1 and comment = scene_1 ?
Then in left and right buttons add:
mouse click => open next panorama => url: $ui (information) and $uo (comment) => target: xxxxxx
Example: information ($ui) to go forward through the panoramas and comment ($uo) to go back.
This doesn't run
Best regards Hans

User avatar
Hopki
Gnome
Posts: 9258
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Re: simpel next button

Post by Hopki » Thu Aug 23, 2012 1:29 pm

Hi,
Scene1 will have in the user data information text field: scene2.swf (this being the file name of the swf file of scene 2)

Scene2 will have scene3.swf in the information text field and scene1.swf in the comment text field.

Now when in Scene2 the NEXT button with open next panorama $ui will go to scene3.swf as it will read the data from the information text field which is scene3.swf.
However if you clicked the BACK button in scene 2 it will open the panorama in the user data comment text field, $uo which is scene1.swf.

So it follows that in scene3 it will have scene4.swf in the information text field and scene2 in the comment text field
Regards,
Hopki

HDijk
Posts: 24
Joined: Fri Jul 27, 2012 1:11 pm
Location: groningen
Contact:

Re: simpel next button

Post by HDijk » Thu Aug 23, 2012 7:16 pm

Thanks Hopki,
It runs fine now. Also in HTML5.
Best regards Hans

HDijk
Posts: 24
Joined: Fri Jul 27, 2012 1:11 pm
Location: groningen
Contact:

Re: simpel next button

Post by HDijk » Sat Nov 03, 2012 3:39 pm

Hopki wrote:Hi,
Scene1 will have in the user data information text field: scene2.swf (this being the file name of the swf file of scene 2)

Scene2 will have scene3.swf in the information text field and scene1.swf in the comment text field.

Now when in Scene2 the NEXT button with open next panorama $ui will go to scene3.swf as it will read the data from the information text field which is scene3.swf.
However if you clicked the BACK button in scene 2 it will open the panorama in the user data comment text field, $uo which is scene1.swf.

So it follows that in scene3 it will have scene4.swf in the information text field and scene2 in the comment text field
Regards,
Hopki
HI Hopki,
I'm using the tourbrowser of the Pro4 version. There is only one swf file. What to do now? Took me some time now but can't figure it out.What are the url 's of the several pano's? Thanks in advance.
Best regards Hans

Judy-A
Posts: 242
Joined: Sun Jan 10, 2010 5:26 am
Location: Edmonton, Canada
Contact:

Re: simpel next button

Post by Judy-A » Sat Nov 03, 2012 5:07 pm

HDijk wrote:I'm using the tourbrowser of the Pro4 version. There is only one swf file. What to do now?
Hi Hans,

In the userdata fields, instead of using scene1.swf, scene3.swf, use {node1}, {node3}.

Judy

HDijk
Posts: 24
Joined: Fri Jul 27, 2012 1:11 pm
Location: groningen
Contact:

Re: simpel next button

Post by HDijk » Sun Nov 04, 2012 2:39 pm

Hi Judy,
Thanks. I tried already "node1".. etc. but without the curly brackets.
Best regards Hans

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 9 guests