Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <body class="home-state">
- ...
- <div class="menu-left">
- <ul>
- <li class="home-state">
- <a href="/">Home</a>
- </li>
- <li class="work-state">
- <a href="/work">Work</a>
- </li>
- <li class="services-state">
- <a href="/services">Services</a>
- </li>
- <li class="about-state">
- <a href="/about">About</a>
- </li>
- <li class="blog-state">
- <a href="//blog.gohrvst.com" target="_blank">Blog</a>
- </li>
- <li class="shop-state">
- <a href="/shop">Shop</a>
- </li>
- <li class="contact-state">
- <a data-toggle="modal" href="#modal-coworking">Contact</a>
- </li>
- <li class="project-state">
- <a href="/brief/index">Project brief</a>
- </li>
- </ul>
- </div>
- ...
- </body>
- var bodyClass = $("body").attr('class');
- $('.menu-left ul li').each(function(){
- var element = $(this);
- console.log(element);
- });
Add Comment
Please, Sign In to add comment