Solved

css mobile menu expands

Posted on 2013-11-29
9
409 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
 
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
6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

 

Author Comment

by:burnedfaceless
ID: 39686236
0
 
LVL 108

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 108

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

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!

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Compare site how does it work 4 51
jQuery or CSS 9 37
Mobile menu navigation , its html and css 6 36
HTML Lists 3 29
Introduction If you're like most people, you have occasionally made a typographical error when you're entering information into an online form.  And to your consternation, the browser remembers the error, and offers to autocomplete your future entr…
Why do we like using grid based layouts in website design? Let's look at the live examples of websites and compare them to grid based WordPress themes.
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

708 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

12 Experts available now in Live!

Get 1:1 Help Now