Solved

css mobile menu expands

Posted on 2013-11-29
9
415 Views
Last Modified: 2013-12-05
I am working out of the css of bootstrap.

I'm having problems with the following page.

http://conutils.com/dist/rates/

It works on desktop. On mobile if you open the select and close it (it's not going to do anything if you select a value) it will expand the menu.

How do I prevent this?
0
Comment
Question by:burnedfaceless
  • 5
  • 2
  • 2
9 Comments
 
LVL 58

Expert Comment

by:Gary
ID: 39686189
Doesn't expand the menu when I open the select.
0
 

Author Comment

by:burnedfaceless
ID: 39686197
You have to close the select. On iPhone hit done, on droid hit the equivalent.
0
 

Author Comment

by:burnedfaceless
ID: 39686199
My reasoning is if I echo the menu it will work. Don't want to use JavaScript in case they have it disabled.
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 58

Expert Comment

by:Gary
ID: 39686204
Echo what menu?
Can you take a screenshot of the problem indicating what is wrong because I am not seeing it.
0
 

Author Comment

by:burnedfaceless
ID: 39686236
0
 
LVL 109

Expert Comment

by:Ray Paseur
ID: 39686896
I don't usually follow this Zone, but I am willing to share a thought about JavaScript.  The page loads Bootstrap and jQuery (twice, apparently in error), so if you're concerned that you "don't want to use JavaScript" things are going off the rails.  These are JavaScript libraries.  As a practical matter, designing for clients that do not use JavaScript is a fools errand.  You cannot have a satisfactory experience with Google, Facebook, Twitter and a host of other popular web sites without JavaScript, so I would not waste time on these edge cases.  Just give them a phone number to call with questions.  If you keep statistics on this, you will probably find that less than one percent of your human clients have JavaScript turned off.

In PHP you can detect the browser via HTTP_USER_AGENT.  You might be able to tailor the client experience by examining that field and determining what HTML, CSS and JavaScript to use when building the web page.  Run phpinfo() and look in the environmental variables near the bottom to see the sort of information you can get.
0
 

Author Comment

by:burnedfaceless
ID: 39687202
Ray - please elaborate on how Bootstart and JQuery are loaded twice,  can list the code for me.

Thanks for your help,
Brian
0
 
LVL 109

Accepted Solution

by:
Ray Paseur earned 500 total points
ID: 39687249
Brian, I posted it in the other question about the menu.  Look at the top of the "view source" for that page, around lines 10-12 (not sure exactly, but that's close).  Then look at the bottom, and you'll see the JavaScript libraries begin loaded again.  Not sure what you want for Bootstrap, but for jQuery you can always find the latest minified version here:
http://code.jquery.com/jquery-latest.min.js
0
 

Author Closing Comment

by:burnedfaceless
ID: 39699197
Will make the change on my local host.
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

This article discusses four methods for overlaying images in a container on a web page
This article discusses how to create an extensible mechanism for linked drop downs.
In this tutorial viewers will learn how to style a decorative dropcap for the first letter in a paragraph using CSS. In CSS, create a new paragraph class by typing "p.fancy": Then, to style only the first letter of the first sentence, include the ps…
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)

803 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