Welcome to TalkGraphics.com
Results 1 to 10 of 11

Hybrid View

  1. #1

    Default complicated popup menu question

    I'm working on a popup menu based on this concept:
    https://tympanus.net/Development/ResponsiveMultiLevelMenu/

    Here is my working sample so far:
    http://cigfamilies.com/menutest/index.htm

    I'm just using a series of popup menus, and as you can see, it's not bad.
    The code for the "back" button on the submenus is something I found on the XaraXhris "how to do popups" video -
    basically it entails closing the submenu popup while at the same time opening the main menu popup with a link such as popup: "menu1" close "menu2".

    As you can see, the main menu when on the homepage closes automatically.
    That is to say the hamburger triggers the main menu via a mouseover effect, and when you mouse away, the menu fades away. That's perfect, that's what I want.

    The problem I am encountering (and this is the complicated part) is that when I click on a subcategory such as "bowls", and then go "back" to the main menu, the main menu no longer closes automatically.
    It is now "stuck", and won't close unless I again click the word "home" or refresh the page.
    Naturally we an't ask our users to do that.

    Can anyone give me a tip as to how to retain the "close automatically" effect when I click "back" from one of the submenus?
    Hopefully I've clarified the issue adequately.
    I've also attached the .xar file. menutest.xar

    Thank you

  2. #2
    Join Date
    Aug 2000
    Location
    Placitas, New Mexico, USA
    Posts
    41,535

    Default Re: complicated popup menu question

    Your post was moderated because new members are not supposed to be permitted to add links (spam consideration)

    But as your links are appropriate to your questions the post is approved.

  3. #3
    Join Date
    Aug 2000
    Location
    Placitas, New Mexico, USA
    Posts
    41,535

    Default Re: complicated popup menu question

    Have you tried simply created a vertical nav bar, with all your fly out menus, and adding this menu to one new Menu layer?

  4. #4

    Default Re: complicated popup menu question

    yes, it's just that the built-in navbar doesn't give me the effect I want, so I was trying to recreate the codrops menu to some degree, where the submenus essentially replace the main menu until the user goes "back".
    I just wonder why the main menu originally "closes automatically, but after navigating to a submenu and clicking "back", the main menu no longer "closes automatically".

  5. #5
    Join Date
    Aug 2000
    Location
    Placitas, New Mexico, USA
    Posts
    41,535

    Default Re: complicated popup menu question

    I just wonder why the main menu originally "closes automatically, but after navigating to a submenu and clicking "back", the main menu no longer "closes automatically".
    I have no idea. Egg or Acorn or Chris or Siran or someone might have a better answer.

    I prefer to create a menu like this with layers but I rarely get into a lot of sub menus.

    The nav bar feature is OK for a standard menu bar but after that leaves a lot to be desired.

  6. #6

    Default Re: complicated popup menu question

    Actually I partly got the idea to create a custom menu like this from you gwpriester, and this post from about a year ago: https://www.talkgraphics.com/showthr...t=button+state. I was successful in recreating the codrops custom menu in xara using the html placeholder, but had conflicts with the mobile variant so tried to recreate it using popups.

 

 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •