Solved

Customizing a spry menu bar

Posted on 2011-09-02
6
314 Views
Last Modified: 2012-05-12
This is my first widget project.  I have a spry menu bar at www.mauitradewinds.com/Super and there are dilemmas regarding configuration.  I want the menu items to be easily legible at the highest screen resolution, and to avoid cutting off the menu labels at 800 x 600 resolution. I set the width of each of the twelve menu items at 8.3%, the overall width of the menu at 100%, and done my best to center the menu.  The font for the menu text is bold and "large", and the horizontal padding is zero em.  These settings barely allow the entirely of the menu labels to be displayed at 800 x 600.  At the same time, I am concerned that the font is too small at the highest screen resolution. I would appreciate opinions as to whether the result is acceptable, and if not, how it might be improved.
0
Comment
Question by:ddantes
  • 3
  • 3
6 Comments
 
LVL 17

Expert Comment

by:OmniUnlimited
ID: 36477032
Hello again ddantes!  I hope the weather is great out there in Hawaii.

You know, I was going to mention that to you last night, but you closed out the question really fast.

You simply have too many menu items to try and fit them in a legible format in one solid row in a 800 x 600 resolution screen.

IMHO, you should have kept the menu the way it was, with two rows so that the menu options would be clear and legible.

FYI in the future, part of good web design is to sit down beforehand and to plan out your project.  You need to know that a web page must be viewed on a variety of browsers and screen sizes, and you should plan to have all text be very legible, regardless of the conditions.

When faced with a large number of unrelated menu selections, it is always better to go with a menu in the sidebar.  If the menu items are related, you can group them into cascading submenus.

I hope this information is helpful.
0
 

Author Comment

by:ddantes
ID: 36477058
Hello again.  Thank you for your feedback.  May I ask why you recommend a menu in the sidebar, instead of a horizontal menu below the slide show?
0
 
LVL 17

Accepted Solution

by:
OmniUnlimited earned 250 total points
ID: 36477103
Hi dantes. I recommended the sidebar IF you have a bunch of unrelated items to set in your menu, but upon looking at your site once again, I am noticing a couple of items which I think possibly could be grouped together into submenus, such as:

Group 1 - Tradewinds Suite, Tradewinds tour
Group 2 - Starwind Cottage, Starwind Brochure, Starwind virtual tour

There may be others, but you know what you are trying to do better than anyone else.

The reason for a sidebar menu is so that you can list a bunch of unrelated items in fonts that are large enough to be read on small screens, but

If you have related items, like those I perceive above, then you could go with the top menu, but just break it down into submenus.  Your Spry widget will handle submenus.

If you like the idea of submenus, I can show you how to do that if you need it.  Please close this question and open a new one and I will be more than happy to give you the coding.
0
What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 

Author Comment

by:ddantes
ID: 36477111
OK, I think your suggestion could resolve the dilemma.  Grouping three items related to the Suite and three items related to the cottage, there would only be 8 horizontal items instead of twelve.  
0
 
LVL 17

Expert Comment

by:OmniUnlimited
ID: 36477120
Super, did you ask a related question so I can give you the code?
0
 

Author Comment

by:ddantes
ID: 36477138
Yes, the question has the same title as this one.
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Making a simple AJAX shopping cart Couple years ago I made my first shopping cart, I used iframe and JavaScript, it was very good at that time, there were no sessions or AJAX, I used cookies on clients machine. Today we have more advanced techno…
This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
Learn the basics of if, else, and elif statements in Python 2.7. Use "if" statements to test a specified condition.: The structure of an if statement is as follows: (CODE) Use "else" statements to allow the execution of an alternative, if the …
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

27 Experts available now in Live!

Get 1:1 Help Now