Three more drop down menus

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

Three more drop down menus

Post by Hopki » Tue Jan 03, 2012 10:53 pm

Hi,
I wanted to make a menu that would work well with the simplex skin so I decided to make it from the rectangle tool which means it is fully resizable.
I got a bit carried away and ended up making three skins in the end, all slightly different.

The dropdown_menu_simple.ggsk is the same as I posted here: http://gardengnomesoftware.com/forum/vi ... =17&t=6990, but uses the rectangle tool rather than graphics. So the instructions from that post should help you work it out.
Example:

menu_simple.swf [ 136.71 KiB | Viewed 17524 times ]

The second skin, dropdown_menu_simple_slide.ggsk just slides out from the side.
Example:

menu_simple_slide.swf [ 136.74 KiB | Viewed 17524 times ]

The third is a bit of a monster and a good grasp of the Skin Editor is needed, dropdown_menu_simple_expand.ggsk. It behaves like a web page menu, with drop down floors then sub boxes for the rooms on the floors.
Example:

menu.swf [ 137.34 KiB | Viewed 17524 times ]

This skin also uses regular expressions to hide the location circles of all the other rooms when a new room is selected.

All the skins work with flash and HTML5 outputs and was built using V3.1.2. They all stop any unnecessary reloads by covering the clicked location.

If you open External loaders with the menu you can switch between panoramas and objects.
Example:

menu_object.swf [ 1.69 MiB | Viewed 17524 times ]

This has the advantage that fullscreen works with both the panorama and the object.
This was made with Pano2VR and using using a blank/null panorama, 20 x 10px. Then the panorama and object were loaded by using the external SWF loader.
Regards
Hopki
Attachments
dropdown_menus.zip
(5.25 KiB) Downloaded 1476 times

User avatar
Shytsko
Posts: 58
Joined: Sat Dec 31, 2011 10:56 am
Location: Minsk, Belarus
Contact:

Re: Three more drop down menus

Post by Shytsko » Wed Jan 04, 2012 4:06 pm

Hello! Thank you very much, everything works fine, very right drop-down menu.
Pete. :D

User avatar
George Palov
Posts: 58
Joined: Mon Jun 13, 2011 11:18 pm
Location: Sofia, Bulgaria
Contact:

Re: Three more drop down menus

Post by George Palov » Wed Jan 04, 2012 6:47 pm

Thank you Hopki, I haven't tried these, but they sure look nice!
Best, G

PostArt
Posts: 7
Joined: Mon Dec 17, 2007 2:50 pm

Re: Three more drop down menus

Post by PostArt » Sun Feb 05, 2012 3:12 pm

Hi Hopki,

How do you get the object to open up in the pano skin? Im trying to implement this as a work around until the long standing issue of "open next pano" has been resolved in object2vr.

regards,

Paul.

PostArt
Posts: 7
Joined: Mon Dec 17, 2007 2:50 pm

Re: Three more drop down menus

Post by PostArt » Sun Feb 05, 2012 6:29 pm

Worked it out in some kind of way....not great.

http://tokyomagic.co.uk/OTHER/testest/

once you click hideGallery, and choose to open another object you are forced to double click the thumbnail even thou I have not set this to occur. Why would this happen?

and secondly, when will "open next pano" work in object2vr? Getting real tired of waiting for this, its been months since I brought the issue up.

sheltoan
Posts: 6
Joined: Fri Jan 29, 2010 10:36 pm

Re: Three more drop down menus

Post by sheltoan » Tue Mar 06, 2012 3:26 am

Thank you for the wonderful templates, Hopki! They proved to be great for learning as well as useful for my tours!

