Solved

Customizing a spry menu bar

Posted on 2011-09-02
12
391 Views
Last Modified: 2012-05-12
I have a spry menubar at www.mauitradewinds.com/Super.  I would like to consolidate the items "Suite Brochure" and "Tradewinds Virtual Tour" as submenus of "Tradewinds Suite", and consolidate "StarWind Brochure" and "StarWind Virtual Tour" as submenus of "StarWind Cottage."  Please provide code.  Also, kindly note that the horizontal menu css and js have been renamed "indexmenu.cs" and "indexmenu.js" respectively, to distinguish them from other menus which will link to different stylesheets in the future.
0
Comment
Question by:ddantes
  • 6
  • 6
12 Comments
 
LVL 17

Accepted Solution

by:
OmniUnlimited earned 500 total points
Comment Utility
Hi ddantes,

Thanks for the new question.

Here is the HTML:
 
<ul class="MenuBarHorizontal" id="MenuBar1">
        <li>
          <div align="center"><a href="suite.shtml"target="_blank">Tradewinds Suite</a></div>
	  <ul>
              <li>
                 <div align="center"><a href="brochures/Suite-brochure.htm"target="_blank">Suite Brochure</a></div>
              </li>
             <li>
              <div align="center"><a href="Virtual Tours/Tdw/TdwVT.htm"target="_blank">Tradewinds Virtual Tour</a></div>
            </li>
           </ul>
        </li>
         <li>
           <div align="center"><a href="StarWind.shtml"target="_blank">StarWind Cottage</a></div>
           <ul>
             <li>

               <div align="center"><a href="brochures/StW-brochure.htm"target="_blank">StarWind Brochure</a></div>
             </li>
             <li>
               <div align="center"><a href="Virtual Tours/StW/StWVT.htm"target="_blank">StarWind Virtual Tour</a></div>
             </li>
           </ul>
         </li>
         <li>
           <div align="center"><a href="view.htm"target="_blank">Panoramic Views</a></div>
         </li>
         <li>
           <div align="center"><a href="hostess.htm"target="_blank">Your Hosts</a></div>

         </li>
         <li>

           <div align="center"><a href="http://www.tripadvisor.com/Hotel_Review-g60629-d1566384-Reviews-Maui_Tradewinds-Haiku_Maui_Hawaii.html"target="_blank">TripAdvisor Reviews</a></div>
         </li>
         <li>
           <div align="center"><a href="http://www.mauitradewinds.com/cgi-bin/rsv50load.pl?0001/av0001.html"
          target="_blank">Check Availability</a></div>
         </li>
         <li>
           <div align="center"><a href="location.htm"target="_blank">Location</a></div>

         </li>   
         <li>
           <div align="center"><a href="contact.htm"target="_blank">Contact</a></div>
         </li>     
         </ul>

Open in new window


I think you already have CSS set up for this.  If the appearance is not what you want, we can work on that.
0
 

Author Comment

by:ddantes
Comment Utility
That was quick, and it works great.
0
 
LVL 17

Expert Comment

by:OmniUnlimited
Comment Utility
HA! Wow, thanks for the points!  Are you sure you didn't need help with the CSS?
0
 

Author Comment

by:ddantes
Comment Utility
Thank you for inquiring.  I am having some difficulty there.  If I made the font large enough to be readable at high resollution,  the drop-down menus overlap with the first paragraph of text, which is confusing.  If I create enough vertical space to accommodate the drop down menu, the empty space is hard to justify
0
 
LVL 17

Expert Comment

by:OmniUnlimited
Comment Utility
You don't want the text of the submenu items stacked like that do you?  I noticed you changed the CSS file.  What you will need to do is add some new styles to that file, and then we can play with the adjustments.

Add the following to your indexmenubar.css file:
 
ul.MenuBarHorizontal li ul {
}

ul.MenuBarHorizontal li ul li {
    width: 150px;
}

Open in new window


Don't worry that one of the styles is blank.  Like I said, we will have to play with it.  Once you have made these changes and uploaded them to your site so that I can see, let me know.
0
 

Author Comment

by:ddantes
Comment Utility
Kind of you to continue after the question is closed.  The new code has been added to the css.
0
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 17

Expert Comment

by:OmniUnlimited
Comment Utility
No problem.  I want to make sure you get your 500 points worth.

Hey, that doesn't look too bad.  You could use the new styles I introduced to further tweek the menu items (like increase the width, or the size of the font.)

What do you think?  Is it going the direction you wanted it?

What else would you like me to help you with?
0
 

Author Comment

by:ddantes
Comment Utility
Thank you.  I can play with the fine tuning.  Before we say "good night", please have a look at what I just uploaded, and let me know what you think.
0
 

Author Comment

by:ddantes
Comment Utility
OmniUnlimited: I need to call it a night.  I'll look for any further comments in the morning. Thanks again for your guidance.
0
 
LVL 17

Expert Comment

by:OmniUnlimited
Comment Utility
Wow, what a change!  Just so that you are aware that website asthetics is a very personal choice and really does not matter concerning the opinions of others because it does not matter what you do, you will always find people who like it, and people who don't.

Having said that, and knowing my opinion on how it looks does not matter, I would ask you, why grey buttons?  I mean, the site is so bright, cheery (tropical).  Grey is a dull, ugly color.  Wouldn't the site look better if the menu buttons reflected a brighter, cheerier color, like tropical blue or sun yellow (if you go to lighter colors, you will need to change the letters to darker ones).

I don't know, you might play with it and see what you think.  Also, do you like the submenus small with stacked letters like that, instead of long, one liners?

Remember, I'm just expressing personal preferences.

If there is anything else, don't hesitate to open a new question (I don't know if you noticed above the box where we type in our responses, there is a link to open a related question.  Related questions always send an email to the experts that helped on the original question notifying them that you have posted a related issue.  If you want to catch my attention, that's just one way to do it.  Another is to simply comment on this question.  I still monitor all my closed questions.)

Best of luck to you, and have a great night.
0
 

Author Comment

by:ddantes
Comment Utility
Thank you for your feedback.  The colors and the size of submenus definitely need work.  I'm off to Canada for a week vacation, and hope to work with you later!
0
 
LVL 17

Expert Comment

by:OmniUnlimited
Comment Utility
No problem, I'll be here.  Have a great trip!
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

In this tutorial I will aim to show you how simple is making a small application in WhizBase, how to add, remove and update data in the DB. I will make a small address book application where you can add, browse, update and remove addresses. I wi…
It is a general practice to get rid of old user profiles on a computer  in a LAN environment. As I have been working with a company in a LAN environment where users move from one place to some other place at times. This will make many user profil…
Learn the basics of modules and packages in Python. Every Python file is a module, ending in the suffix: .py: Modules are a collection of functions and variables.: Packages are a collection of modules.: Module functions and variables are accessed us…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…

772 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

9 Experts available now in Live!

Get 1:1 Help Now