Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

size of the HTML Menu

Posted on 2014-11-25
7
Medium Priority
?
97 Views
Last Modified: 2014-12-10
Are there any example to build up a menu such that it can realign the menu on a smaller screen ? Does the code allow to detect the screen size and recreate any menu as attached ?

Tks
Screen1.png
screen2.png
0
Comment
Question by:AXISHK
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 
LVL 58

Expert Comment

by:Gary
ID: 40464618
There are multiple ways of doing this, a few examples here
http://responsivenavigation.net/

Really depends on your markup.
0
 

Author Comment

by:AXISHK
ID: 40465919
Do I need to include a code to detect the screen size, in order to display screen1 (large screen) or screen 2 (smaller screen) ? How to achieve this ?

Tks
0
 
LVL 58

Accepted Solution

by:
Gary earned 2000 total points
ID: 40465921
The link above gives you the css and media queries for each example

The keyword here is media queries e.g.
@media screen and (max-width: 768px) {
  .tinynav { display: block }
  .dropdown { display: none }
}

Open in new window


This tells the browser what to do at various screen sizes
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 

Author Comment

by:AXISHK
ID: 40465958
Tks.  As seen in my attached screen, the application will put all the menu item into a "square box". So does it mean there are two some special coding on handling the items ?  

Is it possible to have a sample demonstrate so that I can visualize how to make this menu in two different resolution, similar to my attached screens ?

Great thanks again.
screen-3.png
0
 
LVL 58

Expert Comment

by:Gary
ID: 40465962
If you are using Magento I would look at Magento Connect for some freebie plugins, though I thought Magento had a responsive menu built in now...?
0
 

Author Comment

by:AXISHK
ID: 40465979
I have downloaded Magento but I will not use it as I can't find a way to start after reading a user guide menu.  

I only need to build two set of menu on different resolution, similar to that I have attached. Tks
0
 
LVL 58

Expert Comment

by:Gary
ID: 40465982
The link provides all the css and media queries for the different menu's
Unless you have real code and not a screenshot there is no point providing code as every implementation is different
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
Originally, this post was published on Monitis Blog, you can check it here . In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…
In this tutorial viewers will learn how to customize the background color and font color of highlighted text using the ::selection element in CSS Begin by defining the selected text as an element in CSS by typing "::selection": Style the ::selection…
In this tutorial viewers will learn how to style rounded corners for elements in CSS using the border-radius property Begin with a normal styled element such as a div: To style all four corners of the div to be the same degree of roundness, use the …

688 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