I did run into a problem though. I used the expanded menu (with floors and rooms) and figured out how to properly add floors and rooms as needed. I am creating a Flash version for computers and a html5 version for iPad/iPhone (since "mouse enter/exit" doesn't work well for iOS). The Flash version works fine, and I need the html5 version to run as an app, so I've done all of the appropriate steps involved in consolidating the manifest files and adding the code for my custom icon.

The problem I am running into is how to link the panos in html in the menu actions. I can't use "go to url" since it will load a new skin and manifest for every url, so I assume I must use "open next panorama". Unfortunatley, every time I try, I get the "error loading panorama xml". I've tried pointing to the swf, the xml, and the html with no luck. My xml files have the format "$n_out.xml" as is default.

Any ideas? Is there more info needed? Please help, it's driving me nuts!

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

Re: Three more drop down menus

Post by Hopki » Tue Mar 06, 2012 10:59 pm

Hi,
In the cash manifest file have you included all the other images and xml files?
After downloading the cache manifest it will only load the files outlined in the manifest file.
If you have not included the next xml, it will simply say it can not find it even if it is on the server.
Regards,
Hopki

sheltoan
Posts: 6
Joined: Fri Jan 29, 2010 10:36 pm

Re: Three more drop down menus

Post by sheltoan » Wed Mar 07, 2012 1:11 am

Hmm...yes, I have double checked, and all of the manifest listings are included in the initial pano's manifest file. Any other ideas? Are there any files I can upload that might help?

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

Re: Three more drop down menus

Post by Hopki » Wed Mar 07, 2012 1:37 pm

Hi,
This should work with Open Next Panorama and using the SWF or XML file extension.
If you want you can send me your project, or just two nodes of it including the skin, I can then take a look at it.
Regards,
Hopki

Largo
Posts: 34
Joined: Sun Feb 12, 2012 11:29 am

Re: Three more drop down menus

Post by Largo » Wed Mar 28, 2012 7:13 pm

Hello.
I tried to modify this template and added more menu buttons. But there comes some problems.
1) I figgured out that one digit numbers not work with two digit numbers in regular expressions. For example you cant type 1-12, you must type 1-9/10-12
2) There is still problems with it. I don't know why, but it don't work with 1,2,10,11,12 menu buttons. I attach my template to this post.

Thanks in advance for any advices.
Attachments
dropdown_menu_simple_side.ggsk
(2.11 KiB) Downloaded 533 times

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

Re: Three more drop down menus

Post by Hopki » Wed Mar 28, 2012 8:17 pm

Hi,
With regular expressions 1 and 12 still contains 1 so will be the same thing.
You can use sub expressions, but the simplest thing to do is use single digits and numbers, example, a to z, then 0 to 9.
Regards,
Hopki

Largo
Posts: 34
Joined: Sun Feb 12, 2012 11:29 am

Re: Three more drop down menus

Post by Largo » Wed Mar 28, 2012 8:23 pm

Thanks alot for quick reply.
My little advice is to add this info to this article http://gardengnomesoftware.com/wiki/Usi ... e_elements
I spend half a day to resolve this little problem. :(

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

Re: Three more drop down menus

Post by Hopki » Wed Mar 28, 2012 8:30 pm

Hi,
Good idea, I will add some two digits/letters examples too.
Using two letters gives you more, as there are 26 letters opposed to 10 digits, 0 ~ 9.
Job for tomorrow afternoon.
Regards,
Hopki

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

Re: Three more drop down menus

Post by Hopki » Thu Mar 29, 2012 6:41 pm


Harris
Posts: 1
Joined: Thu Aug 18, 2011 6:09 pm

Re: Three more drop down menus

Post by Harris » Mon Apr 02, 2012 8:57 pm

Any advice out there for a beginner with o2vr. I've been trying to link o2vr to p2vr but have virtually no knowledge of skins other than loading skins that already exist.
Without any real knowledge of the programme it's hard to know what I'm suppose to be doing even when reading the posts sent in. My knowledge goes as far as creating a panoVR and hotspots to link to another pano.
Object2vr hasn't gone any further than creating a 360.
How do I link them together so you can go from one to another ?
Are there any beginners out there that have found info that really helped, given lack of knowledge?

Hoping you can help :?
Harris

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests