Cascading(?) Drop Down Menus with Pop Up Image?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Cascading(?) Drop Down Menus with Pop Up Image?
Hi everyone,
I'd like to build a cascading (if this is not the right terminology, please correct me) drop down menu and when the mouse hovers over a selection in the submenu, a different image would pop up for each submenu item. Can this be done in LC? Here's a poorly photoshopped example of what I am looking for:
As you can see, selecting an item in the primary menu spawns a submenu to the right and then when a submenu item is highlighted, a popup image occurs. Of course, the user would select an item in the submenu and continue.
Any help would be greatly appreciated!
Best regards,
Jon
I'd like to build a cascading (if this is not the right terminology, please correct me) drop down menu and when the mouse hovers over a selection in the submenu, a different image would pop up for each submenu item. Can this be done in LC? Here's a poorly photoshopped example of what I am looking for:
As you can see, selecting an item in the primary menu spawns a submenu to the right and then when a submenu item is highlighted, a popup image occurs. Of course, the user would select an item in the submenu and continue.
Any help would be greatly appreciated!
Best regards,
Jon
-
- VIP Livecode Opensource Backer
- Posts: 114
- Joined: Fri Apr 28, 2006 12:10 am
- Location: Seattle
Re: Cascading(?) Drop Down Menus with Pop Up Image?
Hi Jon,
Yes of course this can be done in LC, but you'll have to build your own from scratch. Unless, of course, somebody else has already done it and is willing to share. If no one else responds, I'll help you get started over the next few days.
Cheers,
Roger
Yes of course this can be done in LC, but you'll have to build your own from scratch. Unless, of course, somebody else has already done it and is willing to share. If no one else responds, I'll help you get started over the next few days.
Cheers,
Roger
-
- VIP Livecode Opensource Backer
- Posts: 9852
- Joined: Sat Apr 08, 2006 7:05 am
- Location: Los Angeles
- Contact:
Re: Cascading(?) Drop Down Menus with Pop Up Image?
I haven't done this with cascading menus, but I rarely use cascading menus for all the reasons Microsoft and Apple suggest avoiding them whenever practical (spolier: they're physically cumbersome to use).
But for primary menus you can use stacks as menus, which give you a lot of flexibility, including using graphics as icons in the menu item buttons:
https://forums.livecode.com/viewtopic.p ... 98#p108994
But for primary menus you can use stacks as menus, which give you a lot of flexibility, including using graphics as icons in the menu item buttons:
https://forums.livecode.com/viewtopic.p ... 98#p108994
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
-
- VIP Livecode Opensource Backer
- Posts: 114
- Joined: Fri Apr 28, 2006 12:10 am
- Location: Seattle
Re: Cascading(?) Drop Down Menus with Pop Up Image?
Ya, I thought this would be easy, but I am indeed finding it to be "cumbersome", and not at all straight forward!
Big Mouth Roger
Big Mouth Roger
-
- VIP Livecode Opensource Backer
- Posts: 9852
- Joined: Sat Apr 08, 2006 7:05 am
- Location: Los Angeles
- Contact:
Re: Cascading(?) Drop Down Menus with Pop Up Image?
Which method are you using, Roger, and where have you spent the most time?
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
-
- VIP Livecode Opensource Backer
- Posts: 9738
- Joined: Wed May 06, 2009 2:28 pm
- Location: New York, NY
Re: Cascading(?) Drop Down Menus with Pop Up Image?
Hi.
I would check the use of stack menus, page 180 in the user guide. That allows other controls, like images, to substitute for text. I have never used any of that, but I bet that creating subMenus with the tab character, as one would do in a standard pulldown button might allow you to do what you want.
Craig
I would check the use of stack menus, page 180 in the user guide. That allows other controls, like images, to substitute for text. I have never used any of that, but I bet that creating subMenus with the tab character, as one would do in a standard pulldown button might allow you to do what you want.
Craig
-
- VIP Livecode Opensource Backer
- Posts: 114
- Joined: Fri Apr 28, 2006 12:10 am
- Location: Seattle
Re: Cascading(?) Drop Down Menus with Pop Up Image?
Richard,
I was just trying to assemble list fields to act like a cascading menu, but obviously passing mouse events from one control to another dynamically is difficult.
Roger
I was just trying to assemble list fields to act like a cascading menu, but obviously passing mouse events from one control to another dynamically is difficult.
Roger
-
- VIP Livecode Opensource Backer
- Posts: 9852
- Joined: Sat Apr 08, 2006 7:05 am
- Location: Los Angeles
- Contact:
Re: Cascading(?) Drop Down Menus with Pop Up Image?
The built-in method is to use stacks as menus. Before the macos port it was the only type of menu the engine supported. Follow the link I posted above, let me know if I can help further.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn