Solved

Customizing a spry menu bar

Posted on 2011-09-02
12
392 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
ID: 36477160
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
ID: 36477187
That was quick, and it works great.
0
 
LVL 17

Expert Comment

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

Author Comment

by:ddantes
ID: 36477227
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
ID: 36477305
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
ID: 36477428
Kind of you to continue after the question is closed.  The new code has been added to the css.
0
3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

 
LVL 17

Expert Comment

by:OmniUnlimited
ID: 36477450
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
ID: 36477463
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
ID: 36477484
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
ID: 36477486
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
ID: 36478323
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
ID: 36479051
No problem, I'll be here.  Have a great trip!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this tutorial I will show you how to make a simple HTML bar chart with the usage of WhizBase, If you want more information about WhizBase please read my previous articles at http://www.experts-exchange.com/ARTH_5123186.html (http://www.experts-ex…
This article will show, step by step, how to integrate R code into a R Sweave document
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

863 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

20 Experts available now in Live!

Get 1:1 Help Now