Upvote 1

Menu problems

Solved Caroline_keane 4 years ago

Hi. I have been linking different terms in the menu to their respective pages in my prototype. For example, 'home' should go to the home page. However, when I try to link both home and your cart to their respective pages, for some reason, both will go to (once clicked on in simulation mode) to whichever page I happened to link to last. For example, If I happened to link 'home' to the home page last out of linking menu terms to all of their respective pages, all other previously menu terms (that I've linked to their respective pages) will all go to the home page once clicked in simulation mode. The link to the home page has been overridden by every other link in the menu. Please see attachment if this helps at all. Thanks

Replies (1)
photo
1

It sounds like the "Link" event might be linking to the previous screen, instead of a selected screen in the prototype. If you click on the event in the Events palette, what option is selected for the link destination?

photo
1

Well, I haven't been linking 'menu' and 'cart' to their respective pages in the drop down menu via the events palette. I have been linking them to their respective pages by right clicking on my mouse when on 'menu' and 'cart' and I scroll down to 'Add link.' Is this not the way to link 'menu' and 'cart' to their respective pages then? Thanks.

photo
1

Hm, that should work then. Is it possible that the elements in the menu are overlapping? You can also attach the .vp file here for us to check out. You'd need to compress the file to .zip/.rar format to attach it here.

photo
1

Hello,

Hopefully you can see what I've attached to this email. I don't think the elements are overlapping in the menu. Just to note that 'home' and 'your cart' are the only terms in the menu that are linked to pages. There are no pages for the other terms in the menu to be linked to. Thanks.

photo
1

The issue is that the menu is made of a List Box element, rather than individual elements like Rectangles. So when you click on any value in the List Box, it will link only to one screen. You could create conditions and different events to determine which value is selected in the List Box, but it's not necessary in this case. Instead, it would be easiest just to change the menu to individual rectangles, and then link each of those rectangles to different screens. You can group all the rectangles together (select them all, then Command/Control G) in order to show/hide them all at once when you click the burger menu icon.

photo
1

OK, I'll try that. Thanks

photo
1

The thing is now after using individual rectangles and grouping them together, they seem to be appearing in simulation mode straight away without pressing on the hamburger menu. This is even after making an event to ensure the menu shows up only when pressing on the hamburger menu...

photo
1

Make sure they're marked as hidden in the Properties palette - that will prevent them from showing up at first during simulation.

photo
1

Yeah, I've done that before going into simulation mode...

photo
1

OK, my bad. It works now. Thank you

photo
1

Great! Glad to hear that's working.

photo
Leave a Comment
 
Attach a file