im trying to get my bootstrap dropdowns to be open by default at screens at or smaller than 600px (mobile).   this seems to get it to try but it looks like something overrides it and closes it again:  <script type="text/javascript"> $(w...
This is the code I am using at the moment to add an active state to an item after your clicked on one of the navigation and the page has been redirected.  I was wondering if there was another way to do it because it works only on my local machine but...
I'm using jQuery to guide my pages scrolling and change the color of a  nav item to correspond to the section you're in. Everything's working well, but the script is ignoring the last section on the page (Contact).  This is largely based...
In this dropdown nav I'm building if a dropdown is opened and you click to open a second one, the black box should remain visible. At the moment the black box disappears when you click on a second dropdown and reappears after the dropdown is comp...
I recently go my nav bar to act as a sticky nav bar that adheres to the top of my page after I scroll down to a certain point, however, when I reach the bottom of my page the entire nav bar flickers, and even disappears sometimes.  Think of it as an...
The tabs work nicely when clicked but selecting the default tab on window load fails. The javascript runs, no errors, but nothing happens. Any ideas?  <head> <link href="/assets/bootstrap.css?body=1" media="screen" rel="s...
Below is how I created a menu links of my website using Bootstrap 3.1.0. I want the selected nag-pill to stay active/select while the link is clicked. Currently, the defined hover-colour is gone after the link is clicked. Is there a way to let the pi...
I saw many questions like mine but I can't write this JS. I have a menu like this and I need to put the class="active" in the <li> tag of the page where the user is. This nav-bar is in a php file that I include in each page of the s...
I'm a bit of a beginner here, and doing exercises on FreeCodeCamp. While working on the Portfolio Site project, I tried adding a Javascript responsive mobile nav to the site from some code at ws3schools.  The nav is showing up fine, but clicking...
Here is a pen. I also have a live version.  I created a responsive nav with dropdowns, and everything works perfectly. I was working on making it sticky, as in after you scroll past a certain point, it becomes fixed to the top.   It works fine, excep...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.