Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Customizing a spry menu bar

Posted on 2011-09-02
12
Medium Priority
?
404 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 2000 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
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 

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
 
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

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

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

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.
The Windows functions GetTickCount and timeGetTime retrieve the number of milliseconds since the system was started. However, the value is stored in a DWORD, which means that it wraps around to zero every 49.7 days. This article shows how to solve t…
The viewer will learn how to count occurrences of each item in an array.
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
Suggested Courses

783 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