Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Label show but not selected in first page in site ( homepage ) #5

Open
mohamdio opened this issue Sep 10, 2012 · 1 comment
Open

Label show but not selected in first page in site ( homepage ) #5

mohamdio opened this issue Sep 10, 2012 · 1 comment

Comments

@mohamdio
Copy link

hiii,

when use selectnav , the ( label ) show in select but not be selected in first load index page ( homepage ) but the selected link is the first link after ( label ) ?

the select menu show in code that :

  <select class="selectnav" id="selectnav1">
  <option value="">- Navigation Menu - </option>
  <option value="index.html" selected="">Home</option>

you will see the class ( selected ) in Home link , not label link


my custom js using for selectnav :

jQuery(document).ready(function () {
selectnav('nav', {
label: '- Navigation Menu - ',
nested: true,
indent: '-'
});

});

my ul list structure example that :

         <ul id="nav" >
        <li><a href="index.html" class="active">Home</a>
          <ul>
            <li><a href="#1">Home 2</a></li>
            <li><a href="#2">Home 3</a></li>
            <li><a href="#3">Home 4</a></li>
            <li><a href="#4">Slider 1</a></li>
            <li><a href="#5">Slider 2</a></li>
            <li><a href="#6">Slider 3</a></li>
          </ul>
        </li>
        <li><a href="#7">Pages</a></li>
        <li><a href="#8">Features</a></li>
        <li><a href="#9">Portfolio</a> </li>
        <li><a href="blog.html">Blog</a> </li>
        <li><a href="contact.html">Contact</a></li>
      </ul>

@lukaszfiszer
Copy link
Owner

Hi, sorry for very late reponse, I was unable to take care over the project during last few months. Could you confirm me that you still have this problem. If yes i'll be glad to help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants