Nav Bar with Link and Menu
Hello,
In XDP X V.16 on Windows 10 computer.
On my top Horizontal NavBar, when I add sub menu and link to pages in this same template, the following error pops up:
Warning: You have at least one button with both a link and a menu. On touch-only devices, visitors to your site won't be able to use the menu, because touching the button will invoke the button link. Therefore it is recommended that you don't have links on buttons that have menus.
Question: Is there a way for me to have a NavBar with sub menu to work on touch-only devices?
Thank you,
Sue
P.S. In error, I asked this under a different category. I did not know how to delete or move my original post.
Re: Nav Bar with Link and Menu
Re: Nav Bar with Link and Menu
Quote:
Originally Posted by
hotrodsue
Hello,
In XDP X V.16 on Windows 10 computer.
On my top Horizontal NavBar, when I add sub menu and link to pages in this same template, the following error pops up:
Warning: You have at least one button with both a link and a menu. On touch-only devices, visitors to your site won't be able to use the menu, because touching the button will invoke the button link. Therefore it is recommended that you don't have links on buttons that have menus.
Question: Is there a way for me to have a NavBar with sub menu to work on touch-only devices?
Thank you, Sue
Sue, it is a long-winded way of not saying remove any links on the actual buttons and only have links from the sub-menu.
If you need the button link to still exist you should create a top-of-the-list sub-menu entry with that link and possibly follow with a horizontal separator.
Acorn
Re: Nav Bar with Link and Menu
Sorry about that Acorn.
I'll try to do better in the future.
Re: Nav Bar with Link and Menu
Quote:
Originally Posted by
Braden
Sorry about that Acorn.
I'll try to do better in the future.
Braden, I don't know why you are apologising. Any and all engagement is better than sitting stumb.
Acorn
Re: Nav Bar with Link and Menu
You're right, I suppose I just got a little nervous about your post.
The last thing I want to add to this forum is confusion or a stumbling block.
By the way, I've seen a lot of your posts. They've helped me quite a bit.
So thank you for all your contributions.
Re: Nav Bar with Link and Menu
Quote:
Originally Posted by
Braden
The last thing I want to add to this forum is confusion or a stumbling block.
Don't read any of my comments then :D
Re: Nav Bar with Link and Menu
Hello, I am back at it. This forum is a great resource.
Braden, thank you so much for taking time to make a video. How kind. Tutorials in video work great.
Acorn, thank you for your instruction. I do still want the button link. Will you please give me a little more direction? I don't quite understand:
"If you need the button link to still exist you should create a top-of-the-list sub-menu entry with that link and possibly follow with a horizontal separator."
As always, the help is much appreciated.
Sue
Re: Nav Bar with Link and Menu
Acorn is referring to not having the main navbar button do anything other than trigger the sub menu. Using Projects, 1, 2, 3 and 4 as an example.
Projects would show on the main navbar with no URL link
Project 1 would link to Project 1 page
Project 2 would link to Project 2 page
Project 3........
This would have the effect of tapping/clicking the Projects button which would only show the sub menus.
Re: Nav Bar with Link and Menu
I'm not Acorn but since I am here, unless you have a specific page, For example About Us, which provides general information then two sub pages, for example Our Background and Our Mission, then the button on the nav bar does not need a link. But if you have a top layer page About Us as described, with two sub pages then you can add About Us to the sub menu along with Our Background and Our Mission.
Does this make sense?
2 Attachment(s)
Re: Nav Bar with Link and Menu
Sue, Acorn is saying never to have a link on the menu item that leads to a submenu. If you want a link that leads to a similarly named page add it to the top of the drop down menu and add a separator.
Re: Nav Bar with Link and Menu
Quote:
Originally Posted by
Egg Bramhill
Sue, Acorn is saying never to have a link on the menu item that leads to a submenu. If you want a link that leads to a similarly named page add it to the top of the drop down menu and add a separator.
Egg, this is it! Yes, it is easy, now that I see it! Thank you for the screen caps.
Thank you, Gary, and Chris too! It truly is a team effort! There's usually more than one way to accomplish something! I'm grateful for the valuable input. Can't thank you all enough.
Have a good night!
Re: Nav Bar with Link and Menu
Quote:
Originally Posted by
Braden
Great Job Braden! Feel free to do any "long-winded" videos (not really long-winded) anytime... there are/will be many many people who WILL appreciate what you offer...
You can ignore all the others. (No matter who they are!)
Re: Nav Bar with Link and Menu
Quote:
Originally Posted by
cmpan1
Great Job Braden! Feel free to do any "long-winded" videos (not really long-winded) anytime... there are/will be many many people who WILL appreciate what you offer...
You can ignore all the others. (No matter who they are!)
Acorn's reference to 'long winded' was aimed at the warning notice, not Braden. He openly praised Braden for his contribution.
I'm currently cooking humble pie, would you like me to bake two? :D
Re: Nav Bar with Link and Menu
Quote:
Originally Posted by
Chris M
Acorn's reference to 'long winded' was aimed at the warning notice, not Braden. He openly praised Braden for his contribution.
I'm currently cooking humble pie, would you like me to bake two? :D
No Chris, just the one for yourself will do... :D
Re: Nav Bar with Link and Menu
May peace be with you all.
Christ and cmpan1: I didn't know if Acorn was talking to me or not, so I thought it good to just apologize if I had caused any confusion.
That is my favorite flavor of pie. Not because it tastes good, but because it nourishes the heart, and softens the soul even though sometimes it's hard to swallow.
hotrodsue: I'm very glad you were able to figure out your issue! I learned something new today, something I didn't even know was possible. Thanks for your question.
Egg: You and the many others who know Xara are what make this forum an invaluable resource. Thanks for the input.
Re: Nav Bar with Link and Menu
:) Just a bit of ribbing Braden. I have many recipes for humble pie.
Re: Nav Bar with Link and Menu
Quote:
Originally Posted by
Chris M
Acorn's reference to 'long winded' was aimed at the warning notice. He openly praised Braden for his contribution.
I'm currently cooking humble pie, would you like me to bake two? :D
Chris, thank you for coming to my defence and I now see Braden's concern: I was referring to the warning in Sue first Post, not Braden's that snuck in between my reply. My FLAME was to Xara about saying what was wrong but not being clear as to what the fix was. The Error pop-up would benefit from a link to the Help around NavBars.
Further thanks to all contributing TGers around how to "fix" NavBars for mobile use.
Acorn