You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

andrew22222

Intermediate

  • "andrew22222" started this thread

Posts: 354

Location: Australia

  • Send private message

1

Wednesday, July 1st 2009, 3:16am

How to make a 'help' window load with first panorama only?

Hi,

Could I please enquire as to how you make a 'help' window load with the first panorama only?

An example can be seen here http://www.bziegler.com/posts/2009/03/vr_airbus/CJ/ from a previous forum member.

I have a ? png button already in place on the bottom right for use that opens a image window during the tour but people need that extra hint at the start so I would also like to have that same image appear on my virtual tour only on the first loaded panorama then they can close it ;-)

Look forward to hearing from anyone.

Thanks,

Andrew

Graydon

Professional

Posts: 614

Location: Texas

Occupation: Industrial gas turbine services.

  • Send private message

2

Wednesday, July 1st 2009, 5:49am

You can set your image window to be viewable at first... then use an onclick of the image to close it. You'll have to setup your actions so that if someone clicks on the image to close itself, the png in the bottom right is adjusted so it's new onclick is to open the image / help window.

andrew22222

Intermediate

  • "andrew22222" started this thread

Posts: 354

Location: Australia

  • Send private message

3

Friday, July 3rd 2009, 5:36am

Thanks for the reply Graydon.

Do you know of any examples out there (from users of this forum) that does this? I can't seem to find any which is a shame as there may be an xml sheet to study and get the hang of. The tour at the link I supplied in my previous post seems to have the xml code protected which is fair enough but as I mentioned I'm only interested in the 'load window with the first panorama only' not all the other bells and whistles ;-)

Thanks,

Andrew

4

Friday, July 3rd 2009, 5:49am

Couldn't you just set the plugin Keep="false"
It would only load on the first pano, wouldn't it?Of course, you would probably need two plugins. The autostart with keep="false" and then the buttons operating separately with some action code to control them. But I guess I am just restating Graydon's post now.

This post has been edited 1 times, last edit by "Jarredja" (Jul 3rd 2009, 7:00am)


VN2009

Professional

Posts: 1,336

Location: Duluth MN

  • Send private message

5

Friday, July 3rd 2009, 5:49pm

i use a help screen that load the first time at the first pano. i use onstart= to launch the window. problem is whenever that first scene is revistied the help screen comes back down. answer from Klaus to me was to call a fake action when returning to the 1st scene again. by calling a fake action it will prevent the autostart from firing off again. so where ever you make a link to go back to main starting pano just call a fake action.

onclick=loadpano(mystartingpano.xml); action(fakeactiontostopautorun); something like that.

machart

Trainee

Posts: 135

Location: Ostfriesland

  • Send private message

6

Friday, July 3rd 2009, 6:09pm

i think, if you work with scenes and put the help stuff before the scene specific stuff it shound only load once...
__close to the rainbow__
_D300S|Sunwayfoto|iMaci7|PM|APP|KRP_
www.panographie.net

Graydon

Professional

Posts: 614

Location: Texas

Occupation: Industrial gas turbine services.

  • Send private message

7

Saturday, July 4th 2009, 10:42am

Do you know of any examples out there (from users of this forum) that does this?
Sorry for not getting back to you on this one... but I sorta know one : )

http://goto.marlincreek.com/kingsharbor/

The blue box is a textfield... but the same functions would work for a normal plugin image.

xml file is attached...

info.xml

The "info" plugin is the "i" button in the bottom right.
The "info_box" plugin is the blue textfield.

Hope that helps.

andrew22222

Intermediate

  • "andrew22222" started this thread

Posts: 354

Location: Australia

  • Send private message

8

Monday, July 6th 2009, 3:16am

Excellent. Thanks for the extra posts. I'll have a go with the info next week and see what I can create *smile*