• Hi,

    I’m building a major website for people with mobility issues due to braindamage, I would like add dropdown to a menu item and a link to a specific page. So it has to be double tasked. I’m sorry for my terrible and horrible English. Does anyone understand my issue?

    Looking forward to the replies.

    Thanks in advance!

    Take care, stay clean.

    Regards Paul

    • This topic was modified 2 years, 6 months ago by Jan Dembowski.

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Moderator bcworkz

    (@bcworkz)

    Menu functionality varies by theme, but typically clicking a menu item goes to the linked page and clicking the down arrow or + icon next to it opens the drop down. I’m unsure how one individual item could do double duty unless a condition can be defined to tell it to do one thing or another.

    What trouble do those with impairments have that you are trying to solve?

    Thread Starter pahoma

    (@pahoma)

    @bcworkz Thanks for your reply; it has the drop-down function and link to a specific page. This page: /pkclub-crossgym/. I can’t put it anywhere, can you please help me?

    Thanks in advance!

    Take care, stay healthy.

    Regards Paul

    • This reply was modified 2 years, 6 months ago by Jan Dembowski.
    Thread Starter pahoma

    (@pahoma)

    Hi,

    Exemple:

    The page should link to: https://www.pahoma.nl/pkclub-crossgym/

    At the same time a dropdown menu should appear. Wich show the different options (locations).

    I really hope that somebody can/will help me to solve this case.

    Thanks in advance!

    Regards Paul

    Moderator bcworkz

    (@bcworkz)

    “At the same time” is where I’m confused. You can’t really do both — navigate else where AND display a drop down at the same time. One event must occur after the other. For example, the dropdown on the pkclub-crossgym page could be displayed automatically when the page is loaded, after navigating to the page. This can be done by including the “open” class in the menu’s li element.

    Or the dropdown could be displayed on other pages first, then users would navigate directly to the specific gym location page, entirely bypassing the overall pkclub-crossgym page.

    Thread Starter pahoma

    (@pahoma)

    @bcworkz Thanks for your reply; it’s a little bit disapoiting. There must be any solution for this case, because in my world i don’t aggree with anything that seems impossible. Is’t there something i must edit in the core code?

    Please help solving this issue,

    Thanks in advance!

    Stay healthy and fit.

    Regards Paul

    • This reply was modified 2 years, 6 months ago by pahoma.
    Moderator bcworkz

    (@bcworkz)

    I’m usually the one saying nothing is impossible! In computing though, something that would happen at the same time would be a rarity, everything happens in sequence. Things may happen in sequence that occur so fast that we perceive it to be simultaneous. Or it may be I’m misunderstanding what you want.

    Editing core code is strongly discouraged and very rarely necessary. There are usually plenty of hooks that will accomplish nearly anything. I cannot suggest a solution if I don’t understand what is needed. Navigating to another page based on an event is at odds with displaying something based on the same event. You can literally display something, then navigate away, but what is displayed will quickly disappear when the new page is requested.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Double link’ is closed to new replies